Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/3xploitguy/torwebsite
A container to host website on Tor hidden service with .onion address.
https://github.com/3xploitguy/torwebsite
container docker hosting tor torbrowser torwebsite
Last synced: about 1 month ago
JSON representation
A container to host website on Tor hidden service with .onion address.
- Host: GitHub
- URL: https://github.com/3xploitguy/torwebsite
- Owner: 3xploitGuy
- License: gpl-3.0
- Created: 2021-10-09T15:01:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-09T15:48:33.000Z (about 3 years ago)
- Last Synced: 2023-03-10T05:11:06.134Z (over 1 year ago)
- Topics: container, docker, hosting, tor, torbrowser, torwebsite
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/sandeshy/torwebsite
- Size: 21.5 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![tor-logo](https://user-images.githubusercontent.com/46316908/134797723-e3b5c0fc-c6d8-49a6-b685-f3d869edf141.png)](https://torproject.org/)
# What is TorWebsite?
A container to host website on Tor hidden service with .onion address. Tor is free software and an open network that helps you defend against traffic analysis, enabling anonymous communication. ".onion" is a special-use top level domain name designating a "hidden service" on the Dark Web, reachable via the Tor network/accessed via the Tor browser.
### Container Image: [View on DockerHub](https://hub.docker.com/r/sandeshy/torwebsite)
# How to use this image
★ **Run container:**
```sh
docker container run -it --name sandeshy/torwebsite:latest
```![container-start-image](https://user-images.githubusercontent.com/46316908/134805153-b13d1602-64f0-4d53-a187-de5c2bc22c2d.png)
> Note: To exit from running container without stopping press ctrl+p+q.
★ **Check your .onion addresss**
```sh
torhost
```![torhost-cmd-image](https://user-images.githubusercontent.com/46316908/134805221-e11067e8-ec7e-4fc0-bbde-fe99389bac10.png)
★ **Open the address in [tor browser](https://www.torproject.org/download/):**
![tor-browser-image](https://user-images.githubusercontent.com/46316908/134805825-b6b669e0-7880-40ee-9025-6e4c675f6f10.png)
★ **Attach volume, overrides default HTML template:**
```sh
docker container run -it --name \
-v :/var/www/hidden_service \
sandeshy/torwebsite:latest
```### Configs:
\* Tor config - /etc/tor/torrc \* Nginx config - /etc/nginx/http.d/nginx.conf
### Logs:
/var/log/nginx
## Gotcha/Q&A
**Will I get new .onion address each time?**
Onion address is generated for each new container, if you are using the same container it won't change ever.**Are any ports exposed?**
No, tor is running inside container which connects to Network using Virtual Ethernet.**How much time it takes for website to get live?**
5-8 seconds with normal Internet Speed. If your connectivity is weak, try waiting for few mins till Tor picks some relay as introduction point and adds new entry in Distributed Hash Table (DHT). More info [here](https://tor.stackexchange.com/questions/672/how-do-onion-addresses-exactly-work/674#674).**Underlying services ?**
```
rc-service tor status
rc-service nginx status
```## Disclaimer
TorWebsite is created to make hosting website on Tor easy and it's not responsible for any misuse or illegal purposes.
Feel free to discuss any issue or new feature at [GitHub Discussions](https://github.com/3xploitGuy/torwebsite/discussions).
## License
TorWebsite is under the terms of the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html).