A document app is an app whose sole purpose is to edit a file; the name comes from the MacOS app class name. This app is able to open and modify a file (a text file in this case), or start a new file from scratch. The app provides the typical UI expected in this case like prompting before exiting an unsaved file and prompting before overwriting.
This project exists in two implementations, one in Electron, one in Tauri, the app itself is cross-platform (Windows, Mac, Linux), both app's front ends are built in Svelte 5 using the new runes system (at this time, in release-candidate phase).
Use this as a foundation and build your app on top of it.
cd electron
npm i
npm run dev
or
cd tauri
npm i
npm run tauri dev
to build Electron
npm run build
npm run build:win
npm run build:mac
npm run build:linux
GPLv3