{"id":17482430,"url":"https://github.com/creationix/drop-dat","last_synced_at":"2025-04-10T02:42:42.744Z","repository":{"id":57216415,"uuid":"105842411","full_name":"creationix/drop-dat","owner":"creationix","description":"A quick file sharing mechanism using dat libraries.","archived":false,"fork":false,"pushed_at":"2017-10-11T02:43:05.000Z","size":39,"stargazers_count":19,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T12:34:05.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/creationix.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":"2017-10-05T02:43:12.000Z","updated_at":"2023-09-08T17:30:47.000Z","dependencies_parsed_at":"2022-08-26T12:51:32.770Z","dependency_job_id":null,"html_url":"https://github.com/creationix/drop-dat","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/creationix%2Fdrop-dat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fdrop-dat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fdrop-dat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fdrop-dat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creationix","download_url":"https://codeload.github.com/creationix/drop-dat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248145046,"owners_count":21055039,"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":[],"created_at":"2024-10-18T23:43:02.488Z","updated_at":"2025-04-10T02:42:42.716Z","avatar_url":"https://github.com/creationix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drop-dat\nA quick file sharing mechanism using dat libraries.\n\n## HTTP Proxy\n\nOn a machine with a public address (raw IP address or domain is fine), install `drop-dat` and setup a gateway service.\n\n```sh\nnpm i -g drop-dat\ndrop-dat --serve\n```\n\nOn your machine that has the source files, upload a folder to the gateway server.\n\nAs long as this process is connected to the gateway, it will host the files over http.\n\n```\ntims-imac:exploder tim$ drop-dat . --upload daplie.rocks\nImporting file(s):\n  README.markdown\n  app.js\n  apple-touch-icon.png\n  dat.json\n  favicon.ico\n  icon-128.png\n  index.html\n  manifest.appcache\n  manifest.webapp\n  pixi.min.js\n  pixi.min.js.map\n  resources/sprites.svg\n  sprites.json\n  sprites.png\n  style.css\nConnected to Server, uploading...\nhttp://daplie.rocks:8040/25fe50776dfb446e856e31ff229131472928875010f1185ff187f46be7e9f3fb/\n```\n\nGo to the url in a browser and enjoy dat over http!\n\nWhen you're done, just Control+C the upload client and the server will deregister the site.\n\nEverything was in memory and nothing is touched on your disk.\n\n## P2P Mode\n\nIf you want to share with someone that has a dat client already (like Beaker Browser),\nthis can be used to share quick and temporary dats of single files.\n\n```sh\ntims-imac:exploder tim$ drop-dat README.markdown\nImporting file(s):\n  README.markdown\nSharing on P2P network\nSharing on dat P2P network...\nPress Control+C to stop sharing.\n\ndat://7c5adb14a4afaaa9e8f7d2fa4e7c567f3b6b63ba4c6f336d04e780fa0f0740ce\n```\n\nThen on the other side, open the url in Beaker or Dat desktop or whatever.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreationix%2Fdrop-dat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreationix%2Fdrop-dat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreationix%2Fdrop-dat/lists"}