{"id":19237456,"url":"https://github.com/webrecorder/dat-share","last_synced_at":"2025-04-21T06:31:25.885Z","repository":{"id":75541911,"uuid":"140638743","full_name":"webrecorder/dat-share","owner":"webrecorder","description":"A prototype server to swarm multiple DATs for Webrecorder","archived":false,"fork":false,"pushed_at":"2019-04-27T20:23:34.000Z","size":244,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T14:27:00.042Z","etag":null,"topics":["dat","dat-protocol","hyperdrive","web-archiving"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/webrecorder.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,"governance":null},"funding":{"github":"webrecorder"}},"created_at":"2018-07-11T23:53:32.000Z","updated_at":"2025-01-17T23:26:24.000Z","dependencies_parsed_at":"2023-05-20T16:17:05.962Z","dependency_job_id":null,"html_url":"https://github.com/webrecorder/dat-share","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.1875,"last_synced_commit":"5dce8ff674fa9f69c3fe15849fc55598397b6c85"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fdat-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fdat-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fdat-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fdat-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webrecorder","download_url":"https://codeload.github.com/webrecorder/dat-share/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249569497,"owners_count":21293145,"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":["dat","dat-protocol","hyperdrive","web-archiving"],"created_at":"2024-11-09T16:26:44.997Z","updated_at":"2025-04-21T06:31:25.864Z","avatar_url":"https://github.com/webrecorder.png","language":"JavaScript","readme":"dat-share\n=======================\n\nWebrecorders dat integration backend.\n\n### Installation\nTo use this project you must first install its dependencies\n\n```bash\n$ yarn install\n# or \"npm install\"\n```\n\n### Usage\ndat-share provides a cli to help you use this project.\n\nThe commands available to you are displayed below \n\n```bash\n$ ./run.js --help\nUsage: run [options]\n\nOptions:\n  -V, --version            output the version number\n  -p, --port [port]        The port the api server is to bind to (default: 3000)\n  -h, --host [host]        The host address the server is listen on (default: \"127.0.0.1\")\n  -s, --swarm-port [port]  The port the swarm is to bind to (default: 3282)\n  -r, --rootDir \u003cdir\u003e      The root directory that contains the contents to be shared via dat\n  -l --log                 should logging be enabled for both the api server and swarm manager\n  --help                   output usage information\n```\n\nSome configuration of the server can be done via the environment variables listed below\n- `SWARM_API_HOST`: the host the api server will use (e.g. 127.0.0.1)\n- `SWARM_API_PORT`: the port the api server will listen on (e.g. 3000)\n- `SWARM_PORT`: the port the swarm will listen on (e.g. 3282)\n- `SWARM_ROOT`: the root directory that contains the contents to be shared via dat\n- `LOG`: should logging be enabled (exists **yes**, does not exists **no**)\n- `Debug=SwarmManager`: enables logging of the actions performed by the swarm manager only \n\n\n\n","funding_links":["https://github.com/sponsors/webrecorder"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrecorder%2Fdat-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebrecorder%2Fdat-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrecorder%2Fdat-share/lists"}