You can follow the guide of this presentation on doc/slides.md
cd doc
npx @marp-team/marp-cli@latest slides.md --pdf --allow-local-filesTo launch the slides in server mode:
PORT=8070 npx @marp-team/marp-cli@latest . -w -sTo install the bun environment execute:
curl -fsSL https://bun.sh/install | bashInstall dependencies:
cd src
bun install- Copy the file
.env.exampleto.envand complete the missing variables. - Some details to obtain these keys are described in the slides.
BOT_TOKEN=bot_token
# JWT secrets - You can safely ignore it
SECRET=my_super_secret_jwt
# OpenAI Key https://platform.openai.com/account/api-keys
OPENAI_API_KEY=sk-...
# Pezzo integration
PEZZO_API_KEY=...
PEZZO_PROJECT_ID=...
PEZZO_PROMPTS=Spanish Casual|Polish Casual # Names of prompts defined in Pezzo
PEZZO_ENVIRONMENT=Production
# Ghost integration
GHOST_HOST=http://ghost:2368
GHOST_ADMIN_API_KEY=...Start the containers to run the telegram bot and a Ghost instance.
docker-compose up -d To obtain GHOST_ADMIN_API_KEY:
- Open Ghost link and complete the login information
- After creating the account go to New custom integration and generate a new application.
- Copy the Admin API key to the
GHOST_ADMIN_API_KEYkey in the.envfile and restart the server. - Restart docker-compose:
docker-compose restart