summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-02-05 20:46:38 +0200
committertoufic ar <contact@toufy.me>2026-02-05 20:46:38 +0200
commit7f29a1f3155541f7e72c5ebfc5db8a030fd61a81 (patch)
treef67d7763d0bfe1b58314bace92aaecd5c3c91451
downloadtor-snowflake-7f29a1f3155541f7e72c5ebfc5db8a030fd61a81.tar.gz
tor-snowflake-7f29a1f3155541f7e72c5ebfc5db8a030fd61a81.zip
initial commit
-rw-r--r--.forgejo/workflows/deploy.yaml21
-rw-r--r--index.html98
-rw-r--r--torlogo.pngbin0 -> 170914 bytes
3 files changed, 119 insertions, 0 deletions
diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml
new file mode 100644
index 0000000..9e93da4
--- /dev/null
+++ b/.forgejo/workflows/deploy.yaml
@@ -0,0 +1,21 @@
+on:
+ push:
+ branches:
+ - main
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout repo
+ uses: actions/checkout@v6
+ - name: install rsync
+ run: |
+ apt update
+ apt install rsync -y
+ - name: add ssh key
+ uses: actions/ssh-setup@v1
+ with:
+ ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
+ add-hosts: "toufy.me"
+ - name: sync repo
+ run: rsync -az . root@toufy.me:/var/www/tor.toufy.me
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..eb71f91
--- /dev/null
+++ b/index.html
@@ -0,0 +1,98 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta
+ name="viewport"
+ content="width=device-width, initial-scale=1"
+ />
+ <link
+ rel="shortcut icon"
+ href="torlogo.png"
+ type="image/png"
+ />
+ <title>tor.toufy.me</title>
+ <style
+ type="text/css"
+ media="all"
+ >
+ :root {
+ --background: #38383d;
+ --text: #ececec;
+ --primary: #cc80ff;
+ --accent: #68b030;
+ ::selection {
+ background-color: var(--primary);
+ color: var(--background);
+ }
+ background-color: var(--background);
+ color: var(--text);
+ text-align: center;
+ a {
+ color: var(--primary);
+ }
+ }
+ </style>
+ </head>
+ <body style="padding: 5px">
+ <div
+ style="
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ place-content: center;
+ place-items: center;
+ "
+ >
+ <img
+ src="torlogo.png"
+ alt="the onion from TOR project logo"
+ style="max-width: 100px"
+ />
+ <h1 style="color: var(--primary)">tor.toufy.me</h1>
+ </div>
+
+ <div
+ style="
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ place-content: center;
+ place-items: center;
+ "
+ >
+ <p>
+ <a
+ href="https://git.toufy.me/toufy/adonis"
+ target="_blank"
+ >adonis</a
+ >
+ runs a tor relay node and a snowflake proxy.<br />
+ this helps people stay anonymous and circumvent censorship.
+ </p>
+ </div>
+
+ <div
+ style="
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ place-items: center;
+ place-content: center;
+ "
+ >
+ <p style="font-weight: bolder">
+ you can help by turning on the toggle below and keeping this tab
+ open.<br />
+ this will spin up your own snowflake.
+ </p>
+ <iframe
+ src="https://snowflake.torproject.org/embed.html"
+ width="320"
+ height="240"
+ frameborder="0"
+ scrolling="no"
+ ></iframe>
+ </div>
+ </body>
+</html>
diff --git a/torlogo.png b/torlogo.png
new file mode 100644
index 0000000..f4b47a5
--- /dev/null
+++ b/torlogo.png
Binary files differ