Bring Hacker News stories inside your Discord server
- TypeScript 97.9%
- Dockerfile 2.1%
| .vscode | ||
| .zed | ||
| assets | ||
| src | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| biome.json | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.json | ||
Bring Hacker News stories inside your Discord server
Invite to your server: https://discord.com/oauth2/authorize?client_id=1381646292270448680
Development
Clone this repository
git clone https://github.com/datsudo/news-ybottinator
cd news-ybottinator
Install dependencies
npm install
# or
pnpm install
Before starting the bot:
- Rename
src/core/Config.example.tstoConfig.ts - Assuming that you already created your discord bot in Developer Portal,
copy the following and put them in
Config.ts- Bot token
- Bot client ID
- Guild (server) ID (where you'll invite the bot in for testing)
Start bot
pnpm dev # development
pnpm build && pnpm start # production
Docker setup is also provided (see docker-compose.yml).
You might also want to change the container_name.
docker compose up -d