Nunti is a Telegram bot developed as part of the coLib project. Nunti can help aggregate and parse the share message in both telegram channel and group.
You can find nunti at @nuntibot.
Telegram Bot To run the bot locally, you need to create a bot firstly by yourself.
- Create a new Telegram bot by following the instructions here.
- Obtain the bot token.
- Rename the
.env.example
file to.env
and update theBOT_TOKEN
value with your bot token.
** Admin Account ** To run the bot locally, you need to create an admin account with sufficient $CSB as well.
- Create a new account in Metamask or any other wallet you will use.
- Get $CSB from faucet
- Obtain the private key of your admin account.
- Rename the
.env.example
file to.env
and update theAPP_ADMIN
value with your private key. Please be sure to make it start with "0x".
** OpenAI API Key(Optional) ** Nunti offers the option to use Elephant SDK as the URL parser, which is based on OpenAI API Key. This is optional and you can also leave it empty, so that Nunti will use other parser as fallback.
- Create an account at openai[https://openai.com/].
- Rename the
.env.example
file to.env
and update theOPENAI_MODEL
andOPENAI_API_KEY
with your selected model and key.
# For the first time to run the app, you need to manually create the `./store` folder
mkdir -p store
# Develop
pnpm dev
# Build
pnpm build
# Start
pnpm start
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the GNU Lesser General Public License (LGPL) version 3.0. You can find the full text of the license here.