RustLangES / RustLangES/cangrebot
[BOT] Envio de mensajes en base a fecha y horario
Nobody has claimed this yet.
- 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)
- Una posible alternativa son los Durable Objects o la KV de CloudFlare
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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