This commit is contained in:
commit
7f29a1f315
3 changed files with 119 additions and 0 deletions
21
.forgejo/workflows/deploy.yaml
Normal file
21
.forgejo/workflows/deploy.yaml
Normal file
|
|
@ -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
|
||||||
98
index.html
Normal file
98
index.html
Normal file
|
|
@ -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>
|
||||||
BIN
torlogo.png
Normal file
BIN
torlogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 167 KiB |
Loading…
Add table
Add a link
Reference in a new issue