···77# i dont actually know why i need this
88SLINGSHOT_URL="https://slingshot.whey.party"
991010+# bools
1111+INDEX_SERVER_ENABLED=true
1212+INDEX_SERVER_INVITES_REQUIRED=true
1313+1414+VIEW_SERVER_ENABLED=true
1515+INDEX_SERVER_INVITES_REQUIRED=true
1616+1717+# this is for both index and view server btw
1018SERVICE_DID="did:web:local3768forumtest.whey.party"
1119SERVICE_ENDPOINT="https://local3768forumtest.whey.party"
1220SERVER_PORT="3768"
···11+# Skylite
22+33+> An attempt at splitting the (Bluesky) AppView
44+55+- Uses [Microcosm](https://microcosm.blue/)
66+- Portable with [SQLite](https://jsr.io/@db/sqlite) and [Deno](https://deno.land/)
77+- Built with [type safety](https://www.npmjs.com/package/@atproto/lex-cli)
88+99+
1010+1111+read more about the structure of Skylite in [structure.md](structure.md)
1212+1313+# Skylite Dev Docs
1414+skylite dev docs is a documentation website to host all of the notes for developing skylite
1515+1616+all lexicons are listed in the [Lexicons](httpindex) section
1717+1818+more notes in [Dev Notes](notesindex) section
+11
docs/_coverpage.md
···11+<!--  -->
22+33+# Skylite Dev Docs <small>pre alpha</small>
44+55+> Documentation for Designing and Developing Skylite
66+77+docs are still being written!
88+99+[Git Repo](https://tangled.sh/@whey.party/skylite)
1010+[Dev Notes](notesindex.md)
1111+[Lexicons](httpindex.md)
···11+# Development Notes
22+skylite is a large project and im scared of doing it without docs
33+44+i just need a place to put all of my thoughts in a structured format
55+66+and maybe it might be useful to make it available publicly? idk
···11+# Structure
22+33+
44+55+skylite splits the appview into two parts
66+77+- Public Access Index Server (Index)
88+- Contextual View Compositor Server (View)
99+1010+in short, the index server hosts the hydration and skeleton indexes for users. and the view server collects data from many index servers and layers on top personal preferences and moderation data before handing it off to the application.
1111+
+6
docs/todo.md
···11+# Todo
22+The central catch-all board of tasks, serving as a temporary replacement for a Kanban board until one exists on Tangled.
33+lmao
44+55+- [x] hey
66+- [ ] hey
+13
docs/whylexicons.md
···11+# why
22+33+designing lexicons are weird
44+55+these are the XRPC methods i think are required for a minimal functioning bluesky index to function and pass around data
66+77+some of the methods here reuse existing app.bsky.* XRPC methods, but some are custom under the party.whey.* namespace.
88+99+this is done because i believe that it is expensive to force every single node to return inlined / hydrated responses, when the view server that ingests and composites the final view might not even use the provided inlined / hydrated data in the first place.
1010+1111+and so, i created "Partial" variants of existing app.bsky.* methods, that allow for "skeleton" responses. specifically, for all methods relating to posts, they are allowed to return "PostViewRef" objects instead of the hydrated "PostView" object. PostViewRef is currently just identical to a strongRef and i am not yet certain if we should add more optional fields to it.
1212+1313+i do not think that the current lexicons are perfect, but they are good enough that i can continue development of other parts of the skylite system for now