https://github.com/socketio/lz77-compression-demo
https://github.com/socketio/lz77-compression-demo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/socketio/lz77-compression-demo
- Owner: socketio
- Created: 2015-12-01T06:50:57.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-15T20:02:59.000Z (about 10 years ago)
- Last Synced: 2025-01-29T13:11:22.503Z (about 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 8
- Watchers: 9
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LZ77 Compression Demo
A demo which highlights the compressed texts by LZ77 algorithm a realtime stream on Twitter.
## How to use
Please prepare a [Twitter access token](https://dev.twitter.com/oauth/application-only).
### Heroku
[](https://heroku.com/deploy)
### Custom
Set the environment variables and start your server.
```sh
$ cat .env
TWITTER_CONSUMER_KEY=xxxxxxxxxx
TWITTER_CONSUMER_SECRET=xxxxxxxxxx
TWITTER_TOKEN=xxxxxxxxxx
TWITTER_TOKEN_SECRET=xxxxxxxxxx
$ npm install
$ env $(cat .env | xargs) npm start
```
## License
MIT