24 lines
931 B
Plaintext
24 lines
931 B
Plaintext
# mp-silma-ai-aide
|
|
|
|
This project is a basic Vite + TypeScript Chrome extension scaffold. The extension popup reads Gitea configuration from Vite env variables, stores popup state in Zustand, and uses Axios to call the Gitea API.
|
|
|
|
Important files:
|
|
|
|
- `AGENTS.md`: Project instructions for coding agents.
|
|
- `manifest.llm.json`: Machine-readable project metadata.
|
|
- `.env.example`: Required environment variables.
|
|
- `vite.config.ts`: Vite build config and generated Chrome extension manifest logic.
|
|
- `src/api.ts`: Axios client and Gitea configuration handling.
|
|
- `src/store.ts`: Vanilla Zustand popup state store.
|
|
- `src/main.ts`: Popup UI behavior.
|
|
- `index.html`: Popup document.
|
|
|
|
Build with `npm run build`. Load the generated `dist/` folder in Chrome as an unpacked extension. Do not edit `dist/` directly.
|
|
|
|
Required env variables:
|
|
|
|
- `VITE_GITEA_BASE_URL`
|
|
- `VITE_GITEA_TOKEN`
|
|
- `VITE_GITEA_REPO_OWNER`
|
|
- `VITE_GITEA_REPO_NAME`
|