Important
Safe Travels is not yet ready for general use. Feel free to take a professional interest or contribute, but consider the application to be in early beta.
Safe Travels is a privacy oriented travel platform for self hosting. Check out the public demo, or our documentation
Show your current location and travelled route. Your location is tracked no measurable effect on your battery life, and works while the app is not even running or open in the background.
Upload photos and text onto a feed.
Privacy is a cornerstone of SafeTravels. While many platforms collect and sell your data, SafeTravels let's you control the data and will never sell this in any way.
Includes other safety features like:
- Blocking location tracking near your home
- Password protection of the main site
You should be able to host Safe Travels yourself, for free. However it does require some technical knowledge to set up.
Web hosting: Vercel
- Large free tier
- Automatic static generation & optimization
- Built in analytics
Database: MongoDB (Atlas)
- Large free tier
- Document structure allows for a lot of customization
- Relational databases are for nerds 🤓
Object storage: Cloudflare R2
- Great free tier
Create a .env
in apps/web
based on the .env.example
.
npm i
& npm run dev
should take care of everything.
- localhost:3000 will run apps/web
- localhost:3001 will run apps/docs
You can run cd packages/tools && npm run seed
to seed you own environment with test data. To clear it, remove your database.
Make sure you are also running web, as this contains the API.
apps/docs
: a docusaurus app serving as the main website of safe travels.apps/quick-setup
: (under construction) a cli tool that can set up your database and hosting.apps/web
: the web app that visualizes your journey.apps/android
: the android app for personal tracking and updating your feed.
packages/models
: Shared API models for all apps.packages/tools
: Tools to set up and manage a local environmentpackages/eslint-config
: eslint configurations.packages/typescript-config
: tsconfig's used throughout the monorepo.
- Prettier - Code formatter - by Prettier
- ESLint - by Microsoft