尚未检测到更新。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.