{"id":13775721,"url":"https://github.com/unkaktus/onionize","last_synced_at":"2025-04-23T23:30:37.598Z","repository":{"id":57583701,"uuid":"69431822","full_name":"unkaktus/onionize","owner":"unkaktus","description":"create an onion site from a directory, file, zip or an HTTP(S) site","archived":false,"fork":false,"pushed_at":"2019-01-27T20:56:18.000Z","size":6586,"stargazers_count":30,"open_issues_count":19,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-18T20:40:44.566Z","etag":null,"topics":["easy-setup","onion-service","onion-site","privacy","share-files","tor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unkaktus.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":"2016-09-28T06:15:00.000Z","updated_at":"2024-04-29T23:10:40.000Z","dependencies_parsed_at":"2022-09-10T12:01:53.054Z","dependency_job_id":null,"html_url":"https://github.com/unkaktus/onionize","commit_stats":null,"previous_names":["nogoegst/onionize"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unkaktus%2Fonionize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unkaktus%2Fonionize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unkaktus%2Fonionize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unkaktus%2Fonionize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unkaktus","download_url":"https://codeload.github.com/unkaktus/onionize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223936992,"owners_count":17228140,"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":["easy-setup","onion-service","onion-site","privacy","share-files","tor"],"created_at":"2024-08-03T17:01:47.259Z","updated_at":"2024-11-10T10:07:18.263Z","avatar_url":"https://github.com/unkaktus.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"6e80463404d46f0493cf6e84597e4b5c\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"e99ba5f3de02f68412b13ca718a0afb6\"\u003e\u003c/a\u003eTor\u0026\u0026\u0026Onion\u0026\u0026洋葱"],"readme":"onionize\n===========\nMake an onion site (aka HTTP over onion services) up and running from a\ndirectory, a file, zip archive contents or another HTTP server.\n\nOnion services are end-to-end encrypted, metadata-free and forward-secure\n(see [design overview](https://www.torproject.org/docs/hidden-services.html.en)).\nMuch love to onion services.\n\nInstall\n-------\nYou have to have Go 1.8+ installed to build `onionize`.\n\nCLI-only version:\n```\n$ go get github.com/nogoegst/onionize/cmd/onionize\n```\nCLI + GUI version (reqiures GTK3 installed):\n```\n$ go get -tags gui github.com/nogoegst/onionize/cmd/onionize\n```\nIf you have troubles setting up GUI version straight away, try to build it\nusing Docker (see /dockerfiles). Also you may look into Dockerfiles themselves\nto reproduce building steps on your host OS.\n\nUsage\n-----\nTo onionize things pass the path to them with optional aliases:\n\n```\n$ onionize /path/to/thing:/things/thing1 /path/to/another/thing:/things/thing2\n```\n\nor the URL:\n\n```\n$ onionize https://example.com/\n```\nPass `-zip` flag to serve from the zip archive.\n\nGrab the onion link from `stdout` and errors/info from `stderr`.\n \nThat's it.\n\nGUI mode\n--------\nTo run `onionize` in GUI mode just don't specify any path.\nSelect target type, open your file/directory and click `onionize`:\n\n![onionize GUI screenshot](docs/onionize-dir-1.png)\n\nThen you can grab the link from a text field:\n\n![onionize GUI screenshot](docs/onionize-dir-2.png)\n\nYou can find more screenshots in `docs`.\n\nIdentity passphrase\n-------------------\n\nYou may also specify a passphrase from which onion service identity key\nwill be derived. Thus you can preserve same .onion address across setups.\n\nIdentity passphrase can be specified on `stdin` by setting `-p` flag in CLI\nor in corresponding field in GUI.\n\nPrivate key file\n----------------\nOne may load a typical onion private key from a file:\n```\n$ onionize -id-key onion.key /path/to/the-thing\n```\n\nTLS\n---\nYou can specify [tlspin](https://github.com/nogoegst/tlspin) private key\nvia `-tlspin-key` flag.\n\nWhen running with `-local` flag TLS enabled by default via tlspin with\na generated ephemeral key.\n\nOne can also specifying paths to X.509 key and certificate:\n\n```\n$ onionize -tls-cert server.crt -tls-key server.key /path/to/the-thing\n```\n\nTo disabe TLS run `onionize` with `-no-tls`.\n\nThanks\n------\n\nI want to thank Micah Lee for [OnionShare tool](https://github.com/micahflee/onionshare)\nby which onionize was inspired.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funkaktus%2Fonionize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funkaktus%2Fonionize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funkaktus%2Fonionize/lists"}