Open KnorpelSenf opened 2 years ago
Is there any plan for supporting nestjs? Like telegraf has here https://www.npmjs.com/package/nestjs-telegraf
@LongSimple there's no such plan yet. I'll add it to the list. Please comment here if you're willing to start working on it!
I'm working at grammy-emoji plugin. Anyone who wants to help contribute is welcome!
@LongSimple there is now https://github.com/drmikecrowe/nestjs-grammy which has good chances to become an official plugin. You are welcome to contribute. /cc @drmikecrowe
@LongSimple -- How close are you to wanting to test?
@LongSimple and all: Please see https://github.com/grammyjs/nestjs
Note ALPHA status disclaimer. I need help moving to the next level with this.
Scratching the idea of grammy-cache
. The Bot API server already implements this level of caching for us. Telegram confirmed this. Hence, the plugin is superfluous.
@FatalMerlin and I are working on the testing framework. Anyone that wants to help is welcome :)
Suggestion: TailwindCss plugin for web app theme?
@Mi3liX9 out-of-scope?
@Mi3liX9 we're working on grammY components already. @deptyped is going to turn this into a component library for web apps in the long run. It would be great if you'd join in: https://github.com/grammyjs/components
A cache library, Which uses caching system for InputFile. For example:
ctx.replyWithPhoto(...)
When i call it twice i want the second to be fast. Idk if i've elaborated it well
That sounds cool, let me add it
@OfficialCodinary in fact, we already have a plugin for files, and your idea is in scope for that. Check this out: https://github.com/grammyjs/files/issues/6
Hey, I love your grammy framework, damn it's awesome, you saved my life.
How or can you add hot reload for node.js in typescript? It really nesseccary for working with bot in real-time
It's built-in with Deno, but if you use Node, then there are projects like nodemon that work well. They typically don't do true hot reloads as what you would get while developing for the frontend, but since starting a bot shouldn't take more than a tenth of a second, the turnaround time is still fast enough.
Just beware that, if you use any kind of in-memory state (like MemorySessionStorage
, for example), you'll lose that state. Another difference from true hot reloading.
@alexander-lamdan I'm using tsx in this way and it works fine:
"scripts": {
"dev": "tsx watch src/start.ts",
but like @roziscoding said if you have something in memory it will be lost between restarts
I got the idea of using grammy with bun/elysiajs. Does anyone have such experience ?
Someone probably does, but that's not useful information. It's better to take any issues or specific questions to the group chat
grammy-telemetry
There's a draft of this here
Here is a list of ideas that could be turned into plugins.
You can suggest new ideas in the comments or in the group chat, and we may add them here. Once someone publishes an official plugin in version 1.0, we will remove the idea from this list. You can also decide to start working on a third-party plugin. In that case, you also need to link it on https://grammy.dev. You should be able to demonstrate that your plugin is working.
grammy-dedupe
Deduplicates updates delivered via webhooks. If users follow https://grammy.dev/guide/deployment-types.html#how-to-use-webhooks then no duplicates should appear, but advanced use cases may still require this.
grammy-bulk
Helps sending messages to many people, or performing other bulk operations.
grammy-telegraph
Helps sending long messages.
awilix-grammy
Helps creating complex code bases.
grammy-test
Helps writing tests for bots.
UI components based on web apps
grammy-telemetry
grammy-util
grammy-progress
editMessageText
,editMessageCaption
,editMessageMedia
,editMessageLiveLocation
,editMessageReplyMarkup
)grammy-replies
grammy-fsm