An open API service indexing awesome lists of open source software.

https://github.com/shared-pointer/ai-powered-document-summary

Project with Volvo
https://github.com/shared-pointer/ai-powered-document-summary

Last synced: 12 months ago
JSON representation

Project with Volvo

Awesome Lists containing this project

README

          

# πŸ¦„ KakaSummary - Silly AI Doc Crusher

*"Because reading is for nerds, summarizing is for cool kids"* - Sun Tzu probably

## πŸŽͺ What's this circus about?
A magical AI that turns your boring long documents into... slightly less boring short documents! Powered by ~~Azure's~~ OpenRouter's brain juice and student tears.

---

## πŸ§žβ€β™‚οΈ OpenRouter Vibes (Free Magic Edition)

### Numero uno - OpenRouter Shenanigans
1. Create an account at [OpenRouter](https://openrouter.ai/) β€” yes, it’s real, and no, it's not a Wi-Fi company.
2. Summon your **API key** from the shadows (or your [dashboard](https://openrouter.ai/account/keys)).
3. Choose a model β€” for this silly quest, I picked [**Mistral Small 3.1 24B (free)**](https://openrouter.ai/mistralai/mistral-small-3.1-24b-instruct:free) because it sounds fancy.
4. Pick the **Free plan** β€” because we’re broke but curious.
5. Browse other free models if you feel spicy 🌢️ β€” this one’s just a humble suggestion.

### Numero dos - The Sacred `.env` Scrolls 🧻

Once you’ve tricked the system into trusting you, create a `.env` file inside `config/` (don’t ask, just do it).

```ini
API_KEY='your-api-key-here' # secret sauce
BASE_URL='https://openrouter.ai/api/v1' # the mothership
MODEL='mistralai/mistral-small-3.1-24b-instruct:free' # free = best flavor
```

## πŸš€ Launch Protocol (for dummies)
### Option A: Docker Magic 🐳
```
make build # Wait for the robot to think
make run # Unleash the beast
```
Then point browser to http://localhost:8501 and pray πŸ™

### Option B: Manual Mode πŸ€“ (nerd) idk if it works
```
pip install -r requirements.txt # Download internet
streamlit run app/main.py # Do the thing
```

## ⚠️ Warning Labels
- Free tier = don't get greedy
- Might summarize "War and Peace" as "Russia lol" πŸ‡·πŸ‡Ί
- No refunds if AI calls your doc "trash" πŸ—‘οΈ

## πŸŽ‰ Special Thanks
~~- Azure for the free(ish) toys~~
- OpenRouter for the free(ish) toys
- My cat for moral support 🐈
- White Monster Energy Drink white monster (powered 99% of this project)