2021-06-15 11:35:51 +00:00
# pubspace
A service to facilitate collective digital publishing practices.
2021-06-15 12:00:19 +00:00
## Mapping out the pubspace
- **Services**:
- [cloud.lumbung.space ](https://cloud.lumbung.space/ ) ([Nextcloud](https://nextcloud.com/))
- [tv.lumbung.space ](https://tv.lumbung.space/ ) ([Peertube](https://joinpeertube.org/))
- [social.lumbung.space ](https://social.lumbung.space/ ) ([Hometown](https://github.com/hometown-fork/hometown))
- [lumbung.space ](https://lumbung.space/ ) ([Hugo](https://gohugo.io/))
- **Types of shares**:
- **cloud.lumbung.space**: links to file paths
- **tv.lumbung.space**: links to videos
2021-06-16 07:57:40 +00:00
- **social.lumbung.space**: links to posts
2021-06-15 12:00:19 +00:00
2021-06-16 07:47:59 +00:00
- **Publishing flows**:
- **cloud.lumbung.space**: Using [Nextcloud flows ](https://nextcloud.com/blog/nextcloud-flow-makes-it-easy-to-automate-actions-and-workflows/ ), we can trigger an outgoing HTTP request towards `pubspace`
2021-06-16 09:07:52 +00:00
- **tv.lumbung.space**: Using [a federation client ](https://mastodonpy.readthedocs.io/ ) we can watch for specific hashtags to trigger publishing
- **social.lumbung.space**: Using [a federation client ](https://mastodonpy.readthedocs.io/ ), we can watch for specific hashtags to trigger publishing
2021-06-16 09:17:32 +00:00
## Nextcloud flow script
```bash
echo "TODO"
```
## Deployment
> Work In Progress
```
$ printf $YOURMASTODONACCESSTOKEN | docker secret create publish_lumbung_space_access_token_v1 -
$ cp .env.sample .env # and update the values to match the environment
$ set -a & & source .env & & set +a
$ docker stack deploy -c compose.yml publish_lumbung_space
```