- TypeScript 69.5%
- Python 11.8%
- Svelte 8.4%
- Shell 5.6%
- CSS 1.8%
- Other 2.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
peerhub-ci / Typecheck, tests, build, speed budgets (push) Successful in 4m59s
peerhub-ci / Server setup playbook parses (push) Successful in 3m14s
peerhub-ci / Nudity checker tests (stand-in models and the real NudeNet) (push) Successful in 1m48s
peerhub-ci / Subtitle tools tests (a tiny stand-in translation model) (push) Successful in 44s
|
||
| .forgejo | ||
| docs | ||
| ops | ||
| packages | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| package.json | ||
| peerhub-setup.sh | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| TARBALL.md | ||
| tsconfig.base.json | ||
Peerhub 10
Peerhub turns a PeerTube site into part of the Blurt world. Viewers sign in with one box (Blurt, the Fediverse, the site's WordPress or a username), upvote and tip videos and comments, and creators earn BLURT for what they publish. Comments and follows work across Blurt and the Fediverse, videos are imported from other sites, and every channel gets a Podcasting 2.0 feed.
Peerhub 10 is a full rebuild for PeerTube 8.3.1 and later. It needs no changes to PeerTube itself. It follows Peerhub 9, so its version starts at 10 (PeerTube offers an update only to a higher version).
Status: in development. Not ready for production sites yet.
What is in this repository
| Folder | What it is |
|---|---|
packages/keystore |
Turns 12 words, a keyfile or a posting key into Blurt keys, on the person's own device. Shared with Morphit, so the same 12 words and keyfiles work in both. |
packages/blurt |
Talks to the Blurt chain: builds and signs transactions, signs sign-in messages, switches between nodes when one is down. |
packages/peertube-plugin-peerhub |
The PeerTube plugin itself. |
packages/importer |
The video importer: finds new videos on other sites and uploads them to channels, as its own service beside PeerTube. |
packages/nsfw-checker |
The nudity checker: open models on the server, asked through a local socket. |
packages/subtitles |
English subtitles and their translations into other languages, made on the server. |
peerhub-setup.sh, ops/ |
Sets up a whole Peerhub site on a fresh Ubuntu 24.04 server with one command. See docs/RUN-A-PEERHUB-SITE.md, or, at home on an old PC or laptop on Tor and I2P only, docs/RUN-AT-HOME.md. |
scripts/dev |
Helpers for testing against a local PeerTube. |
For developers
Start with docs/ARCHITECTURE.md: how the parts fit together, and what changed from Peerhub 9.
You need Node 22.12 or newer and pnpm 10.
pnpm install
pnpm check
pnpm check runs the type checks, all tests and the build. The plugin ends up
in packages/peertube-plugin-peerhub/dist. Forgejo runs the same checks on
every push, and publishes signed releases: docs/RELEASING.md.
To try it on a local PeerTube, install it from disk in Administration >
Plugins/Themes, or with scripts/dev/reinstall.sh.
Licence
AGPL-3.0-or-later. See LICENSE.