add mirrors

This commit is contained in:
jerger 2023-01-04 11:44:20 +01:00
parent 45b06cfba6
commit 70002e018a

View file

@ -3,7 +3,7 @@
[<img src="https://meissa-gmbh.de/img/community/Mastodon_Logotype.svg" width=20 alt="team@social.meissa-gmbh.de"> team@social.meissa-gmbh.de](https://social.meissa-gmbh.de/@team) | [Website & Blog](https://domaindrivenarchitecture.org) [<img src="https://meissa-gmbh.de/img/community/Mastodon_Logotype.svg" width=20 alt="team@social.meissa-gmbh.de"> team@social.meissa-gmbh.de](https://social.meissa-gmbh.de/@team) | [Website & Blog](https://domaindrivenarchitecture.org)
## in brief ## In brief
dda-masto-embed embedd either your timeline or answers to an specific post on your website. dda-masto-embed embedd either your timeline or answers to an specific post on your website.
* Uses JS, **no intermediate server** required, * Uses JS, **no intermediate server** required,
@ -16,10 +16,17 @@ dda-masto-embed embedd either your timeline or answers to an specific post on yo
* [dda-masto-embed.js.sha512](https://domaindrivenarchitecture.org/downloads/dda-masto-embed.js.sha512) * [dda-masto-embed.js.sha512](https://domaindrivenarchitecture.org/downloads/dda-masto-embed.js.sha512)
* It is **OpenSource** - published under the Apache License, Version 2.0 * It is **OpenSource** - published under the Apache License, Version 2.0
## how it looks ## Development & mirrors
Development happens at: https://github.com/DomainDrivenArchitecture/dda-masto-embed
Mirrors are:
* https://gitlab.com/domaindrivenarchitecture/dda-masto-embed
* https://repo.prod.meissa.de/meissa/dda-masto-embed
## How it looks
![masto-embed-example.png](doc/masto-embed-example.png) ![masto-embed-example.png](doc/masto-embed-example.png)
## include a timeline ## Include a timeline
Including a timeline needs the following html. The div with id `masto-embed` configures the timeline to be shown. Including a timeline needs the following html. The div with id `masto-embed` configures the timeline to be shown.
We use bootstrap for rough styling. More styling is up to you at the moment, help is welcome :-) We use bootstrap for rough styling. More styling is up to you at the moment, help is welcome :-)
@ -51,7 +58,7 @@ Reference:
* `host_url` the url of your mastodon instance. * `host_url` the url of your mastodon instance.
## using in reply mode ## Using in reply mode
Including replies of one of your posts will work as follows: Including replies of one of your posts will work as follows:
@ -85,7 +92,7 @@ Reference:
* `filter_favorited=<true|false>` true will show only favorited replies, false will show every answer. * `filter_favorited=<true|false>` true will show only favorited replies, false will show every answer.
## dev setup ## Dev setup
``` ```
npm install -g npx npm install -g npx
@ -100,13 +107,13 @@ open browser at http://localhost:8080
Connect your repl for :frontend Connect your repl for :frontend
## run the tests ## Run the tests
``` ```
shadow-cljs compile test shadow-cljs compile test
``` ```
## releasing ## Releasing
### prod release ### prod release
``` ```
#adjust version #adjust version
@ -122,6 +129,6 @@ git commit -am "version bump" && git push
## License ## License
Copyright © 2021 meissa GmbH Copyright © 2023 meissa GmbH
Licensed under the [Apache License, Version 2.0](LICENSE) (the "License") Licensed under the [Apache License, Version 2.0](LICENSE) (the "License")
Pls. find licenses of our subcomponents [here](doc/SUBCOMPONENT_LICENSE) Pls. find licenses of our subcomponents [here](doc/SUBCOMPONENT_LICENSE)