I’m very pleased today to announce the release of Capsule, the developer’s code journal.
Capsule replaces the scratch document you have open when you’re coding. Instead of throwing away those notes, code snippets, API responses, ad-hoc todo lists, and outlines, Capsule creates an archive of your development artifacts.
Capsule is a free, Open Source (GPL) product. We chose to build it as a WordPress-based app. I’m on record saying that WordPress isn’t a great general purpose app platform but it’s ideal for journaling apps; and I’m very pleased we were able to use it for Capsule.
With Capsule you’re using a web app, not managing a traditional WordPress website. You never need to go into the WordPress admin to manage your content – the code editor loads right in the front-end and you create and edit posts inline.
Metadata is a love note to the future.
You designate projects and add tags via simple @project and #hashtag syntax directly in the content. No fiddly checkbox selection or choosing from dropdown menus. It’s the freedom and simplicity of a text file with the future benefits of metadata.
Read on for more about how Capsule works and the hows and whys of various features (and how you can use Capsule Server as a collaboration hub). More of a “try it for yourself” person? Jump over to the online demo and try it out. Or you can download it (or grab the code from GitHub) and set it up for yourself. We created Capsule as a WordPress theme – simply install it as usual and you’re set to go.
The idea for Capsule started about a year ago when my friend and Crowd Favorite alumni Gordon tweeted this out:
Keeping a dev diary has been really helpful.Start each day with a fresh .txt. Jot down TODOs, notes, decisions, things learned, as I go.
— Gordon Brander (@gordonbrander) April 9, 2012
The idea of a code journal resonated with me immediately. I’ve been blogging for more than ten years here, and the act of journaling – of writing things down – definitely helps with introspection and to cement important lessons.
At Crowd Favorite we believe in the craftsman approach to web development. We believe in constantly learning and sharing knowledge. The idea of a code journal seemed like an obvious and useful tool.
Gordon talked about using text files, but I wasn’t sold on that implementation. I wanted a system that had the simplicity of using text files, but I also wanted to be able to add some structured data to make it easier to find my notes again later.
I like thinking about how systems and apps can work and fit together. The more I thought about the idea of a code journal, the more I realized that the information I would be recording about what I was building would be useful information to share with my colleagues. Likewise, what they recorded during their development would be interesting and useful for me and other team members. And it just so happens that my team and I are pretty handy with this little Open Source system that’s designed for journaling…
We brainstormed about how we’d want to use the system and firmed up a feature set. These included:
- must be incredibly low friction (it will be competing with using text files)
- no titles for entries (titles are friction)
- a good code (text) editor (after all, this is a developer code journal)
- ability to designate an entry as being part of a specific project
- ability to add tags (keywords) to entries
- ability to keep some entries private, but share appropriate entries with the rest of the team
As a daily user of Capsule, I’m proud to say we’ve accomplished this goal and I’m very pleased with the smoothness of the user experience.
While we are releasing version 1.0 today, we’ve had a functional version Capsule on our GitHub since early May of last year and I’ve been using it while we’ve been building it. As we’ve been implementing features, we’ve also tweaked the design and implementation based on our actual usage. It’s always handy to be your own use case.
Capsule Server: Use Capsule With Your Team
We’re actually releasing two products today, Capsule and Capsule Server. Capsule is the code journal that each developer can set up for themselves. Capsule Server is a collaboration hub that can accept Capsule entries and make them available to other team members.
I really like the way Capsule and Capsule Server interact. Developers can connect their Capsule install to as many Capsule Servers as they like. They can choose which entries get shared to which Capsule Servers, and which entries stay private – all of this with the same no-friction approach that makes it so easy to include useful metadata in Capsule entries.
When you set up a Capsule Server, you define the projects for that Server. When you connect to a Capsule Server, you can chose how to map your local projects to the Capsule Server’s projects. Any entries for projects that are mapped to a Capsule Server are replicated to that Capsule Server whenever they are saved.
Imagine that WordPress set up a Capsule Server for core development. Perhaps another for plugin development. I could connect to both of those, plus the Crowd Favorite Capsule Server. I would still be journaling in one place, with one tool, but I’d be sharing my notes with all the various folks I want to collaborate with.
I think Capsule an excellent solution to a problem many of us don’t even know we have. I hope that it will become a valuable tool for you and your development team.
Enjoy!
This post is part of the project: Capsule. View the project timeline for more context on this post.
this new code journal from @alexkingorg and crew should be interesting to anyone interested in the craft of software: http://t.co/osA0NtKG90
Well this is cool! RT @alexkingorg: Capsule, The Developer’s Code Journal: http://t.co/QPtbrD7ZVt
@williamsba Thanks Brad – I hope you and your team find it useful. Would love to hear your feedback and ideas.
@alexkingorg I actually have a perfect use for this! Will report back when I’ve had time to play with it
@alexkingorg That’s beautiful. Even a single developer will find this extremely useful. cc: @williamsba
@kimparsell I agree, and I hope others feel the same way. Thank you. /cc @williamsba
@alexkingorg looks amazing! will try it out tomorrow! well done man 🙂
.@jeffikus You can always kick the tires on the online demo. http://t.co/rEiITLoDt0
@alexkingorg already have and am impressed 🙂
@alexkingorg props! Really like it. Now it needs a .txt importer 🙂 Maybe I’ll do one
@MZAWeb Cool idea – a script to turn your .txt files into a WXR should do the trick.
@williamsba @alexkingorg Now if there were code/shortcode to embed these I could replace using gists completely 😀
@jaredatch That’s something we’ve considered for Capsule Server – cool to see you’d be interested. /cc @williamsba
@alexkingorg Then us developers could easily create a self hosted snippet library like http://t.co/ThQafsvQzA, we use gists right now tho
@alexkingorg this is very rad. Thank you 🙂
@graemeism You’re quite welcome!
.@alexkingorg I like capsules way to deny the access to “New Post” admin menu page 😀
@unserkaiser It’s the details that matter. 🙂
Looking forward to checking it out!
Sweet! RT @williamsba: Well this is cool! RT @alexkingorg: Capsule, The Developer’s Code Journal: http://t.co/6UK3Ycgrio
I’m currently using a private P2-themed WordPress site for very similar purposes… and will definitely check this out.
So this morning I write about using a private P2 as a work journal & then @alexkingorg announces something way better http://t.co/DtTqArLi0T
Interesting. Very interesting. RT @alexkingorg: Capsule, The Developer’s Code Journal: http://t.co/FxsbhMz7w9
I want to retweet this a thousand times. RT @alexkingorg: Capsule, The Developer’s Code Journal: http://t.co/CdPFLm7I1h
@nacin *blush* Thanks man!
@nacin @alexkingorg up to 8
Interesting theme, would be nice to see it with Your Members http://t.co/JfuXs9uGrP
@alexkingorg thanks for this!
@wjdennen You’re quite welcome!
[…] Capsule, the developer’s code journal » […]
@alexkingorg This looks awesome!
#developers & #WordPress geeks, check this out: @alexkingorg: Capsule, The Developer’s Code Journal: http://t.co/NTuRAnFtMi
[…] a couple hours after I published this, Crowd Favorite released Capsule which is worth a […]
@alexkingorg Looks great, feels great. Well done Alex!
[…] Check out Capsule! → […]
This is outstanding. I will be using Capsule – The developer’s code journal (built on @WordPress) http://t.co/A9i4Yzyrhp
Alex King: Capsule, The Developer’s Code Journal http://t.co/pwZik9oUvz
Capsule – The developer’s code journal (built on WordPress) could be usefull down the line http://t.co/zGtPf1BQBu
Capsule, The Developer’s Code Journal http://t.co/PHUMMxxqBj #wordpress
@alexkingorg I love it! http://t.co/1Y9iF0rlNm
Pretty interesting idea. Have to check it out. “@alexkingorg: Capsule, The Developer’s Code Journal: http://t.co/5FYX44MnF3”
This… this is freakin’ ridiculous http://t.co/5ud9Jj8MfL what a fantastic contribution to developers, thank you @alexkingorg @crowdfavorite
Looks interesting @mikelittlezed1 – http://t.co/eCd1QHF075
Oh hey, look what we did for all our fellow coders. RT @alexkingorg Capsule, The Developer’s Code Journal: http://t.co/55xk4YKy74
Capsule (code developer’s journal) looks super cool, and a great use of WordPress. http://t.co/tidincB5Ed
Absolutely loving this.
One question/complaint. I use lots of SCSS snippets, so lots of code with @ symbols in it. As a consequence, I’ve got lots of projects that aren’t real (@extend, @include, etc)
Might be nice to have a blacklist of terms that are *not* projects.
Ah, but Capsule knows this! DocBlock syntax has the same issues @uses, @param, etc.
Code that is inside a fenced code block is ignored when Capsule does it’s parsing for @projects. Try it out in the demo – you’ll be pleased. 🙂
```scss
@include blah
```
Fantastic! Thanks, Alex… I’m going to setup a Capsule server for my team.
@SiobhanPMcKeown Have you seen Capsule yet? http://t.co/6OSU7jvnY9 Set it up on a local install, playing with it now. So far, I <3 it. 🙂
Capsule, The Developer’s Code Journal http://t.co/6M3pWXb09r
[…] I’ll give this a spin when I have a moment to set it up Capsule, The Developer’s Code Journal […]
I’ll give this a spin when I have a moment to set it up http://t.co/QpTKDDm7NE Capsule, The Developer’s Code Journal
wp-capsule: The developer’s code journal (built on WordPress) ? http://t.co/7AZbnzC9Qg
#PHP
[delicious] Capsule – The developer’s code journal #tweet: via @softmodeling replaces that scratch document yo… http://t.co/n7mEigFuWR
Capsule, The Developer’s Code Journal – http://t.co/yhDH6aMibv
OMG this is so awesome. this is going to be SOOO useful! thanks, @alexkingorg! http://t.co/gl2lcPMUVv #wordpress #capsule
@jjmajava Tää on kiinnostava: http://t.co/PxlAfCKf7l WP-plugari koodaukseen, mut varmaan sopis muuhunki kirjotteluun. Markdown & muuta.
Capsule, The Developer’s Code Journal http://t.co/A42gYe7PwJ via @prismatic
. @beporter this might be an idea for @loadsys for code documentation as a better solution than wiki http://t.co/VLDUm7XC9O
RT “@Adamalthus: Capsule, The Developer’s Code Journal http://t.co/SmYWuEThSk ” < sounds #brilliant
Interesting resource for developers: Capsule, The Developer’s Code Journal http://t.co/UFK4IuFZmP
Capsule, The Developer’s Code Journal http://t.co/FPcypoC9no via @zite
@alexkingorg So awesome! we’re already playing w/ it @webdevstudios. I think we found a multisite error with entities.
@alexkingorg I think it probably has to do with the multisite unfiltered_html restriction. Run into that?
@Jtsternberg We have a great place for bug reports and patches: https://github.com/crowdfavorite/wp-capsule/issues
@alexkingorg Thank you! I’ll check it out.
[…] RT @williamsba: Well this is cool! RT @alexkingorg: Capsule, The Developer’s Code Journal: alexking.org/?p=16534 […]
Great, except I scribble that stuff in a notebook…
http://t.co/HJQhyuLH94 via @prismatic
I’m testing Capsule – The Developper’s code journal. It’s pretty cool, check it out: http://t.co/SxaJnjnX5P made by @crowdfavorite
Keeping a Developer Journal with Capsule – WP Daily http://t.co/I8Ww8o30RJ >> Might have to try this. What do YOU use to archive code?
ICYMI: #capsule looks so, so cool. http://t.co/gl2lcPMUVv #wordpress
@crowdfavorite dude PIMP job on Capsule! Installed locally & will use this extensively. Would be sweet to see snip sharing too. 😉
Capsule by @CrowdFavorite – a nice looking code journal built as a WordPress app: http://t.co/KIj25p0oq4
Ended up installing in <5 min. Slick interface. >> Capsule – The developer’s code journal (built on WordPress) http://t.co/QhZhyI46pQ
New on @alexkingorg: Capsule, The Developer’s Code Journal http://t.co/O4LYHMY5So
loving Capsule from @crowdfavorite. Helping keep my scattered mind in order already! http://t.co/AS073qbLbe
“Capsule replaces that scratch doc you have open when coding. It creates an archive of your development artifacts.” http://t.co/HyolOYQogk
I’m already coming up with ideas for Capsule and Capsule server. This is a very useful tool http://t.co/b6nf12Q4uV #wp #wordpress
@alexkingorg I anticipate it apparently has to do with the multisite unfiltered_html restriction. Run into that?
Testing on demo site. For some reason Capsule doesn’t accept full block of php, starting with:
<?php…
Is that by design? Otherwise looks very promising!
That’s just WordPress’s content filtering (based on the user role for the demo user). You’d be an admin on your site so that wouldn’t be an issue for you.
Thanks, it’s good to add this info to demo remarks, so others would know.
I was afraid I’ll have to stay with TXT files 😉
Capsule, The Developer’s Code Journal http://t.co/pQthghqnnE via @alexkingorg
have you seen Alex King’s new Capsule? neat system for developers ~~~> http://t.co/LBUqbaBQNv
[…] Read More […]
Capsule, The Developer’s Code Journal : http://t.co/TFHLCebQAC http://t.co/8QBDnEOSHR
Don’t let the “developer’s code journal” part scare you. I can see lots of normal people using this. http://t.co/aMEiFGoFgJ
@alexkingorg I’ve immediately fallen in love with Capsule. Thank you.
@ramiabraham That’s great to hear, you’re welcome!
Capsule, un thème WordPress pour écrire et archiver du code http://t.co/5wocoWHu3q Assez épaté par ce détournement de WordPress (voir démo)
Capsule, una app bajo wordpress para tener un diario de desarrollo http://t.co/gKDMP1vqE2
Capusule er et ganske sweet WordPress tema for å ha en logg over kodegreier http://t.co/qaPr6gh3Xk
How do you maintain your code snippets, lessons learned? Keeping a developer journal with Capsule: http://t.co/P0JCCwBN47
] / “Capsule – The developer’s code journal (built on WordPress)” http://t.co/ts00YryOxJ
Capsule replaces that scratch document you have open when you’re coding. More Via http://t.co/ygQAsXA54i
“Capsule replaces that scratch document you have open when you’re coding.” http://t.co/De2kDNQeVf
Ooh… that’s hot. http://t.co/wxEqHMiR9a #webdevnerdery
Capsule code journal for developers based on @WordPress. Definitely going to have to check this out. http://t.co/mdsHO58ae2 via @alexkingorg
Capsule – The developer’s code journal (WordPress): http://t.co/NgHlGU9Ddp via http://t.co/WQXbEBE98T http://t.co/xvTUKabzJY
Capsule: replaces that scratch document you have open when you’re coding, and built on top of WordPress – http://t.co/pMsTJDoHUD
Looks like a good gist replacement “@smashingmag: Capsule: replaces that scratch document you open while coding – http://t.co/dZak3Xzb3Q“
Capsule – The developer’s code journal (built on WordPress) – http://t.co/DpwqKJ0U8c
Capsule: replaces that scratch document you have open when you’re coding, and built on top of WordPress -… http://t.co/WP3uZMjGXt
#Capsule: replaces that scratch document you have open when you’re #coding, and built on top of #WordPress – http://t.co/gZX9Mx2eT2
Capsule turns your WordPress setup into a development journal. Interesting! http://t.co/bYZatzO3F9
Capsule: replaces that scratch document you have open when youre coding, and built on top of WordPress – http://t.co/rT2EiLDSEy
Capsule – The developer’s code journal (built on WordPress): http://t.co/vOfCAzGDxF
Capsule – The developer’s code journal (built on WordPress) http://t.co/IX1tyu0YSX
Did you see this @aonghusflynn looks really useful http://t.co/aqmfSjs7lI
@newchemical looks cool, I’ll give it a go
This looks interesting…Alex King: Capsule, The Developer’s Code Journal
http://t.co/QzSbCfTeqg #capsule #wordpress
http://t.co/En19XyVPGj un outil intéressant pour éditer et suivre les versions de fichiers de manière collaborative, sur base de #wordpress
Capsule – The developer’s code journal (built on WordPress) http://t.co/kYqOnRPtxT #wp #dev
[…] just learned about Capsule, and I think you should […]
Capsule: replaces that scratch document you have open when you’re coding, and built on top of WordPress http://t.co/2tB7cgTCom
This is really impressive: Capsule – The developer’s code journal (built on WordPress) http://t.co/6RVwNstw24
A Capsule install on MAMP should be useful. I often wish I’d saved my messy scratch files http://t.co/cadwbFd862
If you need help keep your notes organised http://t.co/6w7eKHt7cF
Developers, give your future self the gift of structured searchable historical metadata .. http://t.co/BH9VYJ3exu
[…] sure to check out Alex’s post on Capsule to read more about the thinking and decisions behind this (free) […]
Capsule, a WordPress-based code journal app for developers. http://t.co/Oflt6FlQr0
Isto parece BEM interessante, vou testar: Capsule, The Developer’s Code Journal http://t.co/AQK994QZ0d
[…] Read More […]