Thank you for your interest in contributing to waha-tui! 🎉
# Clone the repo
git clone https://github.com/muhammedaksam/waha-tui.git
cd waha-tui
# Install dependencies
bun install
# Run in development mode
bun run dev| Command | Description |
|---|---|
bun run dev |
Start in development mode |
bun run build |
Build for production |
bun run check |
Run all checks (typecheck, lint, format, test) |
bun run test |
Run tests |
bun run lint |
Run ESLint |
bun run format |
Format code with Prettier |
bun run migration:create <name> |
Create a new migration |
WAHA TUI uses a Sequelize-style migration system for config changes. Migrations run automatically on startup.
# Create a new migration
bun run migration:create my_migration_nameThis creates src/utils/migrations/{timestamp}_my_migration_name.ts and registers it automatically.
- Fork the repository
- Create a feature branch from
develop(git checkout -b feature/amazing-feature develop) - Make your changes
- Run
bun run checkto ensure all tests pass - Commit using Conventional Commits:
feat:New featuresfix:Bug fixesdocs:Documentation changeschore:Maintenance tasks
- Push to your fork
- Open a Pull Request targeting the
developbranch
- TypeScript with strict mode
- Prettier for formatting
- ESLint for linting
- No
anytypes - useunknowninstead
If you discover a security vulnerability, please report it via the process outlined in SECURITY.md. Do not open public issues for security concerns.
Open a GitHub Discussion or reach out in issues.