micl2e2 / tg-focus Goto Github PK
View Code? Open in Web Editor NEWA comprehensive Telegram message filter that helps you focus💡. A gentle User Bot for message forwarding.
License: GNU General Public License v3.0
A comprehensive Telegram message filter that helps you focus💡. A gentle User Bot for message forwarding.
License: GNU General Public License v3.0
Hello,
I’m not sure if it is supposed to be Windows-compatible, but I’ve tried to build it and got the following:
Severity Code Description Project File Line Suppression State
Error CMake Error at C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt:24 (add_subdirectory):
add_subdirectory given source
"C:/Users/user/Downloads/tg-focus-master/tg-focus-master/3rd/fmt" which is
not an existing directory. tg C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt 24
Error CMake Error at C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt:29 (find_package):
By not providing "FindTd.cmake" in CMAKE_MODULE_PATH this project has asked
CMake to find a package configuration file provided by "Td", but CMake did
not find one.
Could not find a package configuration file provided by "Td" (requested
version 1.8.14) with any of the following names:
TdConfig.cmake
td-config.cmake
Add the installation prefix of "Td" to CMAKE_PREFIX_PATH or set "Td_DIR" to
a directory containing one of the above files. If "Td" provides a separate
development package or SDK, be sure it has been installed. tg C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt 29
I'd like to run it natively on Windows and without Docker if possible. Any chance to have binaries included in the next release?
I successfully install tg-focus, thanks for the great addon.
I have few questions and may be future suggestions:
Thanks.
Hello! 👋 tg-focus's appearance now needs to be more distinguishable. So we're looking for some beautiful artworks to enhance the project’s appearance.
Icon/Logo: I’m specifically looking for an icon or logo that represents the essence of tg-focus. And it will be used as default avatar for TG-FOCUS group. It should be memorable, simple, and reflect the main goal of the project: focus.
Configuration Demonstrations: Apart from the icon, I’d like series of screenshots that capture the steps of process configuring tg-focus to get it worked, just like the ones already emebbed in README's "A Simple Demo" section, which are demonstrations in English. We needs more other languages (but no more than 15 pics per language).
If you’re an artist, designer, or just someone with a flair for creativity, I invite you to contribute your artwork! Whether it’s a hand-drawn sketch, a digital masterpiece, or anything in between, your work will be appreciated.
To contribute, you can simply attach your jpg/png/svg files in this thread, and I will review them asap. Please feel free to provide a brief description of your inspiration or the story behind your creation.
By contributing, you agree to release your artwork under an open source license (such as MIT, CC BY, or similar). This ensures that others can freely use and modify your work while giving you proper credit.
The project maintainer will pick the most appropriate one among all candidates for each topic. Such process will be as objective as possible. And there will be credits and rewards for those artists/authors.
I’ll prominently credit all artists whose work is included, in a dedicated list. Your name (or GitHub account) will be featured alongside the respective artwork .
As a token of appreciation, for Icon/Logo contribution, or Configuration Demonstrations in 3+ different languages. A 3-month Telegram Premium⭐ gift will be at least!
The tg-focus container accidentally exited, with many similar errors left in logs:
...
[ 1][t 1][1699192768.275809049][MessageEntity.cpp:3561][#1][!Td] Receive wrong user xxx: [Error : 400 : Have no access to the user] from server message xxx in chat xxx sent by chat xxx from updateNewChannelMessage
...
[ 1][t 1][1699340962.033113241][PollManager.cpp:588][#1][!PollManager] Fix total voter count from 2 + 0 to 1 in poll 5931271388198338777
...
ERRO[0008] '' is not a valid container log line
...
I'm running tg-focus from Docker image micl2e2/tg-focus version 1.4.1814.
I couldn't log in until I turned off two-step verification in my Telegram account. Error message:
[tf-focusd] Waiting for authorization
It would be great to have a switch to enable a case-insensitive matching of the keywords.
For now, one can use regexes, e.g., "[Tt][Aa][Bb][Ll][Ee]". While it works, it hurts readability a lot if all of the keywords are defined this way.
A new filters.toml key, say "case-insensitive": true/false, could help with that.
Another option is to support regex flags, e.g., "/table/i".
Can you create a docker image for the arm64 platform?
Keywords ["football", "soccer"] not matching "Football" or "SOCCER". Maybe sometimes this is desired, but in most cases not. One can bypass this limitation using regexp (something like ["[fF][oO][oO][tT][bB][aA][lL][lL]"]) but it should be reflected in the documentation.
Can you develop a version that allows passing group ID and topic ID parameters to tgf-focus, to send messages to a specific topic? Thank you team !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.