this post was submitted on 14 May 2025
12 points (87.5% liked)

Selfhosted

46672 readers
991 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
12
Hosted a Temp SMS service written in Python (sms.ghodawalaaman.duckdns.org)
submitted 5 hours ago* (last edited 4 hours 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.

top 11 comments
sorted by: hot top controversial new old
[–] madame_gaymes@programming.dev 5 points 4 hours ago* (last edited 4 hours ago) (1 children)

I'm a little confused:

  • Are you GreyTechno? Is the repo you put in the post for the page at the post link? The page looks nothing like the GIF in the README, and it doesn't talk about the webpage at all in the repo. If you're not GreyTechno, what exactly did you do here and where are your python scripts for the tool?
  • Where does the phone number come from?
  • What's the use case, exactly?
[–] kionite231@lemmy.ca 0 points 4 hours 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.
[–] madame_gaymes@programming.dev 1 points 4 hours ago* (last edited 3 hours ago)

More confusion. How often do you change your username? Few minutes ago it was "whoareu", now its "kionite231" (eta: I guess it's lemmy. Your username changes every time I refresh the page between these two)

Where's the code or info on pieces of the puzzle that you made and are trying to showcase here?

[–] philophilsaurus@sh.itjust.works 2 points 5 hours ago (1 children)

What’s the use case for this?

[–] kionite231@lemmy.ca 2 points 4 hours 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.

[–] philophilsaurus@sh.itjust.works 1 points 4 hours ago

Oh okay, I think I misunderstood the direction that the texts were flowing. I could see this being very useful then.

[–] oldfart@lemm.ee 2 points 5 hours ago (1 children)

Nice idea but: ERR_NAME_NOT_RESOLVED

[–] kionite231@lemmy.ca 2 points 5 hours 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.

[–] solrize@lemmy.ml 1 points 5 hours ago (1 children)

Nice. It appears to run on a phone under termux, rather than being a server app. Good to know about either way. Why flask? That's a web server thing, I thought.

[–] kionite231@lemmy.ca 1 points 4 hours 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