From 912bea6c58fed33389991412d7c1445431b55959 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 11 Mar 2023 22:45:22 +0400 Subject: [PATCH] Replace arav.top with arav.su. --- LICENSE | 2 +- cmd/dwelling-home/main.go | 4 ++-- internal/http/handlers.go | 18 +++++++-------- pkg/util/util.go | 10 ++++----- web/articles/setting_up_a_mail_server.md | 2 +- web/templates/about.pug | 28 ++++++++++++------------ web/templates/base.pug | 2 +- web/templates/index.pug | 10 ++++----- web/web.go | 2 +- 9 files changed, 39 insertions(+), 39 deletions(-) diff --git a/LICENSE b/LICENSE index 826701c..7482955 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2022 Alexander "Arav" Andreev +Copyright (c) 2023 Alexander "Arav" Andreev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/cmd/dwelling-home/main.go b/cmd/dwelling-home/main.go index 13a4cb6..f33bbd0 100644 --- a/cmd/dwelling-home/main.go +++ b/cmd/dwelling-home/main.go @@ -11,7 +11,7 @@ import ( "syscall" "time" - "git.arav.top/Arav/dwelling-home/internal/http" + "git.arav.su/Arav/dwelling-home/internal/http" ) var version string @@ -27,7 +27,7 @@ func main() { flag.Parse() if *showVersion { - fmt.Println("dwelling-home Ver.", version, "\nCopyright (c) 2023 Alexander \"Arav\" Andreev ") + fmt.Println("dwelling-home Ver.", version, "\nCopyright (c) 2023 Alexander \"Arav\" Andreev ") return } diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 02b89d5..2ceb8a1 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -9,15 +9,15 @@ import ( "strings" "time" - "git.arav.top/Arav/dwelling-home/pkg/mindflow" - "git.arav.top/Arav/dwelling-home/pkg/servicestat" - "git.arav.top/Arav/dwelling-home/pkg/util" - "git.arav.top/Arav/dwelling-home/web" - "git.arav.top/Arav/justcaptcha/pkg/captcha" - "git.arav.top/Arav/justcaptcha/pkg/captcha/inmemdb" - "git.arav.top/Arav/justcaptcha/pkg/dwcaptcha" - gbsqlite "git.arav.top/Arav/justguestbook/database/sqlite" - "git.arav.top/Arav/justguestbook/guestbook" + "git.arav.su/Arav/dwelling-home/pkg/mindflow" + "git.arav.su/Arav/dwelling-home/pkg/servicestat" + "git.arav.su/Arav/dwelling-home/pkg/util" + "git.arav.su/Arav/dwelling-home/web" + "git.arav.su/Arav/justcaptcha/pkg/captcha" + "git.arav.su/Arav/justcaptcha/pkg/captcha/inmemdb" + "git.arav.su/Arav/justcaptcha/pkg/dwcaptcha" + gbsqlite "git.arav.su/Arav/justguestbook/database/sqlite" + "git.arav.su/Arav/justguestbook/guestbook" ) type Handlers struct { diff --git a/pkg/util/util.go b/pkg/util/util.go index 5912e5c..a221169 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -46,15 +46,15 @@ func GetServiceByHost(host, service string) string { } else { switch service { case "radio": - return "https://radio.arav.top" + return "https://radio.arav.su" case "files": - return "https://files.arav.top" + return "https://files.arav.su" case "upload": - return "https://upload.arav.top" + return "https://upload.arav.su" case "git": - return "https://git.arav.top" + return "https://git.arav.su" default: - return "https://arav.top" + return "https://arav.su" } } } diff --git a/web/articles/setting_up_a_mail_server.md b/web/articles/setting_up_a_mail_server.md index f5b1dba..638c7a7 100644 --- a/web/articles/setting_up_a_mail_server.md +++ b/web/articles/setting_up_a_mail_server.md @@ -61,7 +61,7 @@ Many servers will reject mail from a dynamic IP-address, so a static address is If you have a static address then in Spamhaus you can submit your address for deletion. -Also, while not stated by RFCs, some servers will still reject your mail if your IP-address doesn't have a PTR DNS record set, and some will expect a PTR record to be a hostname of your server, like mail.example.org, or like my the.arav.top. +Also, while not stated by RFCs, some servers will still reject your mail if your IP-address doesn't have a PTR DNS record set, and some will expect a PTR record to be a hostname of your server, like mail.example.org, or like my the.arav.su. There is another problem known as not trusted top level domain, like mine .top domain. :) Because of how cheap it is, it is popular among spammers. diff --git a/web/templates/about.pug b/web/templates/about.pug index 7e4d0a1..0354d64 100755 --- a/web/templates/about.pug +++ b/web/templates/about.pug @@ -102,7 +102,7 @@ block content div +isServiceUp("Internet-radio", "liquidsoap") p - a(href='https://radio.arav.top') radio.arav.top + a(href='https://radio.arav.su') radio.arav.su | . a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') #[s onion] | . @@ -112,7 +112,7 @@ block content div +isServiceUp("File share", "dwelling-files") p - a(href='https://files.arav.top') files.arav.top + a(href='https://files.arav.su') files.arav.su | . a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') #[s onion] | . @@ -121,7 +121,7 @@ block content div +isServiceUp("File upload", "dwelling-upload") p - a(href='https://upload.arav.top') upload.arav.top + a(href='https://upload.arav.su') upload.arav.su | . a(href='http://.onion') #[s onion] | . @@ -130,7 +130,7 @@ block content div +isServiceUp("Git", "gitea") p - a(href='https://git.arav.top') git.arav.top + a(href='https://git.arav.su') git.arav.su | . a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') #[s onion] | . @@ -159,16 +159,16 @@ block content p Prosody. div +isServiceUp("Matrix", "synapse.app") - p #[a(href='https://the.arav.top') the.arav.top] + p #[a(href='https://the.arav.su') the.arav.su] p Synapse. p #[b Taken down because has no use.] div +isServiceUp("Mumble", "murmurd") - p #[a(href="mumble://arav.top") mumble://arav.top] + p #[a(href="mumble://arav.su") mumble://arav.su] p It's private, but you still can join an entrance room where you can only write messages. A certificate is necessary. div +isServiceUp("TeamSpeak 3", "ts3server") - p #[a(href="ts3server://arav.top") ts3server://arav.top] + p #[a(href="ts3server://arav.su") ts3server://arav.su] p Same as with Mumble applies to TS. It's security level is set to 29, so is yours identifier's level should be at least that high. div h3 Game servers @@ -181,11 +181,11 @@ block content div.columns div +isServiceUp("Minecraft", "forge-1.16.5") - p.highlighted arav.top:25565 + p.highlighted arav.su:25565 p Version is 1.16.5 currently. I homebrew clients for it. Here is #[a(href=files_site+"/games/minecraft/aravsdwelling-minecraft-1.16.5.exe") an installer for Windows] (412MiB) I make with NSIS. And a #[a(href=files_site+"/games/minecraft/aravsdwelling-minecraft-1.16.5.tar.gz") TAR.GZ archive] (424 MiB) that is for both Windows and Linux. You'll need to set a PLAYER and MC_DIR variables in scripts. And change JVM_PARAMS to your preferences (-Xmx usually needs to be adjusted). div +isServiceUp("Starbound", "starbound_server") - p.highlighted arav.top:21065 + p.highlighted arav.su:21065 p Server is using a Frackin' Universe mod. p Don't forget to set “Allow assets mismatch” option that you can find on the first page of the “Options” menu. p Access is restricted using accounts. Contact me if you want to play here, you'll need to give me a nickname and a password. @@ -194,11 +194,11 @@ block content p Server is listed in a server list as “Arav's dwelling / Avorion”. Whitelist is enabled. Bring your SteamID64 if you want to play here. div +isServiceUp("Project Zomboid", "ProjectZomboid") - p.highlighted arav.top:16261 + p.highlighted arav.su:16261 p Server is listed as “Arav's dwelling / Project Zomboid”. Whitelist is enabled. div +isServiceUp("Don't Starve Together", "dontstarve_dedicated_server_nullrenderer_x64") - p.highlighted arav.top:10899 + p.highlighted arav.su:10899 p Server is listed as “Arav's dwelling / Don't Starve Together”. section#servers-inner-services h2 Inner services @@ -230,10 +230,10 @@ block content p For LAN I use “home.arpa” special-use domain introduced by RFC 8375. And for uniqueness “arav.home.arpa” specifically. section#contacts h2 Contacts - span E-Mail: #[a(href="mailto:me@arav.top" title='May not be able to reply due to being blacklisted because of residental dynamic IP.') me@arav.top] - span Jabber: #[a(href="xmpp://arav@arav.top") arav@arav.top] + span E-Mail: #[a(href="mailto:me@arav.su" title='May not be able to reply due to being blacklisted because of residental dynamic IP.') me@arav.su] + span Jabber: #[a(href="xmpp://arav@arav.su") arav@arav.su] span - s Matrix: #[a(href="https://matrix.to/#/@arav:arav.top") @arav:arav.top] + s Matrix: #[a(href="https://matrix.to/#/@arav:arav.su") @arav:arav.su] br span | PGP key: #[a(href="~arav/68959406BDEDC57682C09FA60388CC8FAA51063F.asc") 6895 9406 BDED C576 82C0 9FA6 0388 CC8F AA51 063F] (available through #[a(href="https://wiki.gnupg.org/WKD" rel="nofollow noreferrer") Web Key Directory]) diff --git a/web/templates/base.pug b/web/templates/base.pug index b20593b..4dce0d9 100755 --- a/web/templates/base.pug +++ b/web/templates/base.pug @@ -22,4 +22,4 @@ html(lang='en') footer a(href='/rss.xml' title="Stay up to date on what's going on.") RSS feed br - | 2017—2023 Arav <#[a(href='mailto:me@arav.top') me@arav.top]> + | 2017—2023 Arav <#[a(href='mailto:me@arav.su') me@arav.su]> diff --git a/web/templates/index.pug b/web/templates/index.pug index d3aa65a..ea93f2f 100755 --- a/web/templates/index.pug +++ b/web/templates/index.pug @@ -16,7 +16,7 @@ block content :go:func Index(title string) section#services span - a(href='https://arav.top') arav.top + a(href='https://arav.su') arav.su | . a(href='http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion') #[s onion] | . @@ -27,7 +27,7 @@ block content a(href='https://arav.neocities.org') arav.neocities.org br span - a(href='https://radio.arav.top') radio + a(href='https://radio.arav.su') radio | . a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') #[s onion] | . @@ -36,7 +36,7 @@ block content a(href='http://radio.arav.i2p') i2p sup #[a(href="http://radio.arav.i2p/?i2paddresshelper=NfCKBu9vjLFiBMEPQGiZT9AzGlhkKHzYrKM66FL-ESeDbnYUY--NzukO9UA28s3WThhDQVge2TmyfYsaZiUw~AjuLsykxS13pebs7lkAVY1jm77La-eFFIAQ22Vtd2YgS0vbhRMzuDxKkCR1vPwNax8R2o6a07xsQvvDml6UQxG4p5vt44JA2geQNvQfm8cEiSa6gNJZJSW3rWuLDg6~1Jy3D70oSVSlNfihmG4JtNV6tVBjJE2h5gUxfhYZACttpGTPM~UNF~lrSujlBQsCqdzvLswdMw~FnvpfGzJcJroeFTerRyH6oUkkDSOK7uWwl0e70vKxrIbFgJjKtjlLWlUCI5N0TnJP4Hzt2pttB~R0hSr2vVl8ky0yJEtN3rwnrJkw7q0ZIH30ngTfxsCTbolAzl6liN9Ez5YF97zDOPnVFmvQ6Eg1PyFdypQO1PiUHqF56SWhx3utGwecUS6jJCvsKIJJVEIMVcD6h7S0z1g1rqQ4jbg5UfXPwFEgFOlzBQAEAAcAAA==" title="address helper") ah] span - a(href='https://files.arav.top') files + a(href='https://files.arav.su') files | . a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') #[s onion] | . @@ -45,7 +45,7 @@ block content a(href='http://files.arav.i2p') i2p sup #[a(href="http://files.arav.i2p/?i2paddresshelper=48vtYgeVnju7B2FaR0zxUL3MQXN9QjK~Ggya45aANwm86mtpemuEkaskJmEQaFSd4FcDAFIiXHfNpfGqoupLwNmtgBmGRcuVV8xb2W~W6lM0oOhovjB37EUaMWs3AI5aIES84QOqApgwYX-ANIcwa~Kg6AbMuX8D8qnejuhBbuCffYah-TD8e~O0cnyqxzLTmxIGCyk2egdYXwanJyYFDocomIVfcqfJ0MgjIHhFQtkcb0e84bxvDzcAFIpEDrzAo4GVrFn-TCu0Lyf2ccqmVpucFl0UGhuVRxEt19KLd3PxlfwHv2lmzTZtq9CbnfaoPntUPx1sf84QnZDmrXWhVK8p3VvuPZMxjyz9KyhPjrGkO4E0oibDlvKuMsGEm-GkZsKxgXo~CrdcVtN8suAwW6rACAuk8gq2jUMBZBZ12migPZ7miHftEkOFHfgfUiKBwirrw~y9Zi261WX4-EVe2oD4pkhQOrqOKIoI-vv5z9CpQ7PKL531kgkipcBseXybBQAEAAcAAA==" title="address helper") ah] span - a(href='https://upload.arav.top') upload + a(href='https://upload.arav.su') upload | . a(href='#') #[s onion] | . @@ -54,7 +54,7 @@ block content a(href='http://upload.arav.i2p') i2p sup #[a(href="http://upload.arav.i2p/?i2paddresshelper=b5NWA2vNydWSv6~8KN4e~td2UVGkYsayKPa1PnXI87A3gsg6m978tIehHLVN4XcCfUq4aB-59hqqZicorRnHKfV3lVdx9mdhC8Bhj~bMAcwMgWoXidqZNrWMoFGzWotFsa3nWh4zsRUSfrokecC8u9Y06byfSS1siyak0J6xpsggXRqqgNF0-8ncPeqvzBxHB9NRDXWEVJGS9HSpydWl1UpjgZffcd~NZroxkSAfughHcFAn2OLKkaZRe6WqCJQfJoXTCyz4wkFmYbH1CSddWlddmWaaU7icsbQrZm3XEqKTVKvm86G6ehxmzyHqCumc4GOWswcP0E51UQVOv-WA8R6SWQAj6ZnZhnCoCNFFEfW2lBiDmTnLJbfm-C-AdI6G1~dQ1~3FCH6wXWy-2DebpyoVVt9epzU7l4l2MVeaOUahbf6wcol1UbxPoR0XlGCXDe9700TYePjtpOU9vNkk2B1dQiZ1usgwseYuO26cRogSvbi8poz4BlCNO733HR1XBQAEAAcAAA==" title="address helper") ah ] span - a(href='https://git.arav.top') git + a(href='https://git.arav.su') git | . a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') #[s onion] | . diff --git a/web/web.go b/web/web.go index 7792e1f..6859a22 100644 --- a/web/web.go +++ b/web/web.go @@ -5,7 +5,7 @@ import ( "io/fs" "net/http" - "git.arav.top/Arav/dwelling-home/pkg/article" + "git.arav.su/Arav/dwelling-home/pkg/article" "github.com/gomarkdown/markdown" )