• Stars
    star
    373
  • Rank 114,600 (Top 3 %)
  • Language
    JavaScript
  • Created almost 16 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Standalone CouchDB Blog, used by the O'Reilly CouchDB book

Sofa: Standalone CouchDB Blog

Sofa showcases the potential of pure CouchDB applications. It should provide an easy way for people to put thier thoughts online, anywhere there's a running Couch. It's just HTML, JavaScript and the magic of CouchDB.

Currently supports authoring by anyone with the proper roles, and comments from anyone with a user account.

Current News

Things are moving crazy fast around here right now as I bring this stuff up to ship-shape for the CouchDB book. I'll be renaming methods and stuff (if I find the time), any API feedback will be appreciated.

Install CouchDB

You'll also need CouchDB (verion 0.11 or newer). Once you have that installed and the tests passing, you can install CouchApp and the blog software.

Install CouchApp

CouchApp makes it easy to edit application that are hosted in CouchDB, by keeping a correspondence between a set of files, and a CouchDB design document. You'll use CouchApp to install Sofa in your CouchDB instance.

sudo easy_install couchapp

CouchApp is a set of utilities for developing standalone CouchDB applications You can learn more about the CouchApp project here. Also, easy_install has an unpleasant bug on OSX, so you might end up having to work from git source.

Setup Admin Access

If you are going to put your blog in public, you'll want to set up an Admin account (screencast).

Install Sofa

git clone git://github.com/jchris/sofa.git
cd sofa
couchapp push . http://user:[email protected]:5984/myblogdb 

You'll want to edit the HTML and CSS to personalize your site. Don't worry, the markup is pretty basic, so it's easy to rework. Adding new features is just a few lines of JavaScript away.

Anytime you make edits to the on-disk version of Sofa, and want to see them in your browser, just run couchapp push . http://127.0.0.1:5984/blogdb again. You probably want to setup your .couchapprc file. You should read the CouchApp readme to learn about that.

You can customize the blog title and other stuff in the blog.json file.

Relax

Visit your new blog.

License

Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0

More Repositories

1

couchrest

A RESTful CouchDB client based on Heroku's RestClient and Couch.js - you want the version at http://github.com/couchrest/couchrest
Ruby
400
star
2

couchapp

The official repo is now at http://github.com/couchapp/couchapp
Python
156
star
3

hovercraft

An easy direct Erlang CouchDB library.
Erlang
122
star
4

toast

A real time CouchDB chat demo
JavaScript
120
star
5

taskr

lightweight realtime task tracking as a CouchApp
JavaScript
108
star
6

couchdb-twitter-client

A Twitter Client hosted by your local CouchDB
JavaScript
62
star
7

evently

DSL for writing event-based jQuery apps
JavaScript
53
star
8

erlang-json-eep-parser

A collection of leex and yecc definitions, along with tests
Erlang
52
star
9

twebz

Decentralized Twitter Client for CouchDB and Node.js
JavaScript
48
star
10

booth

CouchDB swimming in a Ruby soup
JavaScript
38
star
11

canonical-json

An attempt to make a JSON generator that gives the same result everytime. Canonical is a bad name for this and should be ignored.
JavaScript
35
star
12

Focus

A CouchApp for keeping teams on the same page. Official repository has moved to http://github.com/couchone/Focus
JavaScript
34
star
13

appdrop

Host your Google AppEngine apps on your own server.
Ruby
34
star
14

couchdb-example-blog

An all JS blog that runs on CouchDB
JavaScript
32
star
15

proto

The generated CouchApp template
JavaScript
26
star
16

xspf-to-jspf-parser

Javascript library for consuming XSPF Playlists in the browser.
JavaScript
25
star
17

portable-google-app-engine-sdk

A version of the Google App Engine SDK modified to work with AppDrop.com
Python
23
star
18

WebWorkerStorage

hashing out a spec proposal for html5
21
star
19

couchbase-channels

Manages Couchbase sync for apps where each user has many mobile devices. Experimental.
JavaScript
20
star
20

couchdb-reduce-example

uses reduce to calculate standard deviation across sensor readings
Ruby
18
star
21

document-coin

Digital objects for the gift economy.
JavaScript
18
star
22

garden

Tells you all the local CouchApps, allows you to share them!
JavaScript
17
star
23

cal

Calendar CouchApp
JavaScript
16
star
24

tweasy

OAuth-enabled Node.js Twitter Client with streaming and regular API calls
JavaScript
16
star
25

ice

Ice CouchApp Editor
JavaScript
14
star
26

couchapp.org

A website about standalone CouchDB applications
JavaScript
13
star
27

HelloTouchApp

A CouchApp, running inside TouchDB
Objective-C
13
star
28

coax

Couch client using pax for path currying and hoax for HTTP.
JavaScript
12
star
29

icu4r

ICU4R - ICU Unicode bindings for Ruby (hacked so it builds on my box, YMMV)
12
star
30

pouchdb-phonegap-ios

My experiments with syncing PouchDB to Couchbase Sync Gateway, fork of https://bitbucket.org/axemclion/pouchdb-phonegap-ios Use this with https://github.com/couchbaselabs/basecouch/tree/channelsync
Objective-C
12
star
31

couchapp-docs

Documentation for CouchApp
JavaScript
9
star
32

coux

Minimum viable CouchDB client for node.js
JavaScript
9
star
33

couch-wiki

example app
JavaScript
8
star
34

wide-finder-couchdb

An implementation of WideFinder in CouchDB
Ruby
6
star
35

stately

CommonJS State Machine
JavaScript
6
star
36

fug-this-

A bare-bones Google AppEngine app for making snarky comments about photos you find online.
JavaScript
6
star
37

GrocerySync-CouchApp

HTML5 interface to the Couchbase demo grocery list tracker
JavaScript
5
star
38

public-slack-invite

HTML
5
star
39

mimeparse

a githug for http://code.google.com/p/mimeparse/
JavaScript
4
star
40

relaxville

Having fun keeping track of CouchDB test suite reports.
JavaScript
4
star
41

json-sax-or-not

Comparison of a SAX-like vs a lex/yac style json parser in erlang
Erlang
3
star
42

smart-book

TypeScript
3
star
43

w3ui-ipfs-camera

Example app for w3ui workshop
JavaScript
3
star
44

fp-ts-build

JavaScript
2
star
45

PhoneGapCouch

app that points to a couchapp when its ready, but can do phonegap stuff
2
star
46

docstate

A utility for managing document based state machines
JavaScript
2
star
47

hoax

JSON ReST client using pax for path currying and request for HTTP.
JavaScript
2
star
48

FacebookLogin

PhoneGap / Cordova plugin for Facebook native APIs.
Objective-C
2
star
49

begin-functions-app

Begin app
JavaScript
2
star
50

pax

Curry your path segments with intelligent escaping. Tiny.
JavaScript
2
star
51

twitterfight

A game to show off incremental map reduce
JavaScript
2
star
52

vite-fp

CSS
1
star
53

jchrisa-site

HTML
1
star
54

colab-notebooks

Place to keep these notebooks
Jupyter Notebook
1
star
55

simple-city-draft

TypeScript
1
star
56

my-vite-fp-tutorial

CSS
1
star
57

my-fp-cra-tutorial-app

JavaScript
1
star
58

module-template

temporary repo
TypeScript
1
star
59

TweetEater

TweetEater is a CouchDB application which displays tweets which are harvested from Twitter's streaming API by an accompanying Ruby program.
Ruby
1
star
60

netlify-fauna-todo-demo

JavaScript
1
star
61

daz

an iOS app for testing if including a static framework works
Objective-C
1
star
62

next-auth-example

Trying out Next Auth
TypeScript
1
star
63

w3ui-ipfs-camera-old

example camera app for w3ui
JavaScript
1
star
64

refridge

Grocery list CouchApp that automatically reminds you about items when you need them again
1
star
65

treport

Design document for CouchDB test reports.
JavaScript
1
star
66

Open-Web-Analytics

Forked form SVN http://svn.openwebanalytics.com/owa/trunk
PHP
1
star
67

begin-functions-app-old

Begin app
JavaScript
1
star
68

catbot

TypeScript
1
star
69

commerce-vercel

TypeScript
1
star
70

codespace-test

trying codespaces
EJS
1
star