Saving and sharing
The top bar always shows where the open project is stored. Check it before you close the tab.
Where projects live
| Store | How you get it | Notes |
|---|---|---|
| Browser | Start a new project, or any import | Kept in this browser's storage on this computer. Clearing site data deletes it. Export a copy regularly. |
| Folder | Open a project folder… (Chrome, Edge) | Every save writes the files into the folder. Put the folder in git to review changes. |
Changes save automatically in both cases.
The hosted app shares browser storage with other pages on the same site
Projects created on swisstph.github.io are stored for that whole site. For real guideline content, prefer a folder, or run the app locally with npx @tricc/app-local.
Export and import
- Export writes the whole project as one
.triccfile, which is a zip archive. Send it, attach it, or keep it as a backup. - On Projects, Import a .tricc file opens that archive as a new project in the browser.
- Import a project folder reads a project folder in any browser, including Firefox and Safari.
GitHub and GitLab
A project kept in a git repository can be opened from it directly:
- On Projects, choose Import from GitHub or GitLab… and paste the link to the project folder, such as
https://github.com/org/repo/tree/main/projects/guideline. - Edit as usual. The top bar shows the repository and branch.
- Propose changes… sends your changes as a pull request (GitLab: merge request). Proposing again updates the same request while it is open. Nothing is written to the branch itself: someone reviews and merges the request.
A file that someone else changed on the branch in the meantime is shown as a conflict and is not overwritten. When you open the project again, the app asks whether to continue with your changes or load a branch.
Private repositories, and proposing changes, need a personal access token. On GitHub, it needs Contents and Pull requests set to read and write; on GitLab, the api scope. The hosted app keeps the token only until the tab closes. When run on your computer (npx @tricc/app-local), it can remember it.
draw.io drawings
A project whose tricc.yaml lists .drawio files opens directly. The drawings are read, and saving writes one activity YAML file per page. The original .drawio file is left untouched. To bring in a single drawing, use the import button on the Activities tab.
Converting to forms
The saved folder is the input to tricc_oo, which converts it to XLSForm/ODK, CHT, OpenMRS, DHIS2, FHIR SDC and OpenSRP. See Converting with tricc_oo.

