{"id":17549934,"url":"https://github.com/g-ray/react-native-transmission","last_synced_at":"2026-01-05T20:46:22.914Z","repository":{"id":173614145,"uuid":"651021075","full_name":"G-Ray/react-native-transmission","owner":"G-Ray","description":"react-native module for libtransmission","archived":false,"fork":false,"pushed_at":"2024-07-28T14:16:05.000Z","size":1857,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-16T21:16:34.202Z","etag":null,"topics":["bittorrent","react-native","transmission"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/G-Ray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-08T10:11:55.000Z","updated_at":"2024-10-14T10:51:46.000Z","dependencies_parsed_at":"2024-07-14T11:40:55.849Z","dependency_job_id":"9c93056c-3d59-4264-9ebf-1d601f7155c3","html_url":"https://github.com/G-Ray/react-native-transmission","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"a9c2fb9b807f1ab8e2c1e2831d79193257e8c932"},"previous_names":["g-ray/react-native-transmission"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-Ray%2Freact-native-transmission","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-Ray%2Freact-native-transmission/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-Ray%2Freact-native-transmission/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-Ray%2Freact-native-transmission/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/G-Ray","download_url":"https://codeload.github.com/G-Ray/react-native-transmission/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245563038,"owners_count":20635907,"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","react-native","transmission"],"created_at":"2024-10-21T03:56:38.882Z","updated_at":"2026-01-05T20:46:22.874Z","avatar_url":"https://github.com/G-Ray.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-transmission\n\nReact native module for libtransmission.\n\n**Only for Android for now.**\n\n## Development\n```sh\n# Install vcpkg, and install required packages\nvcpkg install \\\ncurl:x86-android openssl:x86-android \\\ncurl:x64-android openssl:x64-android \\\ncurl:arm-android openssl:arm-android \\\ncurl:arm64-android openssl:arm64-android\n```\n\n## Installation\n\n```sh\nnpm install react-native-transmission\n```\n\n## Usage\n\n```js\nimport Transmission from 'react-native-transmission'\n\nconst tr = new Transmission(\n  '/data/data/com.transmissionexample/files/configDir',\n  'transmission'\n)\n\n// Beware to correctly set the download dir when your app load, \n// as default location is not correct by default on android yet.\ntr.request(\n  {\n    method: 'session-set',\n    arguments: {\n      'download-dir': '/data/data/com.transmissionexample/files/downloads',\n    }\n  }, (err, res) =\u003e {}\n)\n\ntr.request(\n  {\n    method: 'session-get',\n    arguments: {\n      fields: ['version'],\n    },\n  },\n  (err, res) =\u003e {\n    if (err) {\n      console.error(err)\n    }\n    console.log(res)\n  }\n)\n\n// Or use tr.request as a promise\nconst res = await tr.request(\n  {\n    method: 'session-get',\n    arguments: {\n      fields: ['version'],\n    },\n  }\n)\n\nconsole.log(res)\n\ntr.close()\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nGPL-v3\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-ray%2Freact-native-transmission","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-ray%2Freact-native-transmission","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-ray%2Freact-native-transmission/lists"}