Code Monkey home page Code Monkey logo

captcha-lite's People

Contributors

albilaga avatar aldy505 avatar elianiva avatar falentio avatar pankhudib avatar zasdaym avatar

captcha-lite's Issues

Update to Go 1.19

Bump version to Go 1.19 on go.mod and Dockerfile. Might also bump dependencies version.

Deprecate captcha-lite

On 2024, I'll be moving everything away stuff on captcha-lite to captcha. It's hard maintaining 2 stuffs in any event for security vulnerability and stuff.

The plan will be:

  • January 2024: Issue a deprecation warning on the README.
  • June 2024: Convert the repository to public archive.

Create systemd unit file

Current deployment options that are available to be used by the users are Docker, Fly.io, and Heroku. What if they want to run it on their VM without any of that with minimal resource? They can use systemd.

The task is very simple, just provide a systemd unit file with environment variables already loaded (and give notice for them to change it). Please take into account of the restart policy and it needs network connection.

Provide Prometheus metrics

Provide a /metrics endpoints that can be used to monitor the application to Prometheus.

Some metrics that can be monitored:

  • How many users that joined to the group (per group name) -- either just joined, finished, or didn't finished the captcha
  • How many users that finished the captcha (per group name)
  • How many users that didn't finish the captcha (per group name)
  • How many users are donig the captcha right now (per group name)
  • How many commands are the bot sending to Telegram (per group name) -- commands means everything from banning a user, deleting a message, and sending a message.

Can be enabled only by specifying METRICS=true on the environment variable.

Console as logging option

Current logging uses noop, sentry, and rollbar. Provide console logger. Might use zerolog or similar, but make sure the library that's being used has minimal dependency (no dependency would be best).

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.