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
- Host: GitHub
- URL: https://github.com/shared-pointer/ai-powered-document-summary
- Owner: Shared-Pointer
- Created: 2025-03-17T20:00:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-18T17:42:36.000Z (about 1 year ago)
- Last Synced: 2025-05-18T18:36:05.883Z (about 1 year ago)
- Language: Python
- Size: 74.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
(powered 99% of this project)