Something went wrong. Try again.
Prototype for declaring sites for displaying at uris deeplink.byjp.me
Something went wrong. Try again.
Files
- Svelte 55%
- TypeScript 39%
- CSS 5%
- JavaScript 1%
- HTML <1%
README.md
# deeplink
AT Protocol **deeplink** lexicons: declare and resolve website (or app) links for
`at://` URIs. A `transform` says where to view records of a collection; a
`preference` says which transforms *you* like.
This is a pnpm monorepo:
| Package | What it is |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
| [`packages/deeplink`](./packages/deeplink) | `@byjp/atproto-deeplink` — the lexicons + a zero-dependency, isomorphic resolver library. |
| [`apps/web`](./apps/web) | `@byjp/deeplink-web` — a static Svelte (SvelteKit) demo site that lists published transforms and lets you publish your own. |
## Develop
```sh
pnpm install
pnpm test # library behavioural tests (vitest)
pnpm typecheck # both packages
pnpm build # builds the library, then the static site (apps/web/build)
pnpm dev # builds the library, then runs the web app at 127.0.0.1:12520/deeplink
```
The web app reads records live from [microcosm](https://www.microcosm.blue/)
(lightrail for collection enumeration, slingshot/PDS for records) and uses
[atcute](https://github.com/mary-ext/atcute) for atproto OAuth sign-in and
writes. Its design context lives in [apps/web/PRODUCT.md](./apps/web/PRODUCT.md)
and [apps/web/DESIGN.md](./apps/web/DESIGN.md).
> **Status: prototype.** The lexicons live under `me.byjp.atproto.deeplink.*`
> while the idea is explored.