+28
-12
README.md
···+> This is alpha software, there's no guarantee that this will work on your system. But if you'd like to try hacking at this, take a look at the [Contributing](#contributing) section once instructions are written up.···... And probably more, and there's a lot of discussion around how user data ownership / censorship / etc gets handled on those layers.···+- Unstorage (via [@fujocoded/authproto](https://github.com/FujoWebDev/fujocoded-plugins/tree/main/astro-authproto))Mainly because: 1, Astro is a really well-documented web framework that's pretty approachable as someone who used to handwrite HTML pages; 2, SQLite / LibSQL are (to my knowledge) fairly cheap databases to run; and 3, Unstorage is pretty dead simple for setting up auth sessions from scratch.-These hold actions that run every time a user wants to publish a new work or signs up for the archive.+This holds all the relevant database code. This also contains the structure and types for database tables.+These hold actions that run every time a user wants to publish a new work or signs up for the archive. Basically the backend functionality for this project.These hold components that are reused throughout `src/pages`. Like PHP includes but in HTML and JavaScript (well, technically it's JSX).-This holds all the relevant database connecting code. This also contains the types for database tables.+These are the actual routes that are available to end-users. Under the pages are nested pages grouped under folders, namely:-These are the actual pages where data, user interactions, etc happen. So this would be more HTML/CSS/JavaScript-oriented.+These are pages where users can view all user profiles, find a specific user profile, or update their account settings.
+49
-1
astro.config.mjs
···
+1
bun.lock
+4
db/config.ts
······
+2
-1
package.json
+29
src/actions/users.ts
···
src/assets/fonts/opendyslexic/OpenDyslexic-Bold-Italic.otf
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Bold-Italic.woff
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Bold-Italic.woff2
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Bold.otf
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Bold.woff
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Bold.woff2
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Italic.otf
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Italic.woff
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Italic.woff2
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Regular.otf
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Regular.woff
This is a binary file and will not be displayed.
src/assets/fonts/opendyslexic/OpenDyslexic-Regular.woff2
This is a binary file and will not be displayed.
+5
-1
src/assets/styles/base.css
+7
-4
src/components/Settings.astro
······
+4
-1
src/layouts/Layout.astro
···
+18
-19
src/pages/works/[id].astro
···