-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Task
The goal of this challenge is to create a serverless Telegram connector built on Cloudflare Workers. The connector should retrieve new messages from a Telegram account every 10 minutes and store them in a database. Consecutive messages from the same user within the same channel should be merged into a single message by concatenating text and keeping the last message’s metadata.
Build the connector on Cloudflare Workers, selecting the most effective approach (e.g. Cloudflare Containers, Browser Rendering, etc). You may use any JS/TS libraries or frameworks, but keep in mind your submissions will be judged on resource efficiency, security, and scalability.
Message Schema
interface Message {
content: string
timestamp: Date
userName: string
userId: string
messageId: string
channelName: string
}
Submission
To participate in the challenge, submit a pull request with a working service, along with a .json with sample data, and request a review from @kol3x. All submissions will be reviewed by the maintainers, and additional changes to your pull request may be asked of you to improve code quality, security, and/or efficiency. Expanding the pull request description with your methodology can help us better understand your reasoning and evaluate your submission faster.
Anyone can participate in this challenge. You don't need anyone's approval to try! See more details on the Challenge Program and check out the success stories of the challenge winners.
Looking forward to your submissions!