Skip to content

Projects and files

nodemode-ai edited this page Nov 29, 2026 · 2 revisions

Projects and files

A project is a document made by a studio: a storyboard, scene, canvas, board or edit. Projects live in the engine's database and autosave. They leave the app as .fcrft files.

The .fcrft file

A .fcrft file is a zip archive.

Member Contents
manifest.json format (fcrft), version, app, appVersion, kind, name, createdAt, updatedAt, coverId and an index of the media files
project.json the studio's document
media/<id>.<ext> every library file the document uses, named by a 32 character hexadecimal id

Export writes to a hidden .part file and then renames it, so a failed export never leaves a half-written project. Import is hardened: it checks the manifest, limits the number of entries, sizes and compression ratios, rejects paths that leave the archive, and keeps the id of media that is identical to media already in your library. A scene exported and opened on another computer keeps its characters' reference pictures. An export also writes <file>.preview.webp beside the project (at most 256 KB, made from the cover) so FormPortal can show a preview.

Open and move

  • New Project and Open Project are in the File menu (Mod+N, Mod+O); the desktop app uses a native dialog. Open Recent lists up to eight projects you opened last, and Home lists recent projects.
  • Double-click a .fcrft in your file manager, or drop it on the window. A second launch hands the file to the running window (single instance).

Save

The File menu in the Scene, Canvas, Edit and Board studios has these entries, and the title bar has a label that says where the project stands.

Entry Keys What it does
Save Mod+S writes the project to its .fcrft file. The first time, the desktop app opens a native Save dialog. After that it writes to the same file without asking
Save As... Mod+Shift+S asks for a new file and the project then belongs to it
Save a Copy... writes a copy to a file you choose and keeps working on the original
Export... in the Scene and Edit studios, goes to the video export. In Canvas and Board, saves a copy
Reveal in Finder, Show in Explorer, Show in Folder shows the saved file in your file manager. Disabled until the project has a file
Open Output Folder shows the folder where finished renders and downloads go
Close Mod+W closes the project in the studio, asking first if it has unsaved changes. Not in Board
  • The title bar label reads Saved, Edited or Saving. Click it to show the file. Its tooltip is the path of the file, or "Not saved to a file yet".
  • Save a Copy never changes which file the project belongs to. Save and Save As do.
  • The dialog starts in the folder you saved to last, and adds .fcrft if you leave it off. A failed save says why and offers Try again. A project with nothing in it says to add something first.
  • In a browser there is no native dialog. Save writes into the data folder, in projects, or next to the project's earlier file.
  • A save no longer writes a file to your Downloads folder.

Autosave and crash recovery

Scenes and canvases that have unsaved changes are copied to the data folder about four seconds after you stop changing them, and when the window loses focus or is hidden. A clean close, or a save, removes the copy. If formcraft closes any other way, the next start asks "Restore unsaved changes": Restore opens the work as a new project named "(recovered)", Discard throws the copy away, and closing the dialog keeps it for next time. Boards and edits save themselves as you work.

Closing

Closing the window with unsaved work asks first: Save, Discard changes or Cancel. Cancel keeps the window open. On a Mac, Command+Q and Quit in the app menu go through the same question, so a quit cannot skip it. Boards and edits save themselves, and the close waits for the last save.

Media

Imports and results go into one content-addressed library under the data folder, so the same file is stored once. Downloads and saved copies follow the output folder and file name template in Preferences, Files and Output, and never overwrite. See Preferences.

Agents

projects_list, projects_get, projects_create, projects_update, projects_export, projects_import and projects_delete work on the same projects. A project open in the window reloads when an agent changes it. See Agents-and-MCP.

Source map

Path What lives there
backend/app/services/projects.py kinds, export, import, covers
backend/app/routers/projects.py /api/projects routes, and /api/autosave for the recovery copies
frontend/src/ui/projects/file-commands.ts, disk.ts, autosave.ts the File menu commands, writing a file, the recovery copy
frontend/src/ui/save-label.ts the Saved, Edited and Saving label in the title bar
backend/app/services/media.py, library.py the content-addressed library
src-tauri/src/opens.rs, instance.rs open by argument, single instance
src-tauri/linux/ MIME type and desktop file for .fcrft

Contract

  • Never rename a field in the manifest or a document. Add fields; readers must tolerate unknown ones.
  • Every write to disk goes through a temporary file and a rename.
  • The extension .fcrft and the MIME type application/x-formcraft-project must match in tauri.conf.json, the Linux MIME file and the release registry entry.

Clone this wiki locally