Reconstructing the forgotten voices of the early internet, one fragment at a time, using AI and contextual web research
Project Chronos is an intelligent system that reconstructs fragmented internet messages (slang, acronyms, and incomplete phrases from 2000s-2010s internet culture) into coherent, modern English sentences. It uses advanced AI to understand context, expand slang, and provide relevant historical sources.
- 🤖 AI-Powered Reconstruction - Leverages Google Gemini 2.5 Flash to intelligently reconstruct fragmented messages
- 🔍 Contextual Research - Automatically searches and retrieves relevant sources explaining cultural references
- 🌐 Web Interface - Clean React frontend for easy interaction
- 📚 Historical Context - Provides links to definitions and explanations of internet slang and cultural phenomena
- ⚡ Fast Processing - Efficient API design with Flask backend
Frontend:
- React + Vite
- Modern JavaScript (ES6+)
Backend:
- Python 3.x
- Flask (REST API)
- Google Generative AI (Gemini)
- Serper API (Web Search)
- Node.js (v16 or higher)
- Python 3.8+
- Google Gemini API Key
- Serper API Key
Google Gemini API Key
- Visit Google AI Studio
- Sign in with your Google account
- Click on "Get API Key" or "Create API Key"
- Create a new API key or use an existing one
- Copy your API key (it starts with AIza...)
Important: Keep this key secure and never commit it to version control
Serper API Key
- Go to Serper.dev
- Click "Sign Up" or "Get Started"
- Sign up using your Google account or email
- After logging in, navigate to your Dashboard
- Copy your API key from the dashboard
Note: Serper offers 2,500 free searches, perfect for testing and development
-
Clone the repository
git clone https://github.com/LazyHusky26/SOTY_Hackathon.git cd SOTY_Hackathon -
Install Python dependencies
pip install -r requirements.txt
-
Install Node dependencies (install nodejs first)
npm install
-
Configure environment variables
Copy
.env.exampleto.envand add your API keys:cp .env.example .env
Edit
.envwith your credentials:GEMINI_API_KEY=your_gemini_api_key_here SERPER_API_KEY=your_serper_api_key_here
⚠️ Important:
- Never commit your
.envfile (it's already in.gitignore) - Get your Gemini API key from ai.google.dev
- Get your Serper API key from serper.dev
- Download nodejs from nodejs.org
- After running
npm run dev, wait a few seconds for all the components to start up.
npm run dev- Enter a fragmented message (e.g., "smh Top 8 drama g2g")
- Click "Reconstruct"
- View the AI-reconstructed message in modern English
- Explore contextual sources explaining cultural references
Input:
smh Top 8 drama g2g
Output:
Shaking my head at the drama surrounding MySpace Top 8 rankings; I've got to go.
Sources Provided:
- Urban Dictionary: "smh" definition
- Know Your Meme: MySpace Top 8 culture
- Wikipedia: Early social networking history
SOTY_Hackathon/
├── src/ # React frontend source
│ └── main.jsx # React entry point
├── imgs/ # Project images and assets
├── api.py # Flask REST API server
├── main.py # Core reconstruction logic
├── index.html # HTML entry point
├── package.json # Node dependencies
├── requirements.txt # Python dependencies
├── .env.example # Environment template
└── README.md # Documentation
Reconstructs fragmented text and retrieves contextual sources.
Request:
{
"fragment": "smh g2g brb"
}Response:
{
"original": "smh g2g brb",
"reconstructed": "Shaking my head, I've got to go, but I'll be right back.",
"sources": [
{
"link": "https://www.urbandictionary.com/define.php?term=smh",
"description": "Internet slang meaning 'shaking my head'..."
}
]
}If you encounter any issues or have questions, please open an issue.
- Aarnav Tandava - SE22UARI002
- Meet Sangani – SE24UARI184
- Devi Gottumukkala – SE24UARI081
- Varshika Sriya – SE24UARI146
- Pushpashree Ramgopal – SE24UCSE048
Built with ❤️ for SOTY Hackathon
