( 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.
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?
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.
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?
What’s the use case for this?
It’s supposed to be used to create throwaway accounts. Or to give a number for random sites which you don’t care about.
Oh okay, I think I misunderstood the direction that the texts were flowing. I could see this being very useful then.
Nice idea but: ERR_NAME_NOT_RESOLVED
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.
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.
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
Python