Skip to content

Likos-Lupus/mythistorima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mythistorima

Mythistorima is a local desktop writing workspace for novel authors. The current implementation in this repository is * Phase 1 - Usable Novel Workspace MVP*: a Nuxt 4 + Tauri 2 + Rust + SQLite + Tiptap application for local-first novel drafting, worldbuilding, notes, search, export, backup and theme customization.

Current Phase 1 Capabilities

  • Nuxt 4 frontend with Nuxt UI / Tailwind paper-style interface.
  • Tauri 2 desktop shell with Rust command/service/db layered architecture.
  • SQLite local database with versioned migrations.
  • Project creation, recent project list, editing, delete confirmation and project dashboard.
  • Novel document tree with volume / chapter / scene hierarchy.
  • Document create, rename, delete, move up/down and status updates.
  • Tiptap rich text editor with autosave.
  • Paragraph IDs for paragraph-level anchors.
  • Current-document find and replace.
  • Focus mode.
  • Writing timer, today writing stats and current document targets.
  • Setting cards for characters, locations and concepts.
  • @ setting references in the editor with hover previews.
  • Automatic extraction of setting references on save.
  • Creative notes: memo, todo, foreshadow, issue and idea.
  • Notes can bind to projects, documents and paragraphs.
  • Search workspace for documents, setting cards and notes.
  • Search index rebuild.
  • Export to TXT / Markdown / HTML / project package.
  • Import TXT / Markdown / HTML as new chapters.
  • Manual, startup and scheduled local SQLite backups.
  • Paper / light / dark themes.
  • Font family, font size, line height, page width and autosave interval settings.
  • Language setting foundation for zh-CN and en.
  • Shared empty states and error banners.

Environment Requirements

  • Bun
  • Rust stable
  • System dependencies required by Tauri 2

Install Dependencies

bun install

Development Launch

Standard Nuxt dev server:

bun run dev

Tauri desktop dev mode:

bun run tauri:dev

Build

bun run generate
bun run tauri:build

src-tauri/tauri.conf.json is configured with:

  • devUrl: http://localhost:3000
  • beforeDevCommand: bun run dev
  • beforeBuildCommand: bun run generate
  • frontendDist: ../dist

Database Location

Phase 1 uses a single SQLite database:

AppData/Mythistorima/mythistorima.sqlite

The actual path can be viewed on the home screen status.

Phase 1 Acceptance Path

Launch Mythistorima
→ Create a new project
→ Open the project dashboard and edit title / author / description / targets
→ Create a volume, chapters and scenes
→ Write rich text in the editor
→ Use find / replace and focus mode
→ Create character / location / concept cards
→ Insert a setting card in the editor with @
→ Hover the setting reference and see its preview
→ Add a memo / todo / foreshadow note to a document or paragraph
→ Search body text, cards and notes
→ Export TXT / Markdown / HTML
→ Export a project package
→ Import TXT / Markdown / HTML as a chapter
→ Create a manual backup and confirm startup/scheduled backup behavior
→ Switch themes and editor settings
→ Close and reopen the app
→ Confirm project, documents, cards, notes, references and settings persist

Verification

bun install
bun run typecheck
cd src-tauri
cargo check
cd ..
bun run tauri:dev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors