Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

nilsding/nblog

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Yet another self-hosted microblogging thing!

build status

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

  1. Install the dependencies: bundle install --without test development
  2. Initialize the database: ruby manage.rb init
  3. Create a new user: ruby manage.rb add-user _username_. You will be prompted to enter a password.
  4. Run the application, either with RACK_ENV=production ./app.rb or with unicorn -p PORT -e production, depending on what you prefer.
  5. Configure your webserver (take a look at the misc/ directory for some example configurations)

Development

  1. Install the dependencies: bundle install
  2. Initialize the database: ruby manage.rb init
  3. Create a new user: ruby manage.rb add-user _username_. You will be prompted to enter a password.
  4. Run the application: shotgun

Personal TODO list

  • Streaming API (maybe?)
  • add ability to subscribe to friends via RSS feeds
  • Database migration

About

Yet another self-hosted microblogging thing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published