1
0
Fork 0
Personal fork of Tooty
Go to file
Nicolas Perriault 037d62114f
Use local bootstrap assets.
Tooty should try harder to not rely on external http dependencies,
this is a first step.
2017-05-18 10:37:55 +02:00
public Use local bootstrap assets. 2017-05-18 10:37:55 +02:00
src Fixed status url may be missing in a toot. 2017-05-14 15:12:04 +02:00
tests Update test fixtures. 2017-05-14 21:40:01 +02:00
.gitignore Put Elm files into src/ and assets into public/ (#4) 2017-04-20 14:38:52 +02:00
.travis.yml Travis integration (#22) 2017-04-21 14:49:00 +02:00
README.md Updated screenshot in README. 2017-05-14 12:59:53 +02:00
elm-package.json Fix #27: Render universal emojis. 2017-05-13 11:21:29 +02:00
package.json Optimize generated build. (#150) 2017-05-08 13:08:51 +02:00

README.md

tooty

An experimental multi-account Mastodon Web client written in Elm.

Tooty is a fully static Web application running in recent browsers, you don't need any custom server setup to use it. Just serve it and you're done, or use the public version hosted on Github Pages.

If you want to self host Tooty, just grab a build and serve it over HTTP.

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