A service to facilitate collective digital publishing practices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
decentral1se 1e62814108
Add note and drop logging [ci skip]
2 months ago
.dockerignore Ignore more stuff 2 months ago
.drone.yml Add drone config 2 months ago
.env.sample Support shares from NC side 2 months ago
.gitignore Ignore test files 2 months ago
Dockerfile Init project files 2 months ago
LICENSE Init project files 2 months ago
README.md Add note and drop logging [ci skip] 2 months ago
compose.yml Pass env vars, push does build now 2 months ago
entrypoint.sh.tmpl Support shares from NC side 2 months ago
makefile Add deployment 2 months ago
poetry.lock Use patched pyocclient 2 months ago
pubspace.py Fix bad typo 2 months ago
pubspace.sh Add note and drop logging [ci skip] 2 months ago
pyproject.toml Use patched pyocclient 2 months ago

README.md

pubspace

WARNING: this was an experimental prototype to understand if an "always-on" intermediary service could facilitate digital publishing practices in the lumbung.space. We have since moved to the idea of a slow and not real-time mode of publishing which will happen in another repository.

Build Status

A service to facilitate collective digital publishing practices.

How does publishing happen?

cloud.lumbung.space

WARNING: Only file sharing is implemented

  • When a file is tagged with the publish tag, a share link will be generated
  • This share link will be shown on the publish.lumbung.space prototype page

social.lumbung.space

  • When a toot uses the hashtag #pubspace (a comment on a thread will also "unroll" the entire thread)
  • Only toots with visibility: public will be published. Local only posts and otherwise private posts are respected.
  • This toot link will be shown on the publish.lumbung.space prototype page

tv.lumbung.space

  • When someone comments on a published video using the #pubspace hashtag
  • This toot link will be shown on the publish.lumbung.space prototype page

Supported services

Nextcloud flow script

See the pubspace.sh script. This is manually copied over into /var/www/html/pubspace/pubspace.sh for now. There is a workflow scripts rule configured that when a file is tagged, the script is run. The script sends the filename to this service and then we use the pyocclient to generate a share for that file. The Nextcloud crontab runs the script.

Deployment

Work In Progress

$ printf $YOURMASTODONACCESSTOKEN | docker secret create  publish_lumbung_space_access_token_v1 -
$ printf $YOURNEXTCLOUDAPPPASSWORD | docker secret create  publish_lumbung_space_app_password_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