DocsBuild
Read and download your code
Your app is ordinary source code, and you can see all of it. You never have to: every change still goes through the chat.
Read the code
- On your app’s Build page, open the Code tab beside Preview. On a phone it is under More in the preview.
- Pick a file in the list of files, or find one with Search files. It opens on the right with line numbers and colors, its path above it.
The view is Read only. Copy file copies the file you are reading. Files that the last request changed are marked, and with Following on, the view moves to each file as PeerMake works on it.
Images, files made by tools and very large files show a short note instead of their content. Files that hold secrets are never listed.
Download the code
Press Download above the code, or Download source (.zip) on your app’s General page. Your browser saves one .zip named after your app’s address, holding the current version of exactly the files Code view lists.
Source code downloads require a paid plan (Starter, Pro, or Scale; not the Free plan).
It is standard TypeScript, React and Prisma code. Secrets you added in Settings are not part of it, and neither are your app’s saved records.
An app that uses Secrets reads them from PeerMake while it runs here. To run it somewhere else, put each one in a file named .dev.vars next to package.json, one NAME=value per line, and the app reads them from there. Keep that file to yourself.
Change the code
There is no editor in PeerMake. To change something you found in the code, say so in the chat; typing @ there lets you name the file. Like every change, it is built and checked before it replaces what works. Or let your own agent change the code for you.
Something missing or wrong here? Write to support@peermake.app.