mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 12:09:43 +02:00
- NestJS bot that converts text messages to speech via mana-tts - Commands: !voice, !voices, !speed, !status, !help - User settings stored in-memory (voice, speed per user) - Docker config for Mac Mini deployment - Setup script for bot registration Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
448 B
TypeScript
16 lines
448 B
TypeScript
import { NestFactory } from '@nestjs/core';
|
|
import { AppModule } from './app.module';
|
|
import { Logger } from '@nestjs/common';
|
|
|
|
async function bootstrap() {
|
|
const app = await NestFactory.create(AppModule);
|
|
const port = process.env.PORT || 3023;
|
|
|
|
await app.listen(port);
|
|
|
|
const logger = new Logger('Bootstrap');
|
|
logger.log(`Matrix TTS Bot running on port ${port}`);
|
|
logger.log(`Health check: http://localhost:${port}/health`);
|
|
}
|
|
|
|
bootstrap();
|