Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ APP_AUTO_CREATE_DB=true

ASR_MODEL_MODE=Qwen3-ASR-0.6B
MEGA_ASR_DEVICE=cpu
MEGA_ASR_ROOT=D:/Mega-ASR/Mega-ASR
MEGA_ASR_PYTHON=C:/Users/Dell/anaconda3/envs/mega-asr/python.exe
MEGA_ASR_CKPT_DIR=D:/Mega-ASR/Mega-ASR/ckpt/Mega-ASR
QWEN_ASR_SMALL_MODEL_DIR=D:/Mega-ASR/Mega-ASR/ckpt/Mega-ASR/Qwen3-ASR-0.6B
MEGA_ASR_ROOT=./data/models/mega-asr
# Leave blank to use the Python interpreter running the backend.
MEGA_ASR_PYTHON=
MEGA_ASR_CKPT_DIR=./data/models/mega-asr/checkpoints
QWEN_ASR_SMALL_MODEL_DIR=./data/models/qwen3-asr-0.6b
MEGA_ASR_NUMBA_CACHE_DIR=./data/models/numba_cache
MEGA_ASR_TIMEOUT_SECONDS=3600
ASR_SMALL_TIMEOUT_SECONDS=300
Expand Down Expand Up @@ -46,3 +47,5 @@ EXPORT_DIR=./data/exports

CORS_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
VITE_API_BASE_URL=/api
VITE_AUTH_USERNAME=local.user
VITE_AUTH_PASSWORD=noteflow-local
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: backend/requirements.txt
- run: python -m pip install --upgrade pip
- run: pip install -r backend/requirements.txt
- run: python -m pytest backend/tests

frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Frontend
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: Frontend/pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm typecheck
- run: pnpm test
- run: pnpm build
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ ckpt/
*.db
.pytest_cache/
.pnpm-store/
repair/logs/
backend/storage/
data/models/
data/
Frontend/.vite/
Frontend/coverage/
*.log
3 changes: 0 additions & 3 deletions Frontend/ATTRIBUTIONS.md

This file was deleted.

11 changes: 0 additions & 11 deletions Frontend/README.md

This file was deleted.

120 changes: 0 additions & 120 deletions Frontend/default_shadcn_theme.css

This file was deleted.

22 changes: 22 additions & 0 deletions Frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";

export default tseslint.config(
{ ignores: ["dist", "coverage"] },
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
globals: { ...globals.browser, ...globals.node },
},
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^sample" },
],
},
},
);
61 changes: 0 additions & 61 deletions Frontend/guidelines/Guidelines.md

This file was deleted.

Loading
Loading