Totally Addicting Streaming Tools.
Made with Deno and React.
I do some streaming and have found a few needs when doing so. This app is meant to remedy those needs, one-by-one.
If you have Deno and yarn, you can start toadstools using the Makefile:
make install # installs front end dependencies
make start # starts React server
make deno # starts Deno server
git clone https://github.com/regexpressyourself/toadstools.git
cd toadstools
First, you'll need a .env
file in the root directory with the following information:
LASTFM_KEY={Last.fm API key}
LASTFM_SECRET={Last.fm API secret}
More on these things below:
First, you need Deno. Deno's new, so the best way to get it may change over time. Generally, following the instructions at deno.land should help.
Next, you need a Last.fm API key and password. Add them to the .env
file as detailed above.
- Quick note: make sure you save this -- Last.fm doesn't let you access them again.
Finally, run:
deno run --allow-net --allow-read --allow-env back/serve.ts
Your Deno server will be running off of http://localhost:8123.
(Side note: I like using denon for auto-reload. Just replace deno
with denon
in the command above)
The client is a Create React App build.
To run it, just install and start her up!
cd front
yarn
yarn start
The React server is on http://localhost:3000.
To create a production build, you'll just need to create a production-ready front end bundle.
make build
The server is already pointing at the production build location, so opening up the same routes on port :3011
should show your production app.
I'm always happy to receive pull requests, questions/issues regarding code, and feature requests on all my projects. Please feel free to open an issue or submit a pull request.
- Sam Messina - Sole Developer
toadstools is licensed under the MIT License - see the LICENSE.md file for details.