Open Communities is a Sveltekit application that allows users to search for Jewish congregations that are welcoming of Jews opposed to Israel's war in Gaza. The app could feasibly be adapted to any kind of directory, but not without some considerable work.
Install PocketBase and PNPM somewhere in your path. Then:
git clone https://github.com/selfagency/open-communities.git
cd open-communities
pnpm i
pb serve
Log into PocketBase, create an admin account, then import pb_schema.json
. You can also create a user account and grant it 'admin' privileges. Admins can only be enabled through the backend, not through the frontend app. You'll also need to import a dump of the location data, which is a little large to contain in the repo, so be in touch. I may switch to using an external API in the near future.
Setup a Sentry project and get site credentials from Prosopo for captcha. Then create a .env
file containing:
PUBLIC_HOSTNAME="http://localhost:5173"
PUBLIC_API_ENDPOINT="http://127.0.0.1:8090"
PUBLIC_SENTRY_DSN=""
SENTRY_AUTH_TOKEN=""
SENTRY_PROJECT=""
SENTRY_ORG=""
PUBLIC_PROSOPO_SITEKEY=""
PROSOPO_ENDPOINT=""
PROSOPO_SECRET=""
VERCEL_ENV="development"
VERCEL_GIT_COMMIT_SHA="dev"
pb serve & pnpm run dev
This project is intended to be deployed to Vercel with an existent PocketBase backend. Just link the repo from your own GitHub or GitLab to your Vercel project and it will deploy automatically with each push to the main
branch.
Made with:
Fonts provided by The Braille Institute and Prioritype Co.
Icons by Lucide and The Noun Project (Ferifrey, Agarunov Oktay-Abraham, filosovis, and Arthur Shlain)
Illustrations by Icons8
Map data provided by OpenStreetMaps