# FAQ and limits

> Short answers about hosting, GitHub, publishing and agents, and the limits to know before you start.

Short answers to common questions, and the limits to check before you choose Editlet. For how content goes live, see
[Dev mode and production](https://editlet.gunkin.dev/docs/dev-and-production.md).

## Do I need a server or a hosted service?

No. Content is files in your repository, and the live editor works with GitHub only. To sign in with GitHub, you
host the [auth handler](https://editlet.gunkin.dev/docs/auth-handler.md) yourself. A personal access token works without it.

## Can editors publish without a developer?

Not from the editor. It opens a pull request but never merges it; someone merges it on GitHub. Your agent merges only
after you approve that pull request in the conversation. To require a review, see
[Roles for admins and editors](https://editlet.gunkin.dev/docs/roles.md).

## Can I use Editlet without an AI agent?

Yes. The editor at `?editlet` works on its own, in dev and on the live site. The files are plain Markdown with YAML
frontmatter, so other tools can read them too.

## Limits

- **Build-time content.** A published edit shows after the next deploy. Only the Next.js draft render reads GitHub
  at request time.
- **Size.** In a collection of 200 entries or more, the list sorted by date or author reads only the entries on screen.
  A smaller list, a sort by title or status and the **Drafts** filter read the whole collection. Search, **Media**, the
  content model, an entry's **Used by** and deleting a file can each read many entries too, the first time. A reference
  picker shows 20 options at a time. In a collection of 200 entries or more, it reads each title as it shows the option,
  and every title once you type in its search. After that the editor reads only what changed. When you change a
  collection in the schema, it reads that collection again. In dev, reloading the page starts over. A search over
  thousands of entries takes a few seconds the first time. Editlet works for hundreds of entries, not for very large
  sites.
- **Images.** Uploads are limited to 8 MB; aim for under 1 MB, since they live in the repository. Editlet makes no
  resized copies or blur placeholders.
- **Paths.** Next.js `basePath` and Astro `base` are not supported. The admin is always at `/editlet/`.
- **Branches.** The editor cannot merge, rename or delete a branch. Do that on GitHub.
- **Sign-in.** A sign-in holds for one browser tab. Signing out does not revoke the token: a GitHub sign-in token
  expires within 8 hours, a personal access token at its own expiry.
- **Browser cache.** The editor keeps what it read from GitHub in the browser, to load faster and to spend less of your
  GitHub rate limit. For its lists it keeps a short summary of each entry (title, draft, references, images and alt
  text), not the file. It keeps the files you open, and after changing the schema it keeps every
  entry file. **Sign out** removes it; closing the tab or an idle timeout does not. Unsaved edits stay. On a
  shared computer, sign out.
