Write smarter prompts. Save tokens. Save energy. Save the planet.
Have you ever thought about the hidden environmental cost of AI?
Every query consumes energy, and scaled across millions of users, this translates into significant CO₂ emissions.
We built Type-less at PennApps to solve this challenge.
Our tool helps people communicate more efficiently with AI by compressing prompts into their essential form — without losing meaning.
With every optimized prompt:
- ⚡ Fewer tokens are processed
- 🌍 Less compute → lower CO₂ footprint
- 📊 Users track their savings in real time
- 🔹 Prompt Optimizer – NLP/ML algorithms shorten redundant queries
- 🔹 Token & CO₂ Savings Tracker – daily and monthly impact dashboard
- 🔹 MongoDB Storage – saves usage history for cumulative stats
- 🔹 Netlify Hosting – fast, serverless frontend deployment
- 🔹 Clean UI – human-friendly design for easy adoption
- Frontend: React, Tailwind CSS
- Backend: Flask (Python)
- Database: MongoDB
- Hosting: Netlify (frontend), Flask backend on local/remote server
- Other Tools: Axios, REST APIs
PennApps/
│── backend/ # Flask API (compression + savings logic)
│── frontend/ # React + Tailwind UI
│── database/ # MongoDB integration
│── utils/ # Helper scripts (CO₂ + token tracking)
│── README.md
git clone https://github.com/hariomsah01/PennApps.git
cd PennAppscd backend
pip install -r requirements.txt
python app.pycd frontend
npm install
npm start👉 To deploy frontend:
- Push your
frontend/folder to a branch - Connect the repo to Netlify
- Netlify auto-builds & deploys your React app
Create a .env file in backend/:
MONGO_URI=your_mongodb_connection_string
- User enters a long prompt in the React UI
- Text is sent to the Flask backend
- NLP/ML logic compresses the prompt (removes redundant words, simplifies)
- MongoDB logs:
- Tokens before vs. after
- Estimated CO₂ savings
- Cumulative daily/monthly impact
- Netlify-hosted frontend displays results + history
- AI queries consume energy-intensive computation
- By saving tokens, we reduce energy load on servers
- Even small savings per prompt → large impact at scale
📌 Studies show:
- Training a single large AI model can emit hundreds of tons of CO₂ (Strubell et al., 2019).
- Even inference (day-to-day queries) adds up across millions of users.
- Chrome extension for live prompt optimization
- Gamified leaderboards (who saves most CO₂)
- Visual dashboards with community impact stats
- Advanced transformer-based compression
We welcome contributions:
- Fork the repo
- Create a branch (
git checkout -b feature-name) - Commit changes (
git commit -m 'Add feature') - Push (
git push origin feature-name) - Open a PR 🚀
Built at PennApps XXVI (2025)
- Hari Om Sah – GitHub | LinkedIn
- Bhavika Kothari – GitHub | LinkedIn
- Sujal Shah – GitHub | LinkedIn
- Sourish Mudumby Venugopal – GitHub | LinkedIn
- Team Type-less 2025
Licensed under the University of Pennsylvania License.