An open-source web app for link saving and sharing.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Fix rubocop violations Dec 20, 2018
bin Update readme Apr 6, 2018
config Add sidekiq UI May 26, 2018
frontend Bump eslint-config-prettier from 3.5.0 to 3.6.0 in /frontend Jan 21, 2019
lib Update code to match specs Dec 28, 2018
spec FIx specs Dec 28, 2018
.dockerignore WIP get Ember running in Docker Mar 31, 2018
.env.sample Add Twitter gem May 27, 2018
.gitignore Ignore jsconfig Sep 14, 2018
.rspec Set up RSpec Nov 5, 2017
.rubocop.yml FIx specs Dec 28, 2018
.ruby-version Downgrade to Ruby 2.5 for security Jan 11, 2019
Dockerfile Downgrade to Ruby 2.5 for security Jan 11, 2019
Gemfile Downgrade to Ruby 2.5 for security Jan 11, 2019
Gemfile.lock Bump rubocop from 0.62.0 to 0.63.0 Jan 18, 2019
LICENSE.txt Change license to Apache May 27, 2018
Procfile WIP get Ember running in Docker Mar 31, 2018 Add sidekiq to dev procfile May 26, 2018
Rakefile Create Rails app Nov 5, 2017 Create Rails app Nov 5, 2017
docker-compose.yml Implement jobs with sidekiq Dec 29, 2017


An open-source web app for link saving and sharing. Allows you to own and share your own content. See an example at!

An iOS share extension app is also available.

Getting Started


  1. Ruby
  2. PostgreSQL (e.g.
  3. Redis
  4. Ember-CLI
  5. Foreman (optional, for running both Rails and Ember with one command)


The project has two different .env files:

  • The .env file at the root of the project is used by the Rails backend and includes connectivity info.
  • The frontend/.env file is used by the Ember frontend and includes site branding.

Duplicate the .env.sample file at each location, rename it to .env, and fill in the values.


To test both Rails and Ember

$ bin/test

To test them individually:

$ bin/rspec
$ cd frontend
$ ember test


For local development, the app is configured to run Rails and Ember on their default ports. You can run them both with a single command (requires Foreman):

$ bin/serve

Or run them individually as usual. In one terminal:

$ bin/rails s

And in another:

$ cd frontend
$ ember s


To prevent you from having to run separate servers for the Ember frontend and Rails API, we have configured the two in the following way:

  • Ember builds its assets into the Rails public directory
  • Rails serves the Ember app from all URLs except /api/…
  • Ember makes API requests to the same host it's running on

This means you can deploy Firehose anywhere you can deploy a Rails app, with the exception that you need to run ember build first.


One easy way to deploy Firehose is Heroku. Hobby apps are free; they just have a limit on how many hours they can be running per day.

To deploy to Heroku, follow Heroku’s instructions on deploying a Rails app.


A Dockerfile and docker-compose.yml file are included for running within Docker either locally or in deployment.


On any server, you can run bin/production upon each deployment to:

  • Download Rails and Ember dependencies
  • Build Ember
  • Run Rails DB migrations
  • Start the Rails server


Fire Hose” by Alv Jørgen Bovolden is licensed under CC BY 3.0