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

  • solrize@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    23 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.

    • whoareu@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 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