RustLangES / RustLangES/cangrebot

[BOT] Envio de mensajes en base a fecha y horario

Open
#32 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API evento triage
Dominant language
Rust
Stars
18
Forks
18
Avg merge
1h 18m
Merged PRs (30d)
2

Description

Deberia existir la capacidad que de manera flexible se puedan encolar mensajes a una determinada fecha y hora, quizas se deba explorar la posibilidad de tener otro servicio worker en CloudFlare similar a https://github.com/RustLangES/cfworker-daily-challenge.

Posible Solucion

Hacer un servicio agendado en CF que se ejecute cada hora y valide en una base de datos si existe algun mensaje por enviar, de ser asi entonces procede con la comunicacion con la API del Cangrebot para enviar los mensajes

Casos a contemplar
  • La base de datos que usariamos (tomando en cuenta la cantidad de requests que se harian)
  • Posibilidad de implementar Colas de CloudFlare (queda pendiente a solicitud de CF para el acceso)
  • Analizar la flexibilidad actual de la API del Cangrebot

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files or tests are named. Start by reviewing the current Cangrebot API and the linked cfworker-daily-challenge example, then compare Cloudflare Durable Objects, KV, and Queues for scheduled message storage and delivery. Done should include an agreed scheduling design, hourly processing, and communication with the Cangrebot API.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.