A comprehensive, multilingual digital safety guide designed to support individuals navigating online harassment and complex digital safety situations. This platform provides actionable advice through logic-based workflows and specialized resources.
- Multilingual Support: Available in English and Taglish (Tagalog-English) to ensure accessibility.
- Interactive Logic Trees: Guided questionnaires that lead users to specific, actionable advice based on their situation.
- Resource Repository: Curated links to hotlines, reporting tools, and support organizations.
- PDF Generation: Users can download localized guides and action plans for offline reference.
- Stateless Architecture: Simplified deployment with no backend database requirement.
- Frontend: React 19, Vite, Lucide React (Icons), jsPDF (PDF generation).
- Backend: Express (Static file serving and health checks).
- Tooling: ESLint, Vite.
.
βββ client/ # React Frontend
β βββ public/ # Static assets (data, images)
β βββ src/ # Source code
β β βββ components/ # UI Components
β β βββ locales/ # Translation files (i18n)
β β βββ utils/ # Helper functions
β βββ scripts/ # Build and data processing scripts
βββ server/ # Express Backend (Static server)
β βββ server.js # Server configuration
βββ analysis.js # Workflow analysis utility
- Node.js (v18+ recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/devgateway/digital-safety-guide.git cd digital-safety-guide -
Setup Client:
cd client npm install -
Setup Server:
cd ../server npm install
To run the application for development, you typically want to start the client:
cd client
npm run devFor production-like environment testing, build the client and run the server:
cd client
npm run build
cd ../server
node server.jsThe server will be running at http://localhost:3000.
The application is designed to be served as a static site. The Express server in the server/ directory is configured to serve the built contents of the client/dist directory.
We welcome contributions! Please feel free to submit issues or pull requests.
All rights reserved by IREX and Development Gateway.