bidirectional mirror github <> knot server
2

Configure Feed

Select the types of activity you want to include in your feed.

Python 93.1%
Dockerfile 4.8%
Shell 2.1%
1 1 0

Clone this repository

https://tangled.org/olifog.com/github-tangled-mirror https://tangled.org/did:plc:rccdtvyvk4nlkxsoybhpciof
git@knot.olifog.com:olifog.com/github-tangled-mirror git@knot.olifog.com:did:plc:rccdtvyvk4nlkxsoybhpciof

For self-hosted knots, clone URLs may differ based on your setup.



README.md

github-tangled-mirror#

bidirectional mirror between github and a tangled knot server.

queries your knot's database for registered repos, checks which ones exist on github, and syncs them. source of truth is determined by SYNC_DIRECTION.

setup#

cp .env.example .env  # edit with your values
docker compose up -d

syncs every 2 minutes by default. set SYNC_INTERVAL (seconds) to change.

set GITHUB_TOKEN for private repos or if you have >60 repos.

set SYNC_DIRECTION to github-to-knot (default) or knot-to-github.

repos must already exist on both sides (create on tangled via the web UI with the same name as your github repo).

todo#

  • auto-create repos on tangled
  • webhook trigger instead of polling
  • parallel sync