Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ukrbublik/twitter_stream_feed

[test task] Simple web app to show last tweets in real-time.
https://github.com/ukrbublik/twitter_stream_feed

async feed php ratchet reactphp sample socket-server test-task twitter websocket websockets

Last synced: 18 days ago
JSON representation

[test task] Simple web app to show last tweets in real-time.

Awesome Lists containing this project

README

        

Simple web app to show last 25 tweets from you feed in real-time.

### Usage
- `composer install`
- Edit config.php
- Run socket server from command line: `php bin/ratchet.php`

### Heroku
- Buildpacks: `heroku/php` and `heroku/nodejs` (just for bower)
- Addons: `MemCachier`
- Separate Ratchet socket server to 2nd app.
- Apps must have different `Procfile` files - 1st with contents of `Procfile1`, 2nd - of `Procfile2`
- Both apps must have same `MEMCACHIER_*` env vars and `IS_HEROKU=1`

### Demo
https://stream-feed.herokuapp.com/