{"id":13426771,"url":"https://github.com/asapach/peerflix-server","last_synced_at":"2025-05-15T02:08:09.792Z","repository":{"id":15726442,"uuid":"18464687","full_name":"asapach/peerflix-server","owner":"asapach","description":"Streaming torrent client for Node.js with web ui.","archived":false,"fork":false,"pushed_at":"2023-01-11T22:21:30.000Z","size":1178,"stargazers_count":1306,"open_issues_count":44,"forks_count":583,"subscribers_count":69,"default_branch":"master","last_synced_at":"2025-04-14T00:57:53.916Z","etag":null,"topics":["bittorrent","daemon","javascript","nodejs","peerflix","torrent","torrent-stream"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asapach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-05T10:34:17.000Z","updated_at":"2025-02-11T15:47:36.000Z","dependencies_parsed_at":"2023-01-14T12:45:23.151Z","dependency_job_id":null,"html_url":"https://github.com/asapach/peerflix-server","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapach%2Fpeerflix-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapach%2Fpeerflix-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapach%2Fpeerflix-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapach%2Fpeerflix-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asapach","download_url":"https://codeload.github.com/asapach/peerflix-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259384,"owners_count":22040820,"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","daemon","javascript","nodejs","peerflix","torrent","torrent-stream"],"created_at":"2024-07-31T00:01:44.166Z","updated_at":"2025-05-15T02:08:09.773Z","avatar_url":"https://github.com/asapach.png","language":"JavaScript","readme":"peerflix-server\n===============\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/asapach/peerflix-server@master/app/images/logo.svg\" alt=\"logo\" height=\"256\"\u003e\n\nStreaming torrent client for node.js with web ui.\n\n![screen capture](https://cdn.jsdelivr.net/gh/asapach/peerflix-server@master/capture.gif)\n\nBased on [torrent-stream](https://github.com/mafintosh/torrent-stream), inspired by [peerflix](https://github.com/mafintosh/peerflix).\n\n## Usage\n\n1. `npm install -g peerflix-server`\n1. `peerflix-server`\n1. Open your browser at [http://localhost:9000/](http://localhost:9000/)\n1. Enjoy!\n\n## Configuration\n\nYou can configure the application using `config.json` file (doesn't exist by default).\nThe [options](https://github.com/mafintosh/torrent-stream#full-api) are passed to all torrent-stream instances.\nHere's an example that overrides the defaults:\n\n```json\n{\n  \"connections\": 50,\n  \"tmp\": \"/mnt/torrents\"\n}\n```\n\nThe application stores its current state (list of torrents) in `torrents.json`\n\nYou can define configuration and state files location by `PEERFLIX_CONFIG_PATH` environmnt variable. Default value is `$HOME/.config/peerflix-server/`.\n\nYou can also change the default port by setting `PORT` environment variable:\n\n```sh\nPORT=1234 peerflix-server\n\n# or on windows\nSET PORT=1234\npeerflix-server\n```\n\n\n## Daemon\n\nIf you want to run peerflix-server as a daemon, you can do it using [forever](https://github.com/foreverjs/forever):\n\n```sh\nnpm install -g forever\n```\n\n```sh\nforever start $(which peerflix-server)\n```\n\nYou might also want to enable logging -- see the [docs](https://github.com/foreverjs/forever#command-line-usage).\n\n## FAQ\n\n[How do I add password protection?](https://github.com/asapach/peerflix-server/wiki/How-to-put-a-password-on-peerflix-server)\n\n## Development\n\nSee [Development.md](Development.md)\n\n## REST API\n\nSee [REST.md](REST.md)\n\n## Docker\n\nSee [Docker.md](Docker.md)\n\n[npm-image]: https://img.shields.io/npm/v/peerflix-server.svg?style=flat\n[npm-url]: https://npmjs.org/package/peerflix-server\n[node-version-image]: https://img.shields.io/node/v/peerflix-server.svg?style=flat\n[node-version-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/asapach/peerflix-server.svg?style=flat\n[travis-url]: https://travis-ci.org/asapach/peerflix-server\n[downloads-image]: https://img.shields.io/npm/dm/peerflix-server.svg?style=flat\n[downloads-url]: https://npmjs.org/package/peerflix-server\n","funding_links":[],"categories":["JavaScript","JavaScript (71)","Software","Apps","File Sharing and Synchronization"],"sub_categories":["File Transfer - Peer-to-peer Filesharing","MediaManagement","E-commerce"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasapach%2Fpeerflix-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasapach%2Fpeerflix-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasapach%2Fpeerflix-server/lists"}