A fork of pds-dash and pds-dash-fork for at.rita.moe. forked from pds.dad/pds-dash-fork at.rita.moe

Files
README.md

pds-dash-fork #

A fork of pds-dash and pds-dash-fork for at.rita.moe.

Copy .env.example to .env and edit values.

  • Install deps: pnpm i
  • Dev: pnpm dev
  • Build: pnpm build

For production, build and run the container with Compose: docker compose up -d --build.
This will use port 8081.

Example Caddyfile:

{
	email <YOUR EMAIL HERE>
	on_demand_tls {
		ask http://localhost:3000/tls-check
	}
}
at.rita.moe {
	# Should be all the endpoints a PDS calls
	@pds {
		path /xrpc/*
		path /account/*
		path /.well-known/*
		path /@atproto/*
		path /oauth/*
	}

	handle @pds {
		reverse_proxy http://localhost:3000
	}

	reverse_proxy http://localhost:8081
}

*.at.rita.moe {
	tls {
		on_demand
	}

	# Redirect root to bsky webapp
	handle / {
		redir https://bsky.app/profile/{host} 302
	}

	reverse_proxy http://localhost:3000
}

license #

MIT