Initial commit: Nextcloud Notes Tauri app with WYSIWYG editor

Features:
- WYSIWYG markdown editor with TipTap
- Manual save with unsaved changes indicator
- Auto-title derivation from first line (with manual override)
- Manual sync button with visual feedback
- Auto-sync every 5 minutes
- Full formatting toolbar (bold, italic, headings, lists, code)
- Note creation, editing, deletion
- Search and favorites filter
- Cross-platform desktop app built with Tauri + React + TypeScript
This commit is contained in:
drelich
2026-03-16 23:49:51 +01:00
commit 2ad076c052
47 changed files with 5294 additions and 0 deletions

23
src/types.ts Normal file
View File

@@ -0,0 +1,23 @@
export interface Note {
id: number;
etag: string;
readonly: boolean;
content: string;
title: string;
category: string;
favorite: boolean;
modified: number;
}
export interface APIConfig {
serverURL: string;
username: string;
password: string;
}
export interface AppSettings {
serverURL: string;
username: string;
syncInterval: number;
fontSize: number;
}