chore: clean up repo for public release

- Remove BMAD framework, IDE configs, dev screenshots, test files,
  internal docs, and backup files
- Rename keep-notes/ to memento-note/
- Update all references from keep-notes to memento-note
- Add Apache 2.0 license with Commons Clause (non-commercial restriction)
- Add clean .gitignore and .env.docker.example
This commit is contained in:
Sepehr Ramezani
2026-04-20 22:48:06 +02:00
parent 402e88b788
commit e4d4e23dc7
3981 changed files with 407 additions and 530622 deletions

View File

@@ -4,11 +4,11 @@
* Utilise Prisma pour créer les notes
*/
import { PrismaClient } from '../keep-notes/prisma/client-generated/index.js';
import { PrismaClient } from '../memento-note/prisma/client-generated/index.js';
const prisma = new PrismaClient({
datasources: {
db: { url: 'file:/Users/sepehr/dev/Keep/keep-notes/prisma/dev.db' },
db: { url: 'file:/Users/sepehr/dev/Keep/memento-note/prisma/dev.db' },
},
});
@@ -55,7 +55,7 @@ const documents = [
## Structure
keep/
├── keep-notes/ # Next.js App
├── memento-note/ # Next.js App
├── mcp-server/ # Serveur MCP
└── docs/ # Documentation
@@ -116,8 +116,8 @@ keep/
• npm
• SQLite3
## Installation keep-notes
cd keep-notes
## Installation memento-note
cd memento-note
npm install
npx prisma generate
npx prisma db push
@@ -143,7 +143,7 @@ Dockerfile disponible pour containerisation.`,
},
{
title: '💻 Development Guide',
content: `Guide développement keep-notes.
content: `Guide développement memento-note.
## Stack
• Next.js 16 + React 19
@@ -181,7 +181,7 @@ Server Actions ('use server')`,
content: `Architecture d'intégration.
## Communication
keep-notes ◄──► SQLite DB ◄──► mcp-server
memento-note ◄──► SQLite DB ◄──► mcp-server
## Protocole MCP
Client AI ──► MCP Server (4242) ──► SQLite
@@ -190,7 +190,7 @@ Client AI ──► MCP Server (4242) ──► SQLite
N8N Workflow ──► MCP Server ──► SQLite
## Flux de données
1. keep-notes → Server Action → Prisma → DB
1. memento-note → Server Action → Prisma → DB
2. MCP Request → Prisma → DB → Response
3. Temps réel via DB partagée`,
color: 'blue',
@@ -198,7 +198,7 @@ N8N Workflow ──► MCP Server ──► SQLite
},
{
title: '📡 API Contracts Keep Notes',
content: `API REST keep-notes.
content: `API REST memento-note.
## Base URL
http://localhost:3000/api
@@ -248,7 +248,7 @@ async function createNote() {
await prisma.note.create({...})
}`,
color: 'purple',
labels: ['architecture', 'keep-notes'],
labels: ['architecture', 'memento-note'],
},
{
title: '🔍 Code Review Cleanup Report',