Skip to content

Instantly share code, notes, and snippets.

View sebiomoa's full-sized avatar

Omo sebiomoa

View GitHub Profile
@sebiomoa
sebiomoa / ChatDemo.tsx
Created March 16, 2026 19:53
WhatsApp-style chat animation component (React + Tailwind CSS)
"use client";
import { useEffect, useRef, useState } from "react";
type Message = {
id: number;
from: "user" | "bot";
text?: string;
card?: { title: string; category: string; score: number; detail: string };
typing?: true;
@sebiomoa
sebiomoa / security.txt
Last active March 9, 2026 04:37
Security.md file for AI Agents
# Security Template
This repository handles production user data and privileged database access. Treat security requirements as **non-optional**.
## Agent Rules (MUST FOLLOW)
- **No secrets in code**
- Never commit: Service role keys, JWT secrets, database passwords, API keys.
- Client-side env vars must be limited to `NEXT_PUBLIC_*` and must be non-sensitive.