An open API service indexing awesome lists of open source software.

https://github.com/gramiojs/create-gramio

Scaffolding your GramIO project with the environment with easy!
https://github.com/gramiojs/create-gramio

create gramio scaffolding telegram-bot-example telegram-bot-template template

Last synced: about 10 hours ago
JSON representation

Scaffolding your GramIO project with the environment with easy!

Awesome Lists containing this project

README

          

# create-gramio

[![npm](https://img.shields.io/npm/v/create-gramio?logo=npm&style=flat&labelColor=000&color=3b82f6)](https://www.npmjs.org/package/create-gramio)
[![npm downloads](https://img.shields.io/npm/dw/create-gramio?logo=npm&style=flat&labelColor=000&color=3b82f6)](https://www.npmjs.org/package/create-gramio)

Scaffolding your [GramIO](https://gramio.dev/) project with the environment with easy!

- Npm

```bash
npm create gramio@latest ./bot
```

- Yarn

```bash
yarn create gramio@latest ./bot
```

- Pnpm

```bash
pnpm create gramio@latest ./bot
```

- Bun

```bash
bun create gramio@latest ./bot
```

## Supported environment

- ORM/Query builders
- - [Prisma](https://www.prisma.io/)
- - [Drizzle](https://orm.drizzle.team/)
- Linters
- - [Biome](https://biomejs.dev/)
- - [ESLint](https://eslint.org/) with [@antfu/eslint-config](https://eslint-config.antfu.me/rules)
- Plugins
- - [Scenes](https://gramio.dev/plugins/official/scenes.html)
- - [Session](https://gramio.dev/plugins/official/session.html)
- - [Autoload](https://gramio.dev/plugins/official/autoload.html)
- - [Prompt](https://gramio.dev/plugins/official/prompt.html)
- - [Auto-retry](https://gramio.dev/plugins/official/auto-retry.html)
- - [Media-cache](https://gramio.dev/plugins/official/media-cache.html)
- - [I18n](https://gramio.dev/plugins/official/i18n.html)
- - [Media-group](https://gramio.dev/plugins/official/media-group.html)
- - [Pagination](https://gramio.dev/plugins/official/pagination.html)
- - [Split](https://gramio.dev/plugins/official/split.html)
- - [Posthog](https://gramio.dev/plugins/official/posthog.html)
- Webhook handlers for
- - [Elysia](https://elysiajs.com/)
- - [Fastify](https://fastify.dev/)
- - [node:http](https://nodejs.org/)
- - [Bun.serve](https://bun.sh/docs/api/http)
- Others
- - [Dockerfile](https://www.docker.com/) + [docker-compose.yml](https://docs.docker.com/compose/)
- - [Jobify](https://github.com/kravetsone/jobify) ([Bullmq](https://docs.bullmq.io/) wrapper)
- - [Posthog](https://posthog.com/docs/libraries/node)
- - [Husky](https://typicode.github.io/husky/) (Git hooks)
- - [Fluent2ts](https://github.com/kravetsone/fluent2ts)
- - [GramIO storages](https://gramio.dev/storages/)
- [Telegram apps](https://github.com/Telegram-Mini-Apps/telegram-apps/tree/master/packages/create-mini-app)
- [Elysia](https://elysiajs.com/) (by [create-elysiajs](https://github.com/kravetsone/create-elysiajs))
- [Verrou](https://github.com/kravetsone/verrou) (Locks)
- [Env-var](https://github.com/wobsoriano/env-var) (Environment variables)
- [.vscode](https://code.visualstudio.com/) (VSCode settings)

> The environment can work `together`
>
> When you select [ESLint](https://eslint.org/) and [Drizzle](https://orm.drizzle.team/), you get [eslint-plugin-drizzle](https://orm.drizzle.team/docs/eslint-plugin)
>
> When you select [Husky](https://typicode.github.io/husky/) and one of the [linters](#supported-environment) - the `pre-commit` hook will contain the command `lint:fix`

## TODO:

- [ ] Add support for Node adapter