do-you-even-elm
do-you-even-elm copied to clipboard
How much Elm do you do?
trafficstars
Do you even Elm?
A small Elm project that looks at your GitHub repositories to figure out how much you Elm.
Built with Elm, hosted at doyouevenelm.com by surge.sh.
Running locally
You'll need Yarn installed.
git clonethe repoyarn run installyarn run start
Changes are live reloaded in the browser, and Elm output is available in the console.
The Github requests use a token to avoid rate limiting. If you want to add your own token, you can create a .env file with:
export ELM_APP_GITHUB_TOKEN="YOUR_GITHUB_TOKEN_HERE"
Tests
yarn testfor a one off runyarn test --watchfor a continuous watch mode
Production build
yarn build
TODO
This code is very much WIP! Here's some things which I hope to work on (and welcome PRs for!)
- Consider creating an
elm-github-apipackage, which would remove a lot of the logic from this project. - Nicer loading spinners.
- Pull some of the logic around github data out of App.elm and into its own module.
- Figure out how better to merge two
RemoteDatainstances where each one contains an array. - Actually show proper error messages!