尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗
FLAGIT is a mobile-first Progressive Web App (PWA) for HSE (Health, Safety & Environment) field observation tracking. Built for frontline safety teams to flag hazards, track corrective actions, and drive safety compliance — powered by AI.
| Layer | Technology |
|---|---|
| Frontend | HTML5, CSS3, Vanilla JavaScript |
| Architecture | Single-file PWA (Progressive Web App) |
| Authentication | Supabase Auth |
| Database | Supabase (PostgreSQL) |
| Email Service | Resend via SMTP + getflagit.com domain |
| AI Engine | Anthropic Claude API |
| Hosting | Vercel |
| Domain | getflagit.com (Namecheap) |
git clone https://github.com/kindnessN/flagit-app.git
cd flagit-app
# Open with VS Code Live Server
# Or simply open index.html in your browser
Inside index.html find the configuration section and update:
// Supabase Configuration
const SUPABASE_URL = 'your-supabase-project-url';
const SUPABASE_ANON_KEY = 'your-supabase-anon-key';
// Anthropic API
const ANTHROPIC_API_KEY = 'your-anthropic-api-key';
FLAGIT uses Resend for transactional emails via custom SMTP:
Host: smtp.resend.com
Port: 465
Username: resend
Password: YOUR_RESEND_API_KEY
Sender: [email protected]
Email types supported:
FLAGIT uses the Anthropic Claude API to automatically suggest corrective actions for flagged HSE observations:
// Example AI prompt for corrective action
const response = await fetch('https://api.anthropic.com/v1/messages', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'claude-sonnet-4-20250514',
max_tokens: 1000,
messages: [{
role: 'user',
content: `Suggest corrective actions for this HSE observation: ${observation}`
}]
})
});
FLAGIT is fully installable as a Progressive Web App:
flagit-app/
│
├── index.html # Complete single-file PWA application
├── README.md # Project documentation
└── assets/ # (optional) Icons and images
| Variable | Description |
|---|---|
SUPABASE_URL | Your Supabase project URL |
SUPABASE_ANON_KEY | Your Supabase anonymous key |
ANTHROPIC_API_KEY | Your Anthropic Claude API key |
RESEND_API_KEY | Your Resend email API key |
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Kindness Njoku
This project is licensed under the MIT License — see the LICENSE file for details.
Built with ❤️ for HSE professionals worldwide
🚩 FLAGIT — Flag It. Fix It. Stay Safe.