Personal fork of Tooty
* Update model to store multiple clients. * Delete tmp registration data after client creation. * Add minimal account selector view * Update clients so they can have an account attached. * List clients in the account selector. * List accounts in the account selector view. * It works™. * Minor CSS fix. * Reset server value when switching account. * Fix empty black screen on reauth with new client format. * Fix typo. [skip-ci] |
||
---|---|---|
public | ||
src | ||
tests | ||
.gitignore | ||
.travis.yml | ||
elm-package.json | ||
package.json | ||
README.md |
tooty
An experimental Mastodon client written in Elm.
Setting up the development environment
$ npm i
$ ./node_modules/.bin/elm-package install
Starting the dev server
$ npm start
Starting the dev server in live debug mode
$ npm run debug
Building
$ npm run build
Optimizing
$ npm run optimize
This command compresses and optimizes the generated js bundle. It usually allows reducing its size by ~75%, at the cost of the JavaScript code being barely readable. Use this command for deploying tooty to production.
Deploying to gh-pages
$ npm run deploy
The app should be deployed to https://[your-github-username].github.io/tooty/
Note: The deploy
command uses the optimize
one internally.
Launching testsuite
$ npm test
Licence
MIT