Git Product home page Git Product logo

byte-community's Introduction

Byte Community

Immerse yourself in the byte universe: an exciting new looping video app from the founder of Vine.

Explore, watch, and share bytes on the web.

Available Scripts

In the /client directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

In the /server directory, you can run:

npm start

Runs an Express server that serves the React bundle.
Open http://localhost:3001 to view it in the browser.

The server is needed for dynamically replacing the Open Graph meta tags so that the correct meta data appears when a link is shared on social media such as Facebook and Twitter.

The server also proxies API requests from the React client to the unofficial byte API.

API Authentication

In order for the application to work correctly you need to add your own authorization token.

The authorization token is used to authenticate each request to the byte API and without it the requests will fail. You'll need to find out how to get your own authorization token by yourself.

The server uses round-robin iteration to cycle through different authorization tokens to balance the load on the byte API requests. You can supply as many authorization tokens as you want, but there must be at least one.

  • In server/api/index.js:
const authorizationTokens = ['']; // TODO: add your own authorization tokens

License

MIT

Legal

This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by Interspace Technologies, Inc. d.b.a. Byte or any of its affiliates or subsidiaries. This is an independent project that utilizes byte's unofficial APIs. Use at your own risk.

byte-community's People

Contributors

alecanthonygarcia avatar

Watchers

James Cloos 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.