The files
Work with a project's files in the browser — editing, uploading, folders, comments and asking the AI for changes.
A YeshBe Code project opens in the same editor as any other app, with the parts that don't apply hidden. What you get is the chat, the preview and a Code tab with the project's files.
The file tree#
Every file in the project, as a tree. Click one to open it; the content is fetched then rather than up front, so a project with hundreds of files opens as quickly as a small one.
You can create a file or folder, rename either, and delete them. A file that changes is sent to a running preview on its own.
Uploading#
Drag files or a whole folder into the tree. Large files are sent in pieces, so a big image or a font doesn't fail halfway, and a ZIP can be uploaded and unpacked in place.
Serving a file from the CDN#
A file can be marked to be served from the CDN rather than through the app. This is what you want for anything large and unchanging — images, fonts, video — because it is faster for visitors and it keeps the project itself small.
The home page#
A static site needs to know which file is its entry point. YeshBe finds it on its own in the normal case, and you can set it by hand when the project is laid out unusually.
There is also a single-page-app switch: with it on, every address serves the entry file, which is what a client-side router needs in order to work on a refresh.
Asking the AI for changes#
The chat works on your code. Describe a change and it reads the relevant files and writes them.
The date on the invoice page is formatted US-style. Make it day/month/year everywhere it appears.The AI's changes land in the draft, like any other change — see Versions and drafts. If a preview is running, it picks them up.
Comments on a line#
You can leave a comment on a specific line of a specific file, reply to it, and resolve it. The file tree shows how many unresolved comments each file has.
This is for the conversation around the code — a question for a colleague, a note to yourself about something to come back to — and it lives with the project rather than in a chat somewhere else.
Git#
A project imported from GitHub or GitLab stays connected. You can see what has changed against the remote, open a file's diff, and commit — the Commit button appears above the preview once the connection is set up. See Import a repository.
Next#
- Run and preview See it running while you edit.
- Security check Have the code read the way an attacker would.
- Download the project Take the files and run them locally.