diff options
| -rw-r--r-- | git.html | 42 | ||||
| -rw-r--r-- | index.html | 2 |
2 files changed, 44 insertions, 0 deletions
| diff --git a/git.html b/git.html new file mode 100644 index 0000000..7a2033b --- /dev/null +++ b/git.html | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | <!doctype html> | ||
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="viewport" content="width-device-width, inital-scale=1.0"> | ||
| 6 | <title>0druid.cc - git</title> | ||
| 7 | <link rel="stylesheet" href="style.css"> | ||
| 8 | </head> | ||
| 9 | <body> | ||
| 10 | <h1>git.0druid.cc</h1> | ||
| 11 | <p><a href="/">homepage</a>. <a href="/git.html">git</a>.</p> | ||
| 12 | <p>this is my git forge. its invite only, accounts are made by me, and everything is public to clone but only people with accounts can push. if you want an account, <a href="mailto:r.ustydruid520@proton.me">email me</a> with your ssh pubkey.</p> | ||
| 13 | <p>browsing happens at <a href="https://git.0druid.cc/">git.0druid.cc</a>, with the usual stuff: commits, tree, refs, diffs n such.</p> | ||
| 14 | <p>clone over https (read only):</p> | ||
| 15 | <pre>git clone https://git.0druid.cc/druid520/site.git</pre> | ||
| 16 | <p>clone and push over ssh (accounts only):</p> | ||
| 17 | <pre>git clone git:druid520/site.git</pre> | ||
| 18 | <p>accounts get ssh commands too:</p> | ||
| 19 | <pre>ssh git mk <repo> | ||
| 20 | ssh git desc <repo> "description" | ||
| 21 | ssh git perms <repo> +WRITERS <user> | ||
| 22 | ssh git ls</pre> | ||
| 23 | <p>put this in ~/.ssh/config:</p> | ||
| 24 | <pre>Host serv | ||
| 25 | HostName 0druid.cc | ||
| 26 | User root | ||
| 27 | Port 3447 | ||
| 28 | IdentityFile ~/.ssh/serv | ||
| 29 | ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p" | ||
| 30 | |||
| 31 | Host git | ||
| 32 | HostName git.0druid.cc | ||
| 33 | User git | ||
| 34 | Port 3447 | ||
| 35 | IdentityFile ~/.ssh/druid | ||
| 36 | ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"</pre> | ||
| 37 | <p>the serv host is the server itself, it knocks a secret port before ssh answers so scanners see nothing. the git host is the same machine, same deal.</p> | ||
| 38 | <p>profiles: push a repo named the same as your username (like druid520/druid520) with a profile.png and a readme.djot in it, first line like this:</p> | ||
| 39 | <pre>{desc="hi" location="somewhere" work="stuff"}</pre> | ||
| 40 | <p>and the rest of the file is your page.</p> | ||
| 41 | </body> | ||
| 42 | </html> | ||
| diff --git a/index.html b/index.html index 41cc909..ac10033 100644 --- a/index.html +++ b/index.html | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | </head> | 8 | </head> |
| 9 | <body> | 9 | <body> |
| 10 | <h1>0druid.cc</h1> | 10 | <h1>0druid.cc</h1> |
| 11 | <p><a href="/">homepage</a>.</p> | ||
| 12 | <p><a href="/git.html">git</a>.</p> | ||
| 11 | <p>interdimensional salutations. i guess this is my website, im druid520 from usa/az.</p> | 13 | <p>interdimensional salutations. i guess this is my website, im druid520 from usa/az.</p> |
| 12 | <p>im a amateur radio/computer enthusiast and amateur "dev". i suppose i make stuff sometimes.</p> | 14 | <p>im a amateur radio/computer enthusiast and amateur "dev". i suppose i make stuff sometimes.</p> |
| 13 | <p>i believe in a *ware philosophy thats kinda extremist suckless+cat-v+floss+some custom stuff.</p> | 15 | <p>i believe in a *ware philosophy thats kinda extremist suckless+cat-v+floss+some custom stuff.</p> |
