https://github.com/threefoldtech/www-mastodon
https://github.com/threefoldtech/www-mastodon
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/threefoldtech/www-mastodon
- Owner: threefoldtech
- License: apache-2.0
- Created: 2022-11-20T10:26:14.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2025-03-15T01:50:19.000Z (about 1 year ago)
- Last Synced: 2025-04-09T17:10:32.893Z (about 1 year ago)
- Language: Svelte
- Size: 595 KB
- Stars: 2
- Watchers: 15
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# WWW-MASTODON
Mastodon Deployment Weblet
## Table of contents
1. [How to include weblet in another website?](#how-to-include-weblet-in-another-website)
2. [Provider ID](#provider-id)
### How to include weblet in another website?
1. Clone the project
```sh
git clone https://github.com/threefoldtech/www-mastodon.git
# Change directory inside project
cd ./www-mastodon
```
2. Install project dependencies
```sh
yarn install
```
3. Build project
```sh
yarn build
```
4. Copy all files in _./dist_ folder into your project (for e.g in _./weblet_)
5. Import scripts in your project
```html
```
6. Use weblet within your templates
```html
```
### Provider ID
If you didn't add a **Provider ID**. User will be asked to enter a valid id or stick to our default id(1).

If you add a **Provider ID**. you will get _Credentials_ as first page.
```html
```
