WebScopeSpeaker
Version, currently master branch1 version
- master branchlatestDec 12, 2017
github.com/jferas/WebScopeSpeaker
Version of ScopeSpeaker (says Periscope chat messages) created as a Crystal/Kemal/ReactJS web app hosted on Heroku
Installation
# Add this to your shard.yml
dependencies:
WebScopeSpeaker:
github: jferas/WebScopeSpeaker
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.23.1- License
- MIT
- Author
- John Feras
- Target
WebScopeSpeakerfrom src/WebScopeSpeaker.cr
Dependencies
Runtime Dependencies
- kemal*github: sdogruyol/kemal, branch: master
- crustache*github: MakeNowJust/crustache, branch: master
README
WebScopeSpeaker
A ReactJS / Crystal / Kemal web application that communicates with Periscope chat servers via websockets to receive messages and uses the ResponsiveVoice javascript text-to-speech library to speak those messages. The Yandex translation web service is also used to translate messages to English.
This is essentially a web app version of the ScopeSpeaker Android app found at https://play.google.com/store/apps/details?id=com.ferasinfotech.scopespeaker and https://github.com/jferas/ScopeSpeaker/ and has been a learning experience to dig into Crystal and its Kemal web framework, as well as ReactJS.
The Crystal/Kemal server acts a proxy between a simple web client in a browser and the Periscope chat server, maintaining a separate browser-to-chat-server mapping for each web client.
Prerequisites
For the server side, you'll need to install:
- The Crystal programming language environment (Easy like ruby, fast like C)
- The Crystal-base web framework, Kemal.
For the web client side, you'll need to install React and its various components:
- The 'react' UI library
- The 'react-dom' library
- The 'react-burger-menu' library
- The 'react-toggle-button' library
- The 'react-select' library
- The 'babel' JSX compiler
- The 'webpack' utility
Installation
git clone https://github.com/jferas/WebScopeSpeaker
cd WebScopeSpeaker && shards install
./run_it
Usage
Go to http://localhost:3000/ to see it in action locally on your development machine.
The app is currently installed on Heroku and can be accessed at https://scopespeaker.herokuapp.com
Enter the name of a Periscope user who is currently broadcasting live, wait for the app to connect to the chat servers, and then listen to the incoming chat messages from the broadcast.
Development (things still planned to be done)
- Figure out the Crystal testing framework and write some tests
- Add a feature that is in the Android app to detect user's language and translate incoming messages into that language
Contributing
- Fork it ( https://github.com/jferas/WebScopeSpeaker/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [jferas] John Feras - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Dec 12, 2017
- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/jferas/WebScopeSpeaker
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1