···2233PrivacyPin is (going to be) a secure self-hosted location sharing app designed to prioritize user privacy. It offers complete control over location sharing, allowing users to determine who can access their location and when. PrivacyPin is federated, so different servers can interoperate and users are not locked into a single provider. Additionally, it might provide real-time notifications when someone accesses their position (that will require self-hosted notifications, which I'm unsure how much of a pain that is).
4455-65> [!IMPORTANT]
76> I’m in the process of rapidly iterating to establish a base on which testing can begin. The current tech stack is NOT the final one.
87>
···2827* Self-hostable backend server with basic API functionality.
2928* On/off control for location sharing.
3029* Simple UI for sharing location.
3131-* Basic in-app location sharing.
3030+* Basic user authentication system.
3131+* Basic background location service for location sharing.
32323333### **Phase 2 — Security & Usability Enhancements**
34343535-* Basic user authentication system.
3636-* Basic background location service for location sharing
3735* Improved and polished UI/UX for the mobile app.
3836* Server-side data validation.
3937* More robust API design and error handling on the client.
···6866### Setup
69677068```bash
7171-git clone https://github.com/azomDev/PrivacyPin.git
7272-cd PrivacyPin
6969+git clone https://tangled.org/azom.dev/PrivacyPin
7070+cd app
7371bun i
7272+cd ..
7473```
75747675### Running the Environment
77767878-Open **3–4 terminals** and run the following in each:
7777+Open **2 terminals** and run the following in each:
79788079```bash
8181-# Terminal 1
8282-bun run vite
8080+# Start the server
8181+just server # "just s" also works
83828484-# Terminal 2
8585-bun run app
8686-8787-# Terminal 3
8888-bun run server
8383+# Start the app
8484+just app # "just a" also works
89859090-# (Optional) Terminal 4 — to run another app instance
9191-bun run app
8686+# (Optional) Run two apps instead of just one
8787+just duo
9288```
93899490## Contact