···2233A (somewhat barebones) atproto app for creating custom sites without hosting!
4455+> [!CAUTION]
66+> This software is super duper alpha and not tested thoroughly! Use at your own risk!
77+58- Lexicons are located at [`./lexicons`](./lexicons/)
69- Server backend is located at [`./server`](./server/)
710- Upload CLI is located at [`./upload`](./upload/)
···1114## How to:
12151316**View someones site?**
1414-Head to `https://<handle>.atcities.dev/` or `https://<did>.did-<method>.atcities.dev/`.
1717+> Head to `https://<handle>.atcities.dev/` or `https://<did>.did-<method>.atcities.dev/`.
15181619**Upload your own site?**
1717-Use the upload cli. Installation guide below.
2020+> Use the upload cli. Installation guide below.
18211922**Self host atcities.dev?**
2020-Clone this repo and setup the `.env` file for `/server`, then \<build & run instructions here once complete\>
2323+> Clone this repo and setup the `.env` file for `/server`, then run `deno run run`
21242225### CLI installation guide.
2326
+1
server/deno.json
···11{
22 "tasks": {
33 "dev": "deno run --watch --allow-net --allow-env --allow-sys --allow-read=/usr/bin/ldd,./blobs,./src --allow-write=./blobs --allow-ffi --env-file src/index.ts",
44+ "run": "deno run --allow-net --allow-env --allow-sys --allow-read=/usr/bin/ldd,./blobs,./src --allow-write=./blobs --allow-ffi --env-file src/index.ts",
45 "lexgen": "deno run --allow-env --allow-sys --allow-read=.. --allow-write=./src/lexicons --no-prompt @atcute/lex-cli generate -c ./lex.config.js && cat ./src/lexicons/index.ts | sed \"s/.js/.ts/\" > ./src/lexicons/index.ts",
56 "dk": "deno run -A --node-modules-dir npm:drizzle-kit"
67 },