sourcebot/packages/web/src/app/[domain]/browse
2025-09-01 11:45:05 -04:00
..
[...path] fix(web): Fix error when navigating to paths with percent symbols (#485) 2025-09-01 11:45:05 -04:00
components fix(browse): Fix issue where files would sometimes never load (#365) 2025-07-14 16:07:09 -07:00
hooks fix(web): Fix error when navigating to paths with percent symbols (#485) 2025-09-01 11:45:05 -04:00
browseStateProvider.tsx feature: basic file search (#341) 2025-06-09 12:51:35 -07:00
layout.tsx feat: Ask Sourcebot (#392) 2025-07-23 11:25:15 -07:00
README.md V4 (#311) 2025-05-28 16:08:42 -07:00

File browser

This directory contains Sourcebot's file browser implementation. URL paths are used to determine what file the user wants to view. The following template is used:

/browse/<repo-name>[@<optional-revision-name>]/-/(blob|tree)/<path_to_file>

For example, to view packages/backend/src/env.ts in Sourcebot, we would use the following path:

/browse/github.com/sourcebot-dev/sourcebot@HEAD/-/blob/packages/backend/src/env.ts