kionite231

joined 2 years ago
[–] kionite231@lemmy.ca 1 points 3 weeks ago (1 children)

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?

 

Hello folks,

I have a mini PC which I use to host my website and some lightweight services. The mini PC idles at ~10% cpu usage. I was wondering if I can contribute 90% of CPU to the community. Thinking that maybe I can host other people's websites for free.

How can I do that? Should I host some fediverse software? What do I do with this much processing power?

Thanks in advance!

[–] kionite231@lemmy.ca 2 points 1 month ago (1 children)
[–] kionite231@lemmy.ca 5 points 1 month ago (2 children)

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

[–] kionite231@lemmy.ca 1 points 1 month ago

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

[–] kionite231@lemmy.ca -2 points 1 month ago (1 children)

Good question.

  • I am not GreyTechno. I have just used an apk made by them to forward messages to my server.
  • I got it when I went for a tour, I had to get an SIM from there because the SIM I have doesn't work there. However since I am back home I no longer need that SIM so I thought let's do some experiments with it.
  • basically to create throwaway accounts like we use temp mails.
[–] kionite231@lemmy.ca 1 points 1 month ago (1 children)

It's supposed to be used to create throwaway accounts. Or to give a number for random sites which you don't care about.

[–] kionite231@lemmy.ca 3 points 1 month ago

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.

17
Hosted a Temp SMS service written in Python (sms.ghodawalaaman.duckdns.org)
submitted 1 month ago* (last edited 1 month ago) by kionite231@lemmy.ca to c/selfhosted@lemmy.world
 

( this post may seems like it's more related to programming than selfhosting but I wasn't sure so here we go )

Hello folks,

I made a Temp SMS service using Python. I used flask for serving the API and sms-forwarder app ( https://github.com/GreyTechno/sms_forwarder ) to forward messages from a phone to the server.

there is just two end points one is where you get the home page which displays all the incoming messages and another one is used to get the message sent from the phone. it's pretty simple actually...

tell me what you think about it :)

Edit: the service is down since someone is DOSing the service... I will quickly try to block them.

[–] kionite231@lemmy.ca 3 points 1 month ago

it's not like OnlyOffice is controlled by Putin or something lol

 

Hello folks,

TIL that how can you bootstrap my DHT nodes before downloading a torrent.

Find a good famous software from fosstorrent and seed it for some while and then when you seed it for some time, your DHT count will be increased. now you can easily download a torrent by just providing the hash of the torrent ( assuming some DHT node knows where the file of the given hash is ).

hope you learned something new today, if you have a good idea than this feel free to add it in the comment section :)

 

Hello folks,

I got my static IP and I am very happy now, I have been hosting a lot of services since I got the static IP, however I still have to host a fediverse service however it's not that easy to host any fediverse service, I tried to host GoToSocial but the devs said they don't support Podman and my server is podman only ( I tried installing docker but it was failing for some reason so I gave up and used podman instead of docker).

these are the services I am currently hosting ( basically all the easy services which you can host with just "docker compose up -d" :p ):

feel free to suggest some other cool services which I can host :D

[–] kionite231@lemmy.ca 4 points 2 months ago (1 children)

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

[–] kionite231@lemmy.ca 1 points 2 months ago (3 children)

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...

 

Hello,

I have hosted azuracast in my minipc and I want to forward the IP of the song requester, right now it's only taking one IP the "podman container ip" so basically Azuracast thinks that every request is coming from the IP address 10.89.1.1 which is the IP of interface created by podman.

57: podman3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 0e:fa:6d:33:b9:39 brd ff:ff:ff:ff:ff:ff
    inet 10.89.1.1/24 brd 10.89.1.255 scope global podman3
       valid_lft forever preferred_lft forever
    inet6 fe80::b876:abff:fede:c3ef/64 scope link
       valid_lft forever preferred_lft forever

also I am explicitly forwarding the IP using X-Forwarded-Host.

reverse_proxy http://localhost:4000/ {
		header_up X-Forwarded-Host {host}
	}

I don't know how to resolve it, any help would be appreciated :)

Edit: I didn't had to so any of this stuff, what I should have done is just enabling "reverse proxy" option in Azuracast since Caddy forwards those headers by default unlike nginx. Thank you very much for helping me <3

[–] kionite231@lemmy.ca 2 points 4 months ago

I think it's Gruvbox but I could be wrong

27
submitted 4 months ago* (last edited 4 months ago) by kionite231@lemmy.ca to c/selfhosted@lemmy.world
 

Hello,

I don't know if it's just me or duckdns.org is actually down for everyone else. I can't nslookup my domain name also can't access my website.

Edit: It's back on :)

 

Greetings,

my current ISP refuses to provide me a static IP and they also blocks incoming connection to my ipv6 so I can't host services on just ipv6 too. I will be changing my ISP when the plan expires.

without public IP I can host my own IRC bouncer but I would like to know what else can I self host? Thanks in advance!

 

Hello,

first I installed Gentoo with glibc and it worked fine, I got sway up and running but after some time I got bored and wanted something new. so I decided to go with Arch with rEFInd bootloader but I couldn't make it work. Arch dropped me into a rescue shell. so I went back to Gentoo but this time with musl and this time I tried Hyprland on Gentoo. there were 133 packages to install for Hyprland, so I went for installing those packages but the build failed probably because using musl. now I thought I just pick that's easy to setup and I went with Debian and it got installed successfully. so yeah, right now I am using Debian after the back and forth between Arch and Gentoo.

sadly I pissed of some Gentoo devs on IRC #gentoo :(

maybe it was my fault I shouldn't have distrohopped when Gentoo was installed succesfully and working fine.

 

hello,

I don't know if this is the right place to ask this question but could someone explain me how a UEFI system boots, I couldn't find a guide online. I want to know because I don't understand certain GRUB commands and how it get installed.

I just copy paste commands from Arch wiki and it just magically works without me knowing anything about it.

all the different distros use different grub command parameter and it's so confusing. eg, Arch and Gentoo.

Arch command: grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB Gentoo command: grub-install --efi-directory=/efi

why both command is different? exactly where does grub gets installed?

sorry if this is a naive question but i really don't understnad GRUB.

 

Hello,

just wanted to share the idea. I was thinking about installing Android on Laptop just like it's already installed on mobile. I know it's possible using Waydroid but It would be nice If we have a distro that provides an iso to install stock Android(or Lineage OS) so people could easily install Android on their Laptops. I don't know if anyone has already tried it or not.

Edit: Thank you guys for the suggestions I am going for BlissOS and PrimeOS :)

view more: next ›