-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blower.io Alternative. #44
Comments
We can start looking into some alternatives: |
That list will be great. If we can locate the best free one there that'd be awesome. I'm not looking to drop any money into this project as of now. Considering we are really the only ones who work with it/use it. |
Totally agree i would be willing to pick up a twilio account it looked very cheap, but free is better. one thing i've done in the past is create a small algorithm to rotate through the various API's so that you never exceed the limit. |
That sounds like a great idea. We could create a separate python utility file and make use of the algorithm. |
yeah let me know which one's you want to use. I can put together a quick library to handle the messaging API's. And i can write up an algorithm. |
Whatever ones you feel we can use for free by alternating are fine by me. |
Which API's were you thinking of using? |
Check this out http://textbelt.com/ |
This is defiantly on the right track for something we need. In the future it would be nice to have incoming text messages. But for now ensuring that we have a high number or unlimited out going will be the plan. |
Was messing around with this textbelt and tested it with some carriers and the problem is it doesn't always send a text message sometimes it makes a call and reads the text that way. This was tested with rogers which is a major Canadian service provider. Might be able to use some api's for certain carriers and some for others? Here is the code snippet for sending the post request: import requests |
I think there is no way to get information on the carrier just based on the number. But as far as i see textbelt only "brute forces" all email2sms gateways of carriers it knows. That should be easy to replicate in python. We could then only restrict to carriers that are known to work (i.e. no call that reads the text). But that may be a little bit "too much of work". What do you think? |
That does seem to be quite a bit of work. I just keep telling myself that there has to be a free solution somewhere but nothing is ever free is it? haha I am really not sure where to go with this. |
Yeah, free and good are not realy this is free but it's the method that textbelt uses. In fact textbelt has a list of all the gateways it uses. I don't see a good possibility too examine which are "good" (no call that reads the text). We could do the following:
Then add a button on the website "my sms did not work as intended!" which a user can press the sms were not a sms but a call. If enough user press this button the carrier is deleted from the list. This would get us: A working carrier will use the sms-gateway, a not working will be sent through blower.io. It should'nt be too much work. (..should'nt...) |
On a different note we could just use textbelt and still implement the button so users can report back to us which carriers do work and which do not and then we could just feedback that back to the textbelt creator. This way he can delete not working carriers. If textbelt does not work at all we can still send through blower.io. |
Using multiple senders seems to be the best option textbelt and blower.io but blower.io is removing their free account as of December so this is our next major challenge. @mkowoods mentioned an algorithm to loop through multiple options to keep texts limits down, |
Just some more brainstorming: Let users "authenticate numbers" i.e. send an sms with |
Did mkowoods mentioned that here on github? Can you link? |
Scroll close to the top of this issue and you will find it. |
Ah, that one. We still need free APIs to rotate through. |
Yeah there's really no need to sink any money into this project as this point. but I'd like to find a solution that would at least keep it functional. Then maybe the 3 of us could start a new project? |
I'll take a look at the text belt code base and see what if anything we can adapt from it. If you guys are ready to start a new project I have some ideas, but would love to hear what you guys have in mind. Certainly enjoying the collaboration |
I posted an idea here but I'm open to most things. Do you want to do another website? Waiting for your ideas. |
We can also send ta message to all of the major carriers. Unless there's a way to learn carried by number |
@DevMoore94 yeah i went through text belt repository and it doesnt look like he put the code for sending messages in. I'm fresh out of ideas as well. The carriers make a ton of money on charging for Texts(at least in the US) so they obviously are not inclined to offer the service for free and short of mass email blasting the carriers I'm at a loss for the optimum solution(without significantly scaling up the code base and a lot of research into messaging protocols). http://www.theguardian.com/technology/2013/apr/29/app-messaging-damages-mobile-text-revenues |
This might mean it's time for a few new projects :) |
@mkowoods The code for sending the messages are in lib/text.js:
It uses sendmail to send an email to the emails of the form |
Currently I don't have too much time (as you can tell by my recent (not existent) contributions to TextThem), so I would rather "help" than being the "main contributer". I guess I could create the repo and give you two "admin rights" (or whatever that is called here on github), but I don't know if that would bring any advantages. |
@syntonym cool. I missed this was looking for something else. So yeah, it looks like he's just using the "email blast" approach and is iterating over the list of providers sending each the same message. Can you tell if the code is optimized to stop after it receives a positive response? |
I'm not entirely sure but I don't think so. Also there is an issue that reports getting multiple sms. |
For what it's worth i did a quick write up of the code in python based on the textbelt approach and using smtplib. In order for it to function it needs to be connected to an actual smtp server... and there may be some additional tweaks. I havent tested it out it;s more pseudo code than anything else. |
in the mean time i created this repo to store commonly recurring code |
Looks solid. Is there anyway to know if an email was successfully transformed to a sms i.e. do you know if the carrier return something if it was successfull? We could then check for that and stop cycling through the list. |
i found 2 optimization points. There are some lookup sites that will tell you the carrier based on a phone number, but those with API's all charge. not sure if smtp sends a receipt notification. I imagine it will depend on the provider. |
So kinda dead end? So just move on? Or what do you think? |
As much as it sucks to stop this project. I think we've reached the extent that free can take us. @mkowoods you mentioned you had some project ideas floating around?? |
There are 2 projects I'm probably going to put up on github this weekend.
Both are relatively small projects especially for the 3 of us to tackle. I'll set up Repo's over the weekend... I'm down for bigger projects, but wanted to get a couple of smaller one's done. Just to practice and learn new techniques |
@mkowoods I like the sounds of your second idea :) Also do you have an experience with android apps? |
I kinda don't get the first idea. Why not use something like couchdb? On their homepage: I also like the second idea. It does sound a little similiar to my idea, with the difference that my app would use websockets (or something different) to have "realtime". Maybe i can fork the code for that later. @DevMoore94 I would be realy interested in doing python apps for android espacialy via kivy. I played a bit with kivy but never deployed to android. |
@syntonym just quickly looked at Kivy and was wondering if you could give me of an overview of what it is used for. |
Sure! Be aware that I'm not a kivy master and my information could be incomplete or even wrong. In itself kivy is an GUI framework like PyQt, wxwidgets or TkInter, letting you create a user interface with windows, buttons, labels etc. But kivys big pro is that it runs on windows, linux, macOSX, android and iOS (apple mobile), so you can write your app with kivy and then deploy it and use it on any of these platforms. If you want more information just ask away. |
So Kivy apps can be compiled to an .apk file and run on android?? that's pretty awesome! |
As far as i know, yes. For additinal information see this, espacially the following passages:
|
Reading over this now! and it seems amazing!! |
@DevMoore94 , @syntonym If you are still interested i started up 2 new projects the key-value store based on google app engine still need to complete some of the methods the news feed service |
@syntonym @mkowoods I was looking into an alternative and any functionality is better than none. I whipped up this little chunk of code and it worked for sending a message. Koodo is the carrier my cellphone is through and they have a webform for anybody to send text. Using the requests library I managed to get texts to send. import requests print send_text() |
Does this work for any number, not only numbers by your carrier? |
Yes from my limited testing this works for any number. |
We're gonna need to come up with an alternative to blower.io because 50 messages a month is defiantly not enough.
The text was updated successfully, but these errors were encountered: