···2233social bookmarking for atproto
4455+## current status
66+77+we are currently working on completing the appview first before moving on to the frontend or any other packages.
88+99+a lexicon package is available for those using atcute, however, it is still under heavy development. we do not recommend
1010+using it in any way until the appview is ready.
1111+1212+the frontend has no interactivity and is basically just a mockup.
1313+514## what's in here?
61577-the project is sorted into four directories, comprised of:
1616+the project is sorted into different sections, with each root-level folder signifying a package.
81799-* ``backend`` - the reference appview written using node and hono
1010-* ``frontend`` - the reference frontend written in astro and typescript
1111-* ``lex-src`` - the original lexicon files
1212-* ``lexicons`` - an atcute package for the clippr lexicon1818+each section will usually contain its own README.md file dedicated to it, going into more detail about that specific
1919+package.
2020+2121+| package | description |
2222+|--------------------------------------------------------------------------|------------------------------------------------------|
2323+| [``backend``](https://tangled.sh/@hexmani.ac/clippr/tree/main/backend) | the reference appview written using node and hono |
2424+| [``frontend``](https://tangled.sh/@hexmani.ac/clippr/tree/main/frontend) | the reference client written in astro and typescript |
2525+| [``lexdocs``](https://tangled.sh/@hexmani.ac/clippr/tree/main/lexdocs) | the original lexicon files |
2626+| [``lexicons``](https://tangled.sh/@hexmani.ac/clippr/tree/main/lexicons) | an atcute package for the clippr lexicons |
2727+2828+## roadmap
2929+3030+soon™️
+22-11
backend/README.md
···11-# clippr-be
11+# @clipprjs/server
2233typescript implementation of clippr appview using ~~bun~~ deno and hono
4455## run and develop
6677-```sh
77+```shell
88pnpm install
99+pnpm run db:push
910pnpm run dev
1011```
11121213open http://localhost:9090 and enjoy
13141515+## build for production
1616+1717+```shell
1818+pnpm install
1919+pnpm run db:push
2020+pnpm run build
2121+pnpm run start
2222+```
2323+1424## current status
15251626right now we're not running on bun because there are
1717-[some issues with the jetstream library](https://github.com/oven-sh/bun/issues/18807), which haven't
1818-been fixed yet.
2727+[some issues with partysocket](https://github.com/oven-sh/bun/issues/18807), which haven't
2828+been fixed yet and which the jetstream library we use depends on for the moment. once it has been fixed, we do plan
2929+to use bun over node in the future.
19302031### checklist before it's usable
21322222-- [x] Ingesting content from the firehose (using Jetstream)
2323-- [x] Creating the lexicon documents and validating content that comes in from the firehose
2424-- [x] Indexing valid content from the firehose into a database
2525-- [ ] Handling OAuth authentication (public OAuth for the moment)
2626-- [ ] Creating responses to API calls
2727-- [ ] Create records through the API
2828-- [ ] Interact with the frontend
3333+- ✅ Ingesting content from the firehose (using Jetstream)
3434+- ✅ Creating the lexicon documents and validating content that comes in from the firehose
3535+- ✅ Indexing valid content from the firehose into a database
3636+- Handling OAuth authentication (public OAuth for the moment)
3737+- Creating responses to API calls
3838+- Create records through the API
3939+- Interact with the frontend
+2-2
frontend/README.md
···11-# clippr-fe
22-Astro-based reference frontend for clippr
11+# @clipprjs/client
22+astro-based reference frontend for clippr, meant to use as little javascript as possible
3344## run
55```bash
+1-3
lexicons/README.md
···2233Lexicon package auto-generated with `@atcute/lex-cli`
4455-> [!WARNING]
65> This package is *very* unstable. Lexicon attributes can be modified at any moment.
76> Please do not use this package for anything until the [Clippr server](https://tangled.sh/@hexmani.ac/clippr) has been
88-> deployed.
77+> deployed for either public or developer consumption.
98109## Usage
11101212-> [!NOTE]
1311> This section has been shamelessly lifted from
1412> the [atcute definitions](https://github.com/mary-ext/atcute/tree/trunk/packages/definitions/bluesky) packages. We
1513> recommend using this package with other atcute libraries for maximum compatibility.