The best way to mindlessly browse viral gifs
HTML Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
database
offline
public
views
.gitignore
Gemfile
Gemfile.lock
LICENSE.md
README.md
app.rb
config.ru
initialize.rb

README.md

cyber.surf

Built using Ruby (Sinatra, Puma, LMDB), with Imgur, Gfycat, and Reddit.

Gif info is stored in a LMDB database, and API calls are stored as plaintext on the server.

Testing locally

  • Get an imgur API Client ID
  • Clone and cd into the repo,
  • bundle install the dependencies
  • Edit config.ru and add your Client ID
  • Run initialize.rb to build the database
  • rackup to run the server.