- Joined
- Nov 23, 2014
- Messages
- 15,144
- Trophies
- 0
- Location
- Canberra, Australia
- Website
- boot9strap.com
- XP
- 11,094
- Country
Couldn't think of a better forum to put this in so here it is.
What does this do?
Whenever you get a new private message, or a new reply in an existing private message, it will send you an SMS. You won't need to worry about missing out on anything important when you're either busy or not looking at the internet. Don't use it if either (a) your telco charges you money to receive text messages, or (b) you are on a very limited data plan on the internet that your PC uses (it refreshes the conversations page about every ten seconds). It should work on all operating systems but I only tested it on Windows.
Code is here: https://github.com/quantumcat1/Temp-Notifier
How do I use it?
First of all, you need to sign up to a clickatell account. This is what lets you send free text messages to yourself. The reason it is free, is they charge you to send text messages to other people, but you can send free "test" messages to up to three pre-defined phone numbers (which will be you!).
You'll need Java installed to run it. To test if you have it, open a command window (type cmd into the Windows Start box and press Enter), and type "java -version" then Enter. If it says you have Java 1.8 or higher that's fine. If not, visit https://www.java.com/en/download/help/download_options.xml
Now, open user.txt and replace the information. Add your username, password, api key from Clickatell and your mobile phone number in international format with no spaces. Leave the pipe characters ("|"). Don't add spaces.
Open a command window and cd to where you put the jar and the text file. Type "java -jar TempNotifier.jar". To quit it, closing the command window should be enough, but just to make sure, go into Task Manager and look for any Java apps running (they'll have the coffee cup icon and be called something like Java(TM) executable), and close them.
If you get any problems and you can't work them out please comment here. Also please comment if there's anything you'd like me to add and I'll put it in the to-do list.
To-do list
What does this do?
Whenever you get a new private message, or a new reply in an existing private message, it will send you an SMS. You won't need to worry about missing out on anything important when you're either busy or not looking at the internet. Don't use it if either (a) your telco charges you money to receive text messages, or (b) you are on a very limited data plan on the internet that your PC uses (it refreshes the conversations page about every ten seconds). It should work on all operating systems but I only tested it on Windows.
Code is here: https://github.com/quantumcat1/Temp-Notifier
How do I use it?
First of all, you need to sign up to a clickatell account. This is what lets you send free text messages to yourself. The reason it is free, is they charge you to send text messages to other people, but you can send free "test" messages to up to three pre-defined phone numbers (which will be you!).
- Go to clickatell.com
- Click Register in the top right
- Fill in the details - make sure to select the correct country, and just put in your mobile phone number like you normally would.
- Confirm your email address by clicking the link in the email they send you
- Login
- Click "Get started" under "Create an SMS integration to use in your own application"
- Click "Add test phones". Make sure to get the country correct and put in the number in international format (e.g. drop the leading zero). Probably will still work if you put it in normally, but that's what I did.
- Click "Add phone"
- Put in the code that gets sent to your phone
- Click "Finish"
- Scroll down and click "My first test integration"
- Click details, and copy the API key and save this somewhere
You'll need Java installed to run it. To test if you have it, open a command window (type cmd into the Windows Start box and press Enter), and type "java -version" then Enter. If it says you have Java 1.8 or higher that's fine. If not, visit https://www.java.com/en/download/help/download_options.xml
Now, open user.txt and replace the information. Add your username, password, api key from Clickatell and your mobile phone number in international format with no spaces. Leave the pipe characters ("|"). Don't add spaces.
Open a command window and cd to where you put the jar and the text file. Type "java -jar TempNotifier.jar". To quit it, closing the command window should be enough, but just to make sure, go into Task Manager and look for any Java apps running (they'll have the coffee cup icon and be called something like Java(TM) executable), and close them.
If you get any problems and you can't work them out please comment here. Also please comment if there's anything you'd like me to add and I'll put it in the to-do list.
To-do list
- Add error messages in English if something goes wrong
- Do the same thing for Alerts
Don't send a text message if it is the user who replied- Add ability to send private messages via Discord rather than text messages
- Add a spring boot version & instructions for hosting it so you don't have to have your computer on & using data
Last edited by Quantumcat,