Skip to content

biow0lf/stringer_old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stringer. Enhanced.

Build Status Code Climate Coverage Status Dependency Status

A self-hosted, anti-social RSS reader.

Stringer has no external dependencies, no social recommendations/sharing, and no fancy machine learning algorithms.

But it does have keyboard shortcuts and was made with love!

Enhanced edition

  • Updated to latest Ruby
  • Ported from Sinatra to Rails
  • Ported from delayed_job to sidekiq
  • Use rails assets pipeline
  • Use turbolinks
  • Multi-user setup
  • Locale auto set to supported

Planing

  • iOS application (on Swift)
  • Android application

Environment

  • Ruby 2.5.0
  • RubyGems 2.7.4
  • Bundler 1.16.1
  • PostgreSQL

Installation

Stringer is a Ruby app based on Rails, PostgreSQL, Backbone.js and Sidekiq.

Deploy to Heroku

Stringer will run just fine on the Heroku free plan.

Instructions are provided for deploying to Heroku manually, to any Ruby compatible Linux-based VPS, to Docker and to OpenShift.

Niceties

Keyboard Shortcuts

You can access the keyboard shortcuts when using the app by hitting ?.

Using you own domain with Heroku

You can run Stringer at http://reader.yourdomain.com using a CNAME.

If you are on Heroku:

heroku domains:add reader.yourdomain.com

Go to your registrar and add a CNAME:

Record: CNAME
Name: reader
Target: your-heroku-instance.herokuapp.com

Wait a few minutes for changes to propagate.

Fever API

Stringer implements a clone of Fever's API so it can be used with any mobile client that supports Fever.

image

Use the following settings:

Server: {path-to-stringer}/fever (e.g. http://reader.example.com/fever)

Email: stringer (case-sensitive)
Password: {your-stringer-password}

If you have previously setup Stringer, you will need to migrate your database and run rake change_password for the API key to be setup properly.

Translations

Stringer has been translated to several other languages.

If you would like to translate Stringer to your preferred language, please use LocaleApp.

Clean up old read stories on Heroku

If you are on the Heroku free plan, there is a 10k row limit so you will eventually run out of space.

You can clean up old stories by running: rake cleanup_old_stories

By default, this removes read stories that are more than 30 days old (that are not starred). You can either run this manually or add it as a scheduled task.

Development

Run the Ruby tests with bundle exec rspec.

Run the Javascript tests with rake test_js and then open a browser to http://localhost:4567/test.

Getting Started

To get started using Stringer for development you first need to install foreman.

gem install foreman

Then run the following commands.

bundle install
rails db:create db:migrate
foreman start

The application will be running on port 3000.

You can launch an interactive console using rails console (or rails c for short).

Acknowledgements

Most of the heavy-lifting is done by feedjira and feedbag.

General sexiness courtesy of Twitter Bootstrap and Flat UI.

ReenieBeanie Font Copyright © 2010 Typeco ([email protected]). Licensed under SIL Open Font License, 1.1.

Lato Font Copyright © 2010-2011 by tyPoland Lukasz Dziedzic ([email protected]). Licensed under SIL Open Font License, 1.1.

Contact

If you have a question, feature idea, or are running into problems, our preferred method of contact is to open an issue on GitHub. This allows multiple people to weigh in and we can keep everything in one place. Thanks!

Maintainers

Matt Swanson, mdswanson.com, @_swanson

Victor Koronen, victor.koronen.se, @victorkoronen

About

A self-hosted, anti-social RSS reader.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.2%
  • Ruby 34.1%
  • CSS 20.4%
  • HTML 7.2%
  • Shell 0.1%