Git Product home page Git Product logo

waytoofast's Introduction

waytoofast

The purpose of the application is to point out the information overload we experience every day.

Check out the app at: waytoofast.oemel09.de

This application shows random real-time tweets from twitter.com and random videos and pictures from pexels.com.
If sound is enabled the app plays random sounds from freesound.org.

Screenshot

Screenshot

API keys

To deploy the application by yourself you need to provide a bearer-token of your twitter developer account and an API-key for pexels as well as for freesound. Create a config.json file like the example-config.json found in this repository.

Configuration

Configuration is done via the following environment variables:

Key Default Description
PORT 61113 The port where the app will run
PATH_PREFIX - Subdirectory where the app will be deployed
TEMPLATES_DIR - Path to the templates directory
STATIC_ASSETS_DIR - Path to the static assets (css, js)
CONFIG_FILE - Path to the json config file

Build

To build the app run go install

Run

TEMPLATES_DIR=/path/to/templates \
STATIC_ASSETS_DIR=/path/to/assets \
CONFIG_FILE/path/to/config.json \
waytoofast

Deploying to a subdirectory

If the app will be available at a subdirectory, set the PATH_PREFIX environment variable and set the PATH_PREFIX constant in the index.js file.

Third party libraries

  • rangetouch to make the sliders work on touch devices

waytoofast's People

Contributors

oemel09 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.