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

  • madame_gaymes@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    6 hours ago

    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?
    • whoareuOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      6 hours ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 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?

    • whoareuOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

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

    • whoareuOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 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
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    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.

    • whoareuOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      6 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