managarten/services/matrix-nutriphi-bot/src/bot/bot.module.ts
Till-JS d4663b5643 feat(mana-media): add centralized media storage with NutriPhi integration
- Implement mana-media service with PostgreSQL/Drizzle ORM persistence
- Add content-addressable storage (SHA-256) for automatic deduplication
- Add Matrix MXC URL import endpoint to copy images from Matrix
- Create @manacore/media-client package for service consumption
- Integrate mana-media into NutriPhi bot for persistent image storage
- Update pnpm-workspace.yaml to include nested service packages
- Add mana-media to docker-compose with port 3015

Images sent to NutriPhi bot are now stored in mana-media after analysis,
providing persistent storage with deduplication across all apps.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 17:30:14 +01:00

18 lines
552 B
TypeScript

import { Module } from '@nestjs/common';
import { MatrixService } from './matrix.service';
import { NutriPhiModule } from '../nutriphi/nutriphi.module';
import { SessionModule, TranscriptionModule, CreditModule } from '@manacore/bot-services';
import { MediaModule } from '../media/media.module';
@Module({
imports: [
NutriPhiModule,
SessionModule.forRoot({ storageMode: 'redis' }),
TranscriptionModule.forRoot(),
CreditModule.forRoot(),
MediaModule,
],
providers: [MatrixService],
exports: [MatrixService],
})
export class BotModule {}