{"id":18777615,"url":"https://github.com/salif/lemmy-onion-service","last_synced_at":"2025-12-17T01:30:17.950Z","repository":{"id":201588840,"uuid":"660997977","full_name":"salif/lemmy-onion-service","owner":"salif","description":"Self-hosted Lemmy using the Tor network","archived":false,"fork":false,"pushed_at":"2023-12-15T17:17:41.000Z","size":21,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T10:13:48.688Z","etag":null,"topics":["lemmy","lemmy-instance","lemmy-server","onion","onion-forum","onion-service","onion-sites","tor-hidden-service","tor-hidden-services","tor-onion-service"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/salif.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}},"created_at":"2023-07-01T13:16:27.000Z","updated_at":"2024-11-01T18:33:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d8f5d88-800e-41ba-a264-73752a85f3d8","html_url":"https://github.com/salif/lemmy-onion-service","commit_stats":null,"previous_names":["salif/lemmy-onion-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Flemmy-onion-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Flemmy-onion-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Flemmy-onion-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salif%2Flemmy-onion-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salif","download_url":"https://codeload.github.com/salif/lemmy-onion-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239687856,"owners_count":19680802,"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":["lemmy","lemmy-instance","lemmy-server","onion","onion-forum","onion-service","onion-sites","tor-hidden-service","tor-hidden-services","tor-onion-service"],"created_at":"2024-11-07T20:12:37.543Z","updated_at":"2025-12-17T01:30:17.886Z","avatar_url":"https://github.com/salif.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lemmy Onion Service\n\n### What is Lemmy?\n\nLemmy is a self-hosted social link aggregation and discussion platform.\n\nI made this git repo for personal use for testing purposes.\n\n## New Lemmy instance\n\nFollow these instructions to start a new Lemmy instance using Linux and Docker.\n\nNote that federation is not supported and there's no email server.\n\nClone the repo\n\n```bash\ngit clone https://github.com/salif/lemmy-onion-service.git\ncd ./lemmy-onion-service/\n```\n\nUse [mkp224o](https://community.torproject.org/onion-services/advanced/vanity-addresses/) to generate vanity address. Then run:\n\n```bash\n# mkp224o\nmkdir -p ./volumes/lemmytor/\n```\n\nchange 'example.onion' to generated address\n\n```bash\ncp example.onion/* ./volumes/lemmytor/\n```\n\n```bash\nsudo chown -R 100:100 ./volumes/lemmytor\nsudo chmod -R u+rwX,og-rwx ./volumes/lemmytor\nmkdir volumes/pictrs\nsudo chown -R 991:991 ./volumes/pictrs\n```\n\nand\n\n```bash\ncp ./templates/.env .env\n```\n\nEdit `.env` file \\(domain is in `volumes/lemmytor/hostname`\\) and run:\n\n```bash\ncp ./templates/nginx_internal.conf nginx_internal.conf\ncp ./templates/lemmy.hjson lemmy.hjson\nsource .env\nsed -i -e \"s/_SED_1/$domain/g\" lemmy.hjson\nsed -i -e \"s/_SED_2/$postgres_password/g\" lemmy.hjson\nsed -i -e \"s/_SED_1/$domain/g\" nginx_internal.conf\n```\n\nStart it:\n\n```bash\nsudo docker-compose up -d\n```\n\n## See also\n\n- [join-lemmy.org/docs/administration/install_docker.html](https://join-lemmy.org/docs/administration/install_docker.html)\n- [join-lemmy.org/docs/administration/tor_hidden_service.html](https://join-lemmy.org/docs/administration/tor_hidden_service.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalif%2Flemmy-onion-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalif%2Flemmy-onion-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalif%2Flemmy-onion-service/lists"}