{"id":13562284,"url":"https://github.com/picotorrent/server","last_synced_at":"2025-04-05T21:32:50.369Z","repository":{"id":24633966,"uuid":"332865385","full_name":"picotorrent/server","owner":"picotorrent","description":"A tiny, hackable BitTorrent client for servers and seedboxes.","archived":false,"fork":false,"pushed_at":"2022-08-05T15:52:19.000Z","size":2140,"stargazers_count":51,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-21T12:12:31.702Z","etag":null,"topics":["bittorrent","seedbox","server"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/picotorrent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-25T19:51:33.000Z","updated_at":"2025-01-19T22:28:11.000Z","dependencies_parsed_at":"2022-08-02T13:16:54.695Z","dependency_job_id":null,"html_url":"https://github.com/picotorrent/server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picotorrent%2Fserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picotorrent%2Fserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picotorrent%2Fserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picotorrent%2Fserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picotorrent","download_url":"https://codeload.github.com/picotorrent/server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406082,"owners_count":20933803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bittorrent","seedbox","server"],"created_at":"2024-08-01T13:01:06.676Z","updated_at":"2025-04-05T21:32:50.013Z","avatar_url":"https://github.com/picotorrent.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# PicoTorrent Server is a high performance BitTorrent server\n\nBuilt to handle tens of thousands of torrents, PicoTorrent Server is an\nexcellent BitTorrent server. Perfect for a seedbox setup where performance\nand ease of use is key.\n\n## Features\n\n * Full support for BitTorrent 2.0 ([BEP-52](http://bittorrent.org/beps/bep_0052.html)),\n   v1, v2 and v1+v2 hybrid torrents.\n * A simple, clean, embedded web UI for management.\n * All data is stored in a SQLite database which makes backups trivial.\n * A Prometheus exporter for monitoring session statistics.\n\n ## Getting started\n\n PicoTorrent Server is distributed via Docker which makes it easy to run and\n distribute.\n\n ```sh\n docker run -p 8080:1337 ghcr.io/picotorrent/server:{VERSION}\n ```\n\n ### Using `docker-compose`\n\n This is an example file with more advanced usage - the container is set to\n read-only and volumes are mapped in for data storage.\n\n```yaml\nversion: '3'\n\nservices:\n  picotorrent:\n    image: ghcr.io/picotorrent/server:{VERSION}\n    ports:\n      - 8080:1337\n    environment:\n      PICOTORRENT_DB_FILE: /data/PicoTorrent.sqlite\n    volumes:\n      - /mnt/downloads:/downloads\n      - /var/lib/picotorrent:/data\n```\n\n### Configuration\n\nUse these environment variables to configure the behavior of PicoTorrent\nServer.\n\n * `PICOTORRENT_DB_FILE` - the path to a SQLite database to use for data storage.\n   The file will be created if it does not exist. _Defaults to right next to the\n   PicoTorrentServer binary_.\n * `PICOTORRENT_HTTP_HOST` - the IP address to listen on for the HTTP server.\n   _Defaults to `127.0.0.1`_.\n * `PICOTORRENT_HTTP_PORT` - the port to use for the HTTP server. _Defaults to `1337`_.\n * `PICOTORRENT_WEBROOT_PATH` - the path to the web UI. If unset, no web UI will\n   be served. _Defaults to `/app/client` in the Docker container which is where\n   the bundled web UI is located_.\n\n#### Prometheus\n\n * `PICOTORRENT_PROMETHEUS_EXPORTER` - if this is set, the Prometheus exporter\n   is enabled and will serve metrics on `/metrics`. _Defaults to unset_.\n\n ## Setting up for development\n\n Build PicoTorrent Server then run it.\n\n```sh\n$ mkdir build \u0026\u0026 cd build\n$ cmake -G Ninja\n$ ninja\n$ ./PicoTorrentServer\n```\n\nThen start the Vue client.\n\n```sh\n$ cd client\n$ npm i\n$ npm run serve\n```\n\nOpen `http://localhost:8080` in your browser. All API requests are forwarded to\nthe server process with the help of the Vue proxy.\n\nIn production scenarios, the Vue client is hosted by PicoTorrent itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicotorrent%2Fserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicotorrent%2Fserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicotorrent%2Fserver/lists"}