All Projects → konichar → parsesig

konichar / parsesig

Licence: other
A Telegram bot that forwards messages from one private/public channel to another after formatting

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Procfile
174 projects

Projects that are alternatives of or similar to parsesig

heroku-flask-template
A simple, fast and easy-to-deploy Heroku ready flask web app template written in Python.
Stars: ✭ 26 (-35%)
Mutual labels:  heroku, heroku-deployment
WhiteDevil
🌀Quick Response Whatsapp Bot🌀
Stars: ✭ 45 (+12.5%)
Mutual labels:  heroku, heroku-deployment
yt-heroku-demo
Code and instructions used in my YouTube video on how to deploy Spring Boot applications on Heroku
Stars: ✭ 21 (-47.5%)
Mutual labels:  heroku, heroku-deployment
tgmusicbot
Telegram bot for downloading audio from YouTube, SoundCloud & MixCloud.
Stars: ✭ 66 (+65%)
Mutual labels:  heroku, heroku-deployment
django-s3file
A lightweight file upload input for Django and Amazon S3
Stars: ✭ 66 (+65%)
Mutual labels:  heroku, heroku-deployment
img ai app boilerplate
An image classification app boilerplate to serve your deep learning models asap!
Stars: ✭ 27 (-32.5%)
Mutual labels:  heroku, heroku-deployment
Discord-Study-Bot
Discord-Study-Bot is a Study-Time-based leaderboard system in discord servers. This features an Overall leaderboard and leaderboards based on a Daily, Weekly, and Monthly basis.
Stars: ✭ 20 (-50%)
Mutual labels:  heroku, heroku-deployment
IPL-ML-2018
Predicting IPL match results. https://kuharan.github.io/IPL-ML-2018/
Stars: ✭ 14 (-65%)
Mutual labels:  heroku, heroku-deployment
LocalSupport
A directory of local support services and volunteer opportunities
Stars: ✭ 60 (+50%)
Mutual labels:  heroku, heroku-deployment
PDF-Bot
A bot for PDF for doing Many Things....
Stars: ✭ 38 (-5%)
Mutual labels:  heroku, heroku-deployment
es6-template-regex
Regular expression for matching es6 template delimiters in a string.
Stars: ✭ 15 (-62.5%)
Mutual labels:  regular-expression
create-mern-ts-app
Create a Mongo-Express-React-Node Application written in TypeScript out of the box.
Stars: ✭ 30 (-25%)
Mutual labels:  heroku
LLRegex
Regular expression library in Swift, wrapping NSRegularExpression.
Stars: ✭ 18 (-55%)
Mutual labels:  regular-expression
laravel5-heroku
Laravel 5 with best practices for deployment on Heroku - created by
Stars: ✭ 18 (-55%)
Mutual labels:  heroku
termco
Regular Expression Counts of Terms and Substrings
Stars: ✭ 24 (-40%)
Mutual labels:  regular-expression
haikunatorphp
Generate Heroku-like random names to use in your php applications.
Stars: ✭ 99 (+147.5%)
Mutual labels:  heroku
regexp-expand
Show the ELisp regular expression at point in rx form.
Stars: ✭ 18 (-55%)
Mutual labels:  regular-expression
unix-programming-and-regular-expressions-workshop
A workshop on Unix Programming Principles using tools such as grep, sed, awk, shell programming and regular expressions
Stars: ✭ 25 (-37.5%)
Mutual labels:  regular-expression
DirectFire Converter
DirectFire Firewall Converter - Network Security, Next-Generation Firewall Configuration Conversion, Firewall Syntax Translation and Firewall Migration Tool - supports Cisco ASA, Fortinet FortiGate (FortiOS), Juniper SRX (JunOS), SSG / Netscreen (ScreenOS) and WatchGuard (support for further devices in development). Similar to FortiConverter, Sm…
Stars: ✭ 34 (-15%)
Mutual labels:  parser-generator
PackCC
PackCC is a packrat parser generator for C.
Stars: ✭ 22 (-45%)
Mutual labels:  parser-generator

Parsesig

Parsig

A Telegram program that forwards Forex Signals from one Telegram group or channel to another

Listens for message events on CHATINPUT channel that matches the Regex pattern ^(BUY|SELL)\s([A-Z]*)\s[\(@at\s]*([0-9]*[.,][0-9]*)[\).] and passes it with pasig() Engine

                                |     #EURUSD
BUY EURUSD (@ 1.0877)           |     BUY📈1.0877
Take profit 1 at 1.0897         |     ✅TP 1.0897
Take profit 2 at 1.0927         |     ✅TP 1.0927
Take profit 3 at 1.0977         |     ✅TP 1.0977
Stop loss at 1.07978            |     🛑SL 1.07978

Sigparser takes the following environment variables or configure .env file in the project directory Main pair

API_HASH = f36c29aaaaa698ecb1e59e31b
API_ID = 127555
CHATINPUT = -12345678901234
CHATOUTPUT = -1234567890123
SESSION = *this would be auto generated at first run*

All matching messages from the channel set in the CHATINPUT environment variable is forwarded to the channel set in the CHATOUTPUT environment variable same goes for the test variables

Heroku setup


  • Create new Heroku app on your Heroku account.

  • Link app to using the github option and select the repository

  • From terminal set git heroku remote url

    git remote set-url --add heroku https://git.heroku.com/{your_app_name}.git
    heroku login
  • After build and deploy succeed, check for the number of running dynos

    heroku ps

    this application is define from the Procfile as a worker process, on first build number of dynos=0

  • Set environment variables on heroku, goto settings and reveal config vars and set key:value Start up one dyno with a single process

    heroku ps:scale worker=1

=======

Local PC and ubuntu server setup


git clone https://github.com/konichar/parsesig
cd parsesig
  • Add environment variables to .env file
  • From terminal
pip install -r requirements.txt
python telethon_access.py

On first run you would be asked for your Phone number and a verification code a valid SESSION would be generated and added to your .env file

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].