I decided to hack together a quick GUI front end for CouchDB to help with my tinkering around. Most people will probably groan and stop reading now, because I implemented it in C#/.NET. Although I’m not going to apologise for that, I do feel the need to justify it:
- I didn’t want to spend any time on it, and for various reasons I can do this kind of crap in C# with my eyes shut and no RTFMing.
- I needed a C# wrapper class to patch into an existing application, and this started out as a testbed for that.
If you haven’t been scared off already, here’s a brief summary of what you can do:
- Browse, create and delete databases
- Execute ‘queries’ (temporary views)
- Browse the documents in a database
- Create and delete documents
Here are some screenshots of the imaginitively titled CouchBrowse application:


It’s worth pointing out that it’s still fairly rudimentary, but working. In particular, it needs some proper JSON parsing rather than the ad-hoc horrors I threw together, and some decent formatting and syntax highlighting would be good too, but it suits my purposes for now.
If anyone is actually interested in getting hold of it, shout and I’ll stick the code and/or binaries somewhere. It was built with SharpDevelop 2.2 on Windows – I don’t know how hard it would be to get it running under Mono.
-
Just so you know, couchbrowse is broken when used against the latest couchdb trunk. Queries appear to be using the wrong mime type:
HTTP/1.1 500 Internal Server Error
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Tue, 10 Jun 2008 20:58:28 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 66{“error”:”incorrect_mime_type”,”reason”:”application\/javascript”}
Is this library still being maintained? Thanks.
-
Pingback from CouchDB resources | Tech Mix on October 3, 2008 at 5:59
-
cn u plz mail m ur source code

9 comments
Comments feed for this article
Trackback link: http://ciarang.com/posts/a-couchdb-gui-front-end/trackback