···11-# sv
11+hi! welcome to xcvr-frontend!
2233-Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
33+evidently this is a frontend for the xcvr appview, built with sveltekit. the
44+backend is xcvr-backend, also known as rvcx.
4555-## Creating a project
66+to run this, i believe you do npm install and npm run dev. i think you need to
77+create a file titled `.env` in this top level directory with text
88+`VITE_API_URL=http://localhost:8080` in development, or
99+`VITE_API_URL=https://YOUR.DOMAIN` in production, i believe
61077-If you're seeing this, you've probably already done this step. Congrats!
1111+in production, i use the b script (with sudo) to build and serve, this will
1212+probably change bc it takes way too long and i don't wanna sit around doing
1313+nothing for 15 seconds but if you're using the nginx config provided in rvcx,
1414+that will deploy the built server to the appropriate place more or less.
81599-```bash
1010-# create a new project in the current directory
1111-npx sv create
1616+if you'd like to contribute, i'd appreciate any help with respect to anything,
1717+but maybe let me know in advance, both cause i probably am leaving out 99999%
1818+of the information about how these programs actually work, and because as you
1919+can see my commit history is not the cleanest. git is a bit mysterious to me
2020+and i mostly have been testing in production since i didn't think learning how
2121+to set up local oauth testing was worth it a few months ago, but i can be much
2222+cleaner if others are interested in contributing.
12231313-# create a new project in my-app
1414-npx sv create my-app
1515-```
1616-1717-## Developing
1818-1919-Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
2020-2121-```bash
2222-npm run dev
2323-2424-# or start the server and open the app in a new browser tab
2525-npm run dev -- --open
2626-```
2727-2828-## Building
2929-3030-To create a production version of your app:
3131-3232-```bash
3333-npm run build
3434-```
3535-3636-You can preview the production build with `npm run preview`.
3737-3838-> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
2424+as for licenses, i think this is probably under mit, but i don't know all too
2525+much about that crap.
+4
src/routes/+page.svelte
···151151 <span class="mobile">(press aaaaa)</span> and start chatting, make your own,
152152 or login with atproto if you'd like (it's optional, but recommended)
153153 </p>
154154+ <p>
155155+ at this point in history (saturday july 26) probably most things work like
156156+ 70% but expect it to be a bit unpredictable!
157157+ </p>
154158 <p style="border-bottom: .25rem solid var(--fg)">
155159 don't be weird, don't be mean, you're on our computer screens<span
156160 class="footnote">5</span
+21
src/routes/todo/+page.svelte
···11+<main>
22+ <h2>known bugs</h2>
33+ <p>
44+ <b> undo/redo in chat </b> is currently disabled because i believe the events
55+ which fire on these actions don't provide me with enough information to properly
66+ broadcast which text was deleted and which text was appended, so i believe i
77+ need to find a diff library that won't force me to delete the whole message and
88+ rebroadcast it every history event
99+ </p>
1010+ <p>
1111+ <b> inability to validate messages </b> occurs at some points in time, possibly
1212+ after the backend restarts, but i'm not totally sure how or why, oauth is a bit
1313+ mysterious to me still and it's likely a silly error somewhere but if you suddenly
1414+ are unable to make any records while logged in, then you should log out and log
1515+ back in
1616+ </p>
1717+ <h2>upcoming features</h2>
1818+ <p>
1919+ <b> whitelist / blacklist </b> is something that i'll probably add soon
2020+ </p>
2121+</main>