Giter VIP home page Giter VIP logo

micl2e2 / tg-focus Goto Github PK

View Code? Open in Web Editor NEW
80.0 2.0 2.0 1.17 MB

A comprehensive Telegram message filter that helps you focus💡. A gentle User Bot for message forwarding.

License: GNU General Public License v3.0

CMake 3.27% Makefile 0.40% Shell 3.16% C++ 93.18%
c-plus-plus c-plus-plus-20 tdlib telegram telegram-bot telegram-chat telegram-filter telegram-forwarder telegram-userbot cplusplus

tg-focus's People

Contributors

micl2e2 avatar sixg0000d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tg-focus's Issues

Errors "Receive wrong user ... Have no access to the user ..."

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
...

Can't authorize if two-step verification is enabled

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

[enhancement] Make keywords case insensitive

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.

Artworks Wanted

Artworks Wanted

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.

What We Need

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.

image

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).

How You Can Contribute

Create Art

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.

Submit Your Art

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.

License

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.

Recognition and Rewards

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.

Credits

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 .

Rewards

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!

Windows?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.