Find a file
Pento 8ae0d79a0d
Image markers, database transactions, and the classifier's read of a scene (#445)
* **New Features**
* Added MP3/WAV selection for OpenAI-compatible text-to-speech services.
* Added configurable recent-entry context for world-state
classification.
* Added image-generation availability checks for background, portrait,
and reference images.
  * Added lore-management error banners with retry and dismiss actions.
  * Improved character presence tracking and duplicate-entry handling.

* **Bug Fixes**
* Improved inline-image retries, recovery, rendering safety, and
generation limits.
* Improved atomic updates for runtime variables and database
transactions.
* Improved prompt formatting, text matching, and narrator-markup
handling
2026-08-16 09:27:47 +02:00
.github/workflows Add ComfyUI custom workflow and UNet/Flux generation modes + minor fix to API debug log (#314) 2026-04-29 17:01:53 +02:00
docs Image markers, database transactions, and the classifier's read of a scene (#445) 2026-08-16 09:27:47 +02:00
scripts Release script: push over the contributor's own remote instead of a hardcoded HTTPS URL (#432) 2026-08-08 22:08:59 +02:00
src Image markers, database transactions, and the classifier's read of a scene (#445) 2026-08-16 09:27:47 +02:00
src-tauri Image markers, database transactions, and the classifier's read of a scene (#445) 2026-08-16 09:27:47 +02:00
static switched font for logo 2026-01-19 14:48:22 -06:00
third-party-licenses Added harper 2026-01-02 05:08:39 -07:00
.gitattributes Fix CRLF Migrations (#162) 2026-02-22 15:46:59 -05:00
.gitignore Lore management: a session ledger, a shared chapter-read budget, and a duplicate consolidation window (#437) 2026-08-12 15:32:41 +02:00
.prettierrc fix: prettier, eslint, pipeline (#71) 2026-02-06 00:49:36 +01:00
CLAUDE.md Lore management: a session ledger, a shared chapter-read budget, and a duplicate consolidation window (#437) 2026-08-12 15:32:41 +02:00
compileApk.sh Native SAF export/backup/restore (Android OOM fix) + export/import fixes, #330, #116 (#367) 2026-07-18 12:17:22 +02:00
components.json fix: prettier, eslint, pipeline (#71) 2026-02-06 00:49:36 +01:00
eslint.config.js Validated release script, extracted version arithmetic, lint config fixes (#416) 2026-08-08 19:55:23 +02:00
lefthook.yml Fix CRLF Migrations (#162) 2026-02-22 15:46:59 -05:00
LICENSE.md Db rework (#140) (#141) 2026-02-13 17:37:27 +05:30
logo.png switched font for logo 2026-01-19 14:48:22 -06:00
package-lock.json Branch navigation: land at the end of a branch, jump to its origin on demand (#440) 2026-08-13 14:26:53 -04:00
package.json Branch navigation: land at the end of a branch, jump to its origin on demand (#440) 2026-08-13 14:26:53 -04:00
README.md Lore management: a session ledger, a shared chapter-read budget, and a duplicate consolidation window (#437) 2026-08-12 15:32:41 +02:00
sun4.jpg Use custom icon for android 2026-01-03 07:08:45 -07:00
sun17.jpg Use custom icon for android 2026-01-03 07:08:45 -07:00
sun2022.png Use custom icon for android 2026-01-03 07:08:45 -07:00
svelte.config.js fix: prettier, eslint, pipeline (#71) 2026-02-06 00:49:36 +01:00
tsconfig.json Initial commit 2025-12-30 16:08:22 -07:00
vite.config.js fix: prettier, eslint, pipeline (#71) 2026-02-06 00:49:36 +01:00
vitest.config.ts Validated release script, extracted version arithmetic, lint config fixes (#416) 2026-08-08 19:55:23 +02:00

Aventuras

Interactive fiction with an AI that remembers. Play a text adventure or write collaboratively, on desktop and Android, with any LLM provider you like — cloud or running on your own machine.

Aventuras keeps the story straight: chapters are summarized as you play, a lorebook feeds the right entries into the right scene, an agent tidies that lorebook behind you, and the world state — who is present, where you are, what you carry — is tracked turn by turn.

Highlights

  • Two modes — Adventure, with multiple-choice actions and world tracking; Creative Writing, freeform with AI suggestions. First/second/third person, past or present tense.
  • Any provider — OpenRouter, OpenAI, Anthropic, Google, xAI, Groq, DeepSeek, Mistral, Z.AI, NanoGPT, Chutes, Pollinations, NVIDIA NIM, plus local llama.cpp, LM Studio and Ollama. Streaming, extended thinking, and per-subsystem Agent Profiles so retrieval, classification and narration can each use a different model.
  • Memory that scales — automatic chapter summarization, and a retrieval step that goes and finds what the current scene needs from everything that came before.
  • Lorebook — characters, locations, items, factions, concepts and events, with aliases, secrets, keyword and relevance-based injection, SillyTavern import, and an autonomous agent that consolidates duplicates and fills gaps.
  • The Vault — a cross-story library of reusable characters, lorebooks and scenarios, with a tool-calling assistant that edits them and shows you a diff before anything lands.
  • Every prompt is editable — they are Liquid templates, all of them, in an in-app editor.
  • Images — inline <pic> illustrations, scene backgrounds and character portraits, across nine backends including local ComfyUI and A1111.
  • Writing tools — local grammar checking (Harper/WASM), style analysis for repetition, suggestions that match how you write.
  • Yours to keep — SQLite on your machine, full backup/restore, .avt story export, LAN sync between devices over QR pairing, and an optional translation layer over the whole app.
  • 26 themes, adjustable text size, dialogue highlighting.

Install

Pre-built binaries are on the Releases page:

Platform Download
Windows aventuras_x.x.x_x64-setup.exe
macOS aventuras_x.x.x_x64.dmg
Linux aventuras_x.x.x_amd64.deb / .AppImage
Android aventuras-release.apk

No API keys in config files — providers are set up in the app, under Settings → API Settings.

Build from source

Requires Node.js 22+, the latest stable Rust, and (for Android) the Android SDK, NDK r27 and JDK 1724.

git clone https://github.com/AventurasTeam/Aventuras.git
cd Aventuras
npm install
npx tauri dev
Script Does
npm run dev Vite dev server (frontend only)
npx tauri dev full app, with hot reload
npm run build production build
npm run check type checking (svelte-check)
npm test test suite (Vitest)
npm run lint ESLint — lint:fix to fix
npm run format Prettier
npm run release version bump, tag and push

Desktop builds are npx tauri build; Android is documented in docs/development/release.md.

Tech stack

TypeScript (strict) · SvelteKit 2 · Svelte 5 runes · Tauri 2 (Rust) · Tailwind + shadcn-svelte · SQLite (tauri-plugin-sql / sqlx) · Vercel AI SDK · LiquidJS · CodeMirror 6 · Zod · Harper.js (WASM) · Vitest

Contributing

Start with docs/ — the architecture is documented per area, and CLAUDE.md has the conventions. CI runs build, lint and type-check on every PR against master, develop or dev.

Acknowledgments

Tauri · SvelteKit · OpenRouter · Harper · Lucide

License

AGPL-3.0