{"id":35174295,"url":"https://github.com/skygenesisenterprise/tor-template","last_synced_at":"2026-04-29T04:02:30.420Z","repository":{"id":309924201,"uuid":"1038046366","full_name":"skygenesisenterprise/tor-template","owner":"skygenesisenterprise","description":"The Github Public Tor Template Ressource","archived":false,"fork":false,"pushed_at":"2025-08-14T15:11:15.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T16:30:05.248Z","etag":null,"topics":["github","public","shell","template","teraform","tor"],"latest_commit_sha":null,"homepage":"https://skygenesisenterprise.com","language":"Shell","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/skygenesisenterprise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-14T14:30:56.000Z","updated_at":"2025-08-14T15:36:06.000Z","dependencies_parsed_at":"2025-08-14T16:40:17.763Z","dependency_job_id":null,"html_url":"https://github.com/skygenesisenterprise/tor-template","commit_stats":null,"previous_names":["skygenesisenterprise/tor-template"],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/skygenesisenterprise/tor-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Ftor-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Ftor-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Ftor-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Ftor-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skygenesisenterprise","download_url":"https://codeload.github.com/skygenesisenterprise/tor-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Ftor-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28104899,"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","status":"online","status_checked_at":"2025-12-28T02:00:05.685Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github","public","shell","template","teraform","tor"],"created_at":"2025-12-28T21:51:26.725Z","updated_at":"2025-12-28T21:51:28.160Z","avatar_url":"https://github.com/skygenesisenterprise.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tor Relay Server Template\n\nA comprehensive template for deploying a Tor relay server with proper security configurations and monitoring.\n\n## ⚠️ Important Legal Notice\n\nThis template is designed for deploying **Tor relay servers** (middle relays and guard relays) for legitimate privacy and security purposes. \n\n**Legal Considerations:**\n- Ensure Tor relay operation is legal in your jurisdiction\n- This template is for educational and legitimate privacy purposes only\n- Review your local laws and ISP terms of service before deployment\n- Consider liability and abuse handling procedures\n\n**Recommended Use Cases:**\n- Supporting internet freedom and privacy\n- Educational purposes and research\n- Contributing to the Tor network's diversity and capacity\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- Linux server (Ubuntu 20.04+ recommended)\n- Root or sudo access\n- Stable internet connection\n- At least 1GB RAM and 10GB storage\n- Open firewall ports (9001, 9030)\n\n### One-Click Deployment Options\n\n#### Option 1: Docker Deployment\n```bash\ngit clone hhttps://github.com/skygenesisenterprise/tor-template.git\ncd tor-template\nchmod +x scripts/deploy-docker.sh\n./scripts/deploy-docker.sh\n```\n\n#### Option 2: Native Installation\n```bash\ngit clone https://github.com/skygenesisenterprise/tor-template.git\ncd tor-template\nchmod +x scripts/install.sh\nsudo ./scripts/install.sh\n```\n\n#### Option 3: Cloud Deployment\n- [Deploy to DigitalOcean](./docs/deploy-digitalocean.md)\n- [Deploy to AWS](./docs/deploy-aws.md)\n- [Deploy to Linode](./docs/deploy-linode.md)\n\n## 📋 Features\n\n- ✅ Automated Tor installation and configuration\n- ✅ Security hardening scripts\n- ✅ Monitoring and logging setup\n- ✅ Automatic updates configuration\n- ✅ Firewall configuration\n- ✅ Performance optimization\n- ✅ Health check scripts\n- ✅ Backup and restore procedures\n- ✅ Multiple deployment options\n\n## 📁 Repository Structure\n\n```\ntor-relay-template/\n├── README.md\n├── LICENSE\n├── .github/\n│   └── workflows/\n│       └── security-scan.yml\n├── config/\n│   ├── torrc.template\n│   ├── tor-relay.service\n│   └── logrotate.conf\n├── scripts/\n│   ├── install.sh\n│   ├── deploy-docker.sh\n│   ├── update.sh\n│   ├── monitor.sh\n│   └── backup.sh\n├── docker/\n│   ├── Dockerfile\n│   └── docker-compose.yml\n├── monitoring/\n│   ├── prometheus.yml\n│   └── grafana-dashboard.json\n├── docs/\n│   ├── configuration.md\n│   ├── security.md\n│   ├── troubleshooting.md\n│   └── deployment/\n└── terraform/\n    ├── aws/\n    ├── digitalocean/\n    └── linode/\n```\n\n## 🔧 Configuration\n\n### Basic Configuration\n\n1. **Edit the configuration file:**\n```bash\ncp config/torrc.template config/torrc\nnano config/torrc\n```\n\n2. **Set your relay information:**\n```\nNickname YourRelayName\nContactInfo your-email@example.com\nORPort 9001\nDirPort 9030\nExitPolicy reject *:*\n```\n\n### Advanced Configuration\n\nSee [Configuration Guide](./docs/configuration.md) for detailed setup options.\n\n## 🛡️ Security\n\nThis template includes several security measures:\n\n- Automatic security updates\n- Firewall configuration (UFW)\n- Fail2ban integration\n- Log monitoring\n- Resource limits\n- Network isolation (Docker)\n\nFor detailed security information, see [Security Guide](./docs/security.md).\n\n## 📊 Monitoring\n\nThe template includes monitoring setup with:\n\n- Tor relay statistics\n- System resource monitoring\n- Log analysis\n- Alert notifications\n- Grafana dashboards\n\nAccess monitoring at: `http://{your-server-ip}:3000`\n\n## 🔄 Maintenance\n\n### Regular Updates\n```bash\n./scripts/update.sh\n```\n\n### Health Checks\n```bash\n./scripts/monitor.sh\n```\n\n### Backup Configuration\n```bash\n./scripts/backup.sh\n```\n\n## 📚 Documentation\n\n- [Configuration Guide](./docs/configuration.md)\n- [Security Best Practices](./docs/security.md)\n- [Troubleshooting](./docs/troubleshooting.md)\n- [Deployment Guides](./docs/deployment/)\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly\n5. Submit a pull request\n\n## 🆘 Support\n\n- [Tor Project Documentation](https://community.torproject.org/relay/)\n- [Issue Tracker](https://github.com/skygenesisenterprise/tor-template/issues)\n- [Community Forum](https://forum.torproject.net/)\n\n## ⚖️ Disclaimer\n\nThis software is provided \"as is\" without warranty. Users are responsible for compliance with local laws and regulations. The maintainers are not responsible for any misuse of this software.\n\n---\n\n**Remember:** Running a Tor relay helps protect privacy and freedom online. Thank you for contributing to internet freedom! 🌐\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskygenesisenterprise%2Ftor-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskygenesisenterprise%2Ftor-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskygenesisenterprise%2Ftor-template/lists"}