30 lines
413 B
Markdown
30 lines
413 B
Markdown
# dda-masto-embed
|
|
Embeds mastodon timline into a html page. Uses JS, no intermediate server required.
|
|
|
|
|
|
# Setup
|
|
|
|
```
|
|
npm install -g npx
|
|
npm install -g shadow-cljs
|
|
npm install -g source-map-support --save-dev
|
|
npm install mastodon-api
|
|
|
|
```
|
|
|
|
# Development
|
|
|
|
```
|
|
shadow-cljs watch frontend
|
|
```
|
|
|
|
open browser at http://localhost:8080
|
|
|
|
Connect your repl for :frontend
|
|
|
|
|
|
# run the tests
|
|
|
|
```
|
|
shadow-cljs compile test
|
|
```
|