2017-09-26 09:43:22 +02:00
|
|
|
|
# ProxyBot
|
2017-10-26 14:14:11 +02:00
|
|
|
|
We trail the trends!
|
|
|
|
|
|
2017-07-02 21:00:38 +02:00
|
|
|
|
# Join the telegram group
|
|
|
|
|
If you have questions after reading the readme
|
2017-10-01 22:25:50 +02:00
|
|
|
|
### Main Channel
|
2017-07-04 16:04:49 +02:00
|
|
|
|
https://t.me/joinchat/FWYlMkKK-mkrSuj836ehug
|
2017-07-18 10:39:53 +02:00
|
|
|
|
|
2017-10-18 21:00:37 +02:00
|
|
|
|
|Channel Language | Channel link |
|
|
|
|
|
|-------------------|-----------------------------------------------|
|
2017-10-24 17:28:32 +02:00
|
|
|
|
|German | https://t.me/joinchat/FDBA_g1yD6Iw-k46ysvYzA |
|
|
|
|
|
|Potuguese | https://t.me/joinchat/EzzWHAyih4JoEMk0XBiezA |
|
|
|
|
|
|Russian | https://t.me/joinchat/DreUUw-n-aGoi2LunoJTFA |
|
|
|
|
|
|Korean | https://t.me/joinchat/DqRTeBHA8KY5_vwKBj3JzA |
|
2017-10-01 22:25:50 +02:00
|
|
|
|
|
2017-10-03 23:19:09 +02:00
|
|
|
|
|
2017-10-16 21:02:49 +02:00
|
|
|
|
|
2017-09-26 09:43:37 +02:00
|
|
|
|
# Check out the wiki
|
2017-09-26 09:43:22 +02:00
|
|
|
|
https://github.com/taniman/proxy-bot/wiki/ProxyBot
|
|
|
|
|
|
2017-06-30 23:58:07 +02:00
|
|
|
|
# How to run
|
2017-10-18 21:20:28 +02:00
|
|
|
|
Download the latest released jar file
|
|
|
|
|
https://github.com/taniman/proxy-bot/releases
|
|
|
|
|
|
|
|
|
|
1. Make sure you have java 8 installed on your system
|
|
|
|
|
2. Unzip proxybot.zip file
|
|
|
|
|
3. Fill your apiKeys and secrets in application.properties
|
|
|
|
|
4. set server.botMode = true in application.properties
|
|
|
|
|
5. Open a terminal or command prompt and type
|
|
|
|
|
6. java -jar ProxyBot.jar -XX:+UseConcMarkSweepGC -Xmx256m -Xms256m
|
|
|
|
|
* On OSX or some linux versions you might need to sudo su and then run the java -jar command.
|
|
|
|
|
7. If you did everything correctly the application will start without giving you any error messages
|
2017-07-18 10:39:53 +02:00
|
|
|
|
|
|
|
|
|
### On windows
|
2017-10-18 21:20:28 +02:00
|
|
|
|
Open a web browser and go to
|
2017-07-18 11:05:37 +02:00
|
|
|
|
http://localhost:8081/checkSetup/
|
|
|
|
|
|
2017-07-18 10:39:53 +02:00
|
|
|
|
### On a Linux VPS
|
2017-10-18 21:20:28 +02:00
|
|
|
|
curl http://localhost:8081/checkSetupLinux/
|
|
|
|
|
|
|
|
|
|
All rows should say 'Looking good!'
|
|
|
|
|
If this is not the case, than you have an error in your application.properties
|
|
|
|
|
|
2017-07-18 10:39:53 +02:00
|
|
|
|
|
|
|
|
|
# Running in the background
|
|
|
|
|
Use the provided pm2 json file.<br />
|
|
|
|
|
If you have pm2 installed just use this command.<br />
|
2017-10-11 22:45:30 +02:00
|
|
|
|
pm2 start pm2-ProxyBot.json <br />
|
2017-07-18 10:39:53 +02:00
|
|
|
|
pm2 save <br />
|
2017-07-18 11:05:37 +02:00
|
|
|
|
This will make sure that pm2 will automatically start the proxy when pm2 reloads. <br />
|
2017-07-01 00:01:07 +02:00
|
|
|
|
<br />
|
2017-07-18 10:39:53 +02:00
|
|
|
|
To see the proxy log you could do. <br />
|
|
|
|
|
pm2 log 'id' <-- this is the id pm2 gave your proxy
|
2017-07-07 09:31:50 +02:00
|
|
|
|
|
2017-09-26 09:43:22 +02:00
|
|
|
|
# Setup telegram so the proxy can send you telegram messages
|
|
|
|
|
1. Talk to @BotFather
|
|
|
|
|
1.1. NOT to be confused with TheBotFather channel!!!
|
|
|
|
|
1.2 Once there type "/newbot" to create a bot. Answer the questions by typing answers and pressing enter.
|
2017-06-30 23:58:07 +02:00
|
|
|
|
|
2017-09-26 09:43:22 +02:00
|
|
|
|
2. Start a chat to your bot's name (for ex. @MyProxyBot) and press start button
|
2017-07-01 22:08:24 +02:00
|
|
|
|
|
2017-09-26 09:43:22 +02:00
|
|
|
|
3. Start another chat with https://telegram.me/get_id_bot This bot will reveal your Chat ID
|
|
|
|
|
|
|
|
|
|
4. Edit application.properties and set
|
|
|
|
|
- telegram.botToken = "your bot token"
|
|
|
|
|
- telegram.chatId = "your chat id"
|
2017-10-08 14:27:24 +02:00
|
|
|
|
- restart the bot
|
2017-07-01 22:08:24 +02:00
|
|
|
|
|
2017-09-26 09:43:22 +02:00
|
|
|
|
5. Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup. You will receive a message if the setup is correct.
|
2017-07-01 22:08:24 +02:00
|
|
|
|
|
2017-10-18 21:20:28 +02:00
|
|
|
|
# Authorized resellers on telegram
|
|
|
|
|
- @Elroy (DEV)
|
2017-10-18 21:27:14 +02:00
|
|
|
|
- @Anderson_drsub (Portuguese)
|
2017-10-18 21:20:28 +02:00
|
|
|
|
- @Moondust2010 (German)
|
|
|
|
|
- @AkaDeCaoS (Spanish)
|
2017-10-24 23:25:05 +02:00
|
|
|
|
- @T1M3C (Russian)
|
|
|
|
|
- @Another_Diesel (US)
|
|
|
|
|
- @billycoin (Chinese)
|
2017-10-25 06:58:19 +02:00
|
|
|
|
- @freebits (Korean)
|
2017-07-01 22:08:24 +02:00
|
|
|
|
|
2017-09-26 09:43:22 +02:00
|
|
|
|
# Warning
|
|
|
|
|
Please use the proxy on a VPS or machine that you do not use normally. <br />
|
|
|
|
|
Once you change the host file the poloniex.com website will not work properly anymore. <br />
|
|
|
|
|
<br />
|
2017-07-01 22:08:24 +02:00
|
|
|
|
|