Comments (10)
Configuring filters through environment vars will be too complicated. The only optimal option is to specify it via yaml/json string, which makes editing not very convenient.
I am not saying to configure filters via environment variables, instead I was saying to put YAML file contents same in one env var, as we need to first import your repo then make it private then setup yaml file. While forking, repo is always public so can't expose YAML config file publically. Also importing restricts us any future commits made to the original repo while forking one does.
You want to put the entire configuration from yaml into single string as environment variable. Okay, I got it.
from telemirror.
Try running the app locally, also check out the latest version
from telemirror.
Try setting
YAML_CONFIG_ENV
now. I assume you can just copy-paste the yaml file contents through the heroku interface.
Thanks, its working.
ISSUE RESOLVED!!
from telemirror.
Could you provide a minimal example and error stacktrace for the bugs found?
The screenshot shows that Heroku expects that the port specified through the PORT
variable should be bound to the application, it will be fixed soon.
Configuring filters through environment vars will be too complicated. The only optimal option is to specify it via yaml/json string, which makes editing not very convenient.
from telemirror.
@chakra1n Please check if the app is now working on Heroku with the latest commit?
from telemirror.
First two issues are fixed but third one is still there.
Message at Source Side (before editing image)
Message at Destination Side (before editing image)
This works perfectly fine but check next scenario.
Image edited using telegram official image edit feature
Message at Source Side (after editing image)
Message at Destination Side (after editing image)
Image is not edited and also now app gets crashed
Heroku Logs
from telemirror.
Configuring filters through environment vars will be too complicated. The only optimal option is to specify it via yaml/json string, which makes editing not very convenient.
I was not saying to configure filters via environment variables, instead I was saying to put YAML file contents same as it is in a environment variable, as we need to first import your repo then make it private then setup yaml file. While forking, repo is always public so can't expose YAML config file publically. Also importing restricts us any future commits made to the original repo while forking one does.
from telemirror.
First two issues are fixed but third one is still there.
Message at Source Side (before editing image)
Message at Destination Side (before editing image)
This works perfectly fine but check next scenario.
Image edited using telegram official image edit feature
Message at Source Side (after editing image)
Message at Destination Side (after editing image)
Image is not edited and also now app gets crashed
Heroku Logs
Just checked replacing and editing images, everything works. Actually, from your logs you have the same problem with heroku port binding.
from telemirror.
Try running the app locally, also check out the latest version
Thanks, its working fine after re-deploying in Heroku. Now web app url is also giving status OK earlier it states Application Error.
You want to put the entire configuration from yaml into single string as environment variable. Okay, I got it
Now, just waiting for this update :)
It will be helpful for other users too who are using Heroku ..
from telemirror.
Try setting YAML_CONFIG_ENV
now. I assume you can just copy-paste the yaml file contents through the heroku interface.
from telemirror.
Related Issues (20)
- [Help] To filter forwarded messages HOT 11
- Пропуски при копировании. HOT 2
- Фильтр сообщений с каналов HOT 1
- can it be used to forward all past messages videos of a channel to new group? HOT 1
- Error while deployment HOT 5
- Exception when message received HOT 4
- Skip image, video and sounds HOT 3
- Why the keyword replace isn't working? HOT 1
- where to find mirror.config.yml HOT 2
- how to forward previous messages HOT 3
- can you help me set it up ? HOT 4
- SkipWithKeywordsFilter HOT 1
- Replace links in messages HOT 3
- Is it possible to forward a message only if the message contains specific keywords? HOT 1
- Forward to topic HOT 5
- CHAT_MAPPING forward from Topic to another Topic (example: -100999999#2) HOT 1
- Ignore HOT 1
- Not forwarding messages from deafult topic HOT 24
- Delay for forwards HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telemirror.