Yet another self-hosted microblogging thing!
nblog is a self-hosted microblogging software written in Ruby using Sinatra and SQLite3.
Features
- Easy to use
- RSS-Feed of the posts
- Posts can be written in Markdown
- Include external CSS files (append
?css=http://path/to/stylesheet.css
to the URL to apply)
Requirements
- A UNIX system (Linux, *BSD, ...)
- Ruby 1.9.3+
- Bundler (
gem install bundler
)
Installation
Production
- Install the dependencies:
bundle install --without test development
- Initialize the database:
ruby manage.rb init
- Create a new user:
ruby manage.rb add-user _username_
. You will be prompted to enter a password. - Run the application, either with
RACK_ENV=production ./app.rb
or withunicorn -p PORT -e production
, depending on what you prefer. - Configure your webserver (take a look at the
misc/
directory for some example configurations)
Development
- Install the dependencies:
bundle install
- Initialize the database:
ruby manage.rb init
- Create a new user:
ruby manage.rb add-user _username_
. You will be prompted to enter a password. - Run the application:
shotgun
Personal TODO list
- Streaming API (maybe?)
- add ability to subscribe to friends via RSS feeds
- Database migration