Repo Explorer gives you a lightweight way to browse repository contents without cloning. List the files at a ref, then fetch the file you need by path.
This is useful for tools that need to read a few files on demand or drive a UI that lets users
navigate a repo tree. It works with any ref you can resolve, so you can browse main, a tag, or a
specific commit without changing local state.
# List files at a ref.
curl -X GET \
-H "Authorization: Bearer $REPO_READ_TOKEN" \
"https://code.storage/api/v1/repos/files?ref=main"
# Fetch a specific file by path.
curl -X GET \
-H "Authorization: Bearer $REPO_READ_TOKEN" \
"https://code.storage/api/v1/repos/file?ref=main&path=README.md"