here is the script that kinda does what you want: https://gist.github.com/tusharhero/1635bdcaf616e3c310a9492d993ec17c
Why do you want to host it at all? I mean there are already a ton of fediverse servers out there you can tell Indian people to use one of those. also hosting is expensive unless you have a very good reason to do so
At first I thought about running it inside termux but then I found the SMS forwarding apk which I linked in the post so I chose the easier way.
I chose flask because it’s very easy to create APIs using flask. I also tried to make the API using Java but I couldn’t figure out how to package it and host it on my server
Good question.
It’s supposed to be used to create throwaway accounts. Or to give a number for random sites which you don’t care about.
Sorry I have chosen duckdns as a domain provider… It gives some errors sometimes
You can try to reload it a few times, it will load eventually.
it’s not like OnlyOffice is controlled by Putin or something lol
You’ll have to look at why the upstream isn’t accepting them then. I’m not familiar with azuracast.
yes you are right, I asked it in Azuracast discord server and they said I have to manually enable “reverse proxy” option.
Thank you so much for helping me <3
ok I tried to add those two in my Caddyfile:
ac.ghodawalaaman.duckdns.org {
reverse_proxy http://localhost:4000/ {
header_up X-Forwarded-Host {host}
header_up X-Forwarded-For {host}
header_up X-Real-IP {host}
}
}
here is the output of a request.
2025/04/16 15:52:17.005 WARN http.handlers.reverse_proxy aborting with incomplete response {"upstream": "localhost:4000", "duration": 0.000995717, "request": {"remote_ip": "103.250.137.61", "remote_port": "19389", "client_ip": "103.250.137.61", "proto": "HTTP/3.0", "method": "GET", "host": "ac.ghodawalaaman.duckdns.org", "uri": "/static/vite_dist/assets/Roboto-Light-DHTugVNA.woff2", "headers": {"User-Agent": ["Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"], "Sec-Fetch-Dest": ["font"], "Accept-Encoding": ["identity"], "Cookie": ["REDACTED"], "Sec-Fetch-Mode": ["cors"], "Accept": ["application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8"], "Accept-Language": ["en-US,en;q=0.5"], "X-Forwarded-For": ["ac.ghodawalaaman.duckdns.org"], "X-Real-Ip": ["ac.ghodawalaaman.duckdns.org"], "Sec-Fetch-Site": ["same-origin"], "Alt-Used": ["ac.ghodawalaaman.duckdns.org"], "X-Forwarded-Host": ["ac.ghodawalaaman.duckdns.org"], "X-Forwarded-Proto": ["https"], "Referer": ["https://ac.ghodawalaaman.duckdns.org/static/vite_dist/assets/Layout-Cv860oWs.css"]}, "tls": {"resumed": false, "version": 772, "cipher_suite": 4865, "proto": "h3", "server_name": "ac.ghodawalaaman.duckdns.org"}}, "error": "writing: H3_REQUEST_CANCELLED"}
I also tried this but it didn’t work either:
ac.ghodawalaaman.duckdns.org {
log {
output file ./azuracast.log
format json
}
reverse_proxy http://localhost:4000/ {
header_up X-Forwarded-For {request.remote}
header_up X-Real-IP {request.remote}
}
}
here is the azuracast.log: https://0x0.st/8fd7.bin
I am still very confused why it’s not working…
I think it’s Gruvbox but I could be wrong
Yeah I am behind CGNAT so I guess I have to use either Tailscale or wireguard as other users also suggested.
Thank you for the reply!
It’s not only not static It’s firewalled too! I can’t ping it from outside the network
tailscale is looking good I might try that
actually I was thinking about hosting my own fediverse service to own my data but I can’t do that without a static public IP and domain name.
It’s… weird, did you do something that accidentally deleted firefox?
I don’t have a beefy machine to play game on, so installing Bazzite is useless for me.
@remindme@mstdn.social 24 hours “remind me”
you can use TTS software which would be much easier imo.
Yeah that’s a great idea! I will try to contact them. Thank you for the feedback.
I have just one question do they also provide mentorship for beginners to learn?