All Projects → jodosha → Instants

jodosha / Instants

Lotus app to experiment with HTTP/2

Programming Languages

ruby
36898 projects - #4 most used programming language

Instants

Lotus experiment with HTTP/2 Push Promise

Requirements

  • Ruby 2+ (with Bundler)
  • nghttp2
  • Instagram API key and secret

Import Instagram Pictures

Edit .env like this:

INSTAGRAM_CLIENT_ID="..."
INSTAGRAM_CLIENT_SECRET="..."

Then run:

% bin/import <instagram-username>

HTTP/1 Mode

Just start Lotus server

% bundle exec lotus server

Then visit http://localhost:2300

HTTP/2 Mode

Keep Lotus server running and start nghttp2

% nghttpx -s -f0.0.0.0,8443 -b 127.0.0.1,2300 config/key.pem config/cert.pem

Then visit https://localhost:8443

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].