mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 21:41:23 +02:00
- Generate images via Picture backend with `!generate` command - Support prompt options (--width, --height, --steps, --negative) - Model selection with `!models` and `!model [id]` - Image history and deletion - Login/logout via mana-core-auth - Credit balance display Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
453 B
TypeScript
17 lines
453 B
TypeScript
import { NestFactory } from '@nestjs/core';
|
|
import { Logger } from '@nestjs/common';
|
|
import { AppModule } from './app.module';
|
|
|
|
async function bootstrap() {
|
|
const logger = new Logger('Bootstrap');
|
|
|
|
const app = await NestFactory.create(AppModule);
|
|
|
|
const port = process.env.PORT || 3319;
|
|
await app.listen(port);
|
|
|
|
logger.log(`Matrix Picture Bot running on port ${port}`);
|
|
logger.log(`Health check: http://localhost:${port}/health`);
|
|
}
|
|
|
|
bootstrap();
|