Updated Home (markdown)
[oweals/peertube.wiki.git] / Home.md
1 # External Interaction
2
3 - [Toot new videos on Mastodon automatically (with Python)](https://github.com/PhieF/MiscConfig/blob/master/Peertube/peertubetomasto.py)
4 - [Seed automatically with some bash-fu and WebTorrent Desktop (in french)](https://linuxfr.org/users/yolo42/journaux/repliquer-ses-videos-peertube-premiers-pas#comment-1744038)
5
6 - [Peeror: Scripting video uploads (with Python)](https://git.drycat.fr/rigelk/Peeror/wiki) [should still work and be easy to hack on, but in case it doesn't because of a change of PeerTube's API, please use `prismedia` below - it is a bit more complex but is keeping pace with PeerTube much more closely]
7 - [Example with Peeror: Scripting automatic mirror of a YouTube channel/playlist to PeerTube (with Python)](https://git.rigelk.eu/rigelk/peeror) [same as above]
8 - [Prismedia: Scripting video uploads to PeerTube and YouTube at the same time (with Python)](https://git.lecygnenoir.info/LecygneNoir/prismedia)
9
10 The API is also documented via OpenAPI. You can have a look at [the quickstart](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/api/quickstart.md).
11
12 # Discover other PeerTube servers
13 There is now a dynamic list at [instances.peertu.be](https://instances.peertu.be/instances), maintained by [@Chocobozzz](https://github.com/Chocobozzz). It is not playing any role in the federation process at the moment, but it's a nice aid if you want to discover instances or be discovered.
14
15 If you want to follow them automatically as they come you have 2 scripts, but *then beware that you blindly trust every other admin for enforcing sane moderation policies* :
16 * [Peetube AutoDiscover](https://github.com/Jorropo/PeerTube-autoDiscover) by Jorropo, that uses following and followers list of nodes you already follow to discover new nodes.
17     - Can discover nodes unlisted in the official list (if an admin forgot to add their node in the official list this isn't a problem) as it recursively asks nodes you already know.
18     - Doesn't require a central node exchange point (node list)
19     - More secure than shell script (shell script use file as variable for storage of login token)
20 * [script from Skid](https://github.com/Chocobozzz/PeerTube/issues/406#issuecomment-397452809) and [python3 version](https://gist.github.com/Jorropo/e5e7bc471e290cb8098e36b150288631)
21     - Faster
22     - Protects privacy (maybe if a node isn't listed on [instances.peertu.be](https://instances.peertu.be/instances) there is a reason)
23
24 You can do a cron like `*/10 * * * * /opt/peertube-autofollow.py >/dev/null 2>&1` to automate its update.
25
26 # Other Documentations
27
28 We are in the process of merging documentations. Please bear with us, something nice is gonna come out of this, but for now please refer to the README.
29
30 [User documentation :fr:](https://mypads.framapad.org/mypads/?/mypads/group/dane-8igx75o/pad/view/documentation-utilisateurs-peertube-pn4bhb7kr)