Control your entire laptop from Telegram โ AI agent, weather, calendar, web search, git, reminders, crypto/stocks, backups, translation, network scanner, daily digest, and more.
Project description
๐ค Salim v13 โ Your AI-Powered Laptop Assistant on Telegram
Control your entire laptop, create professional documents, send beautiful emails, and automate your digital life โ all through Telegram.
No cloud. No subscriptions. 100% yours.
โจ What's New in v13
| Feature | Description |
|---|---|
| ๐ SKILL.md Engine | Documents created using professional .md skill files (docx-js, pptxgenjs, openpyxl) |
| ๐ง HTML Emails | All emails sent as beautiful HTML with gradient headers, styled paragraphs |
| ๐งญ Plain English | Type anything โ no / needed. "create an invoice" works without /agent |
| ๐ธ Smart Photos | Send photo + caption "save this" or "email to x@y.com" โ auto-acted |
| โฑ๏ธ 25s Confirmation | Dangerous actions show countdown โ auto-approves if no response |
| ๐ฏ Step-by-Step UI | Agent shows rich progress: step number, thought, action, result per step |
| โ๏ธ Onboarding | /setup wizard for image save folder, document folder |
| ๐ Real Docs | Word via docx-js (Arial fonts, DXA tables), Excel with real =SUM() formulas |
โจ Full Capabilities
| Category | Capability |
|---|---|
| ๐ฅ๏ธ System | Screenshots, process control, power (shutdown/sleep/lock), disk info |
| ๐ Shell | Run any terminal command, live output streaming |
| ๐ Files | Browse, upload, download, search, watch for changes |
| ๐ง AI | Natural language, chat memory, vision (describe images), plain-English routing |
| ๐ Documents | DOCX (docx-js), XLSX (openpyxl+formulas), PDF, PPTX (pptxgenjs), CSV |
| ๐ง Email | Beautiful HTML emails, SMTP/IMAP, attachments, reply, search |
| ๐ค Agent | Autonomous multi-step: "create invoice and email it to client" |
| ๐ธ Images | Photo โ auto-save to folder, email attachment, AI vision analysis |
| ๐ Weather | Real-time forecasts, 7-day (Open-Meteo, free) |
| ๐ Calendar | Local calendar, add/view/search events |
| ๐ Web | Fetch pages, DuckDuckGo search, news, YouTube summaries |
| ๐ Git | Full git control โ status, commit, push, pull, clone, branch |
| ๐ Digest | Morning briefing: weather + calendar + email + news + system health |
| ๐ Translate | 30+ languages via LibreTranslate |
| ๐ Network | Port scanner, network devices, ping, DNS, traceroute, WHOIS |
| โฐ Reminders | Natural language: "remind me to call John in 2 hours" |
| ๐ฐ Finance | Stocks, crypto, forex in real-time (Yahoo Finance + CoinGecko) |
| ๐พ Backup | rsync/tar encrypted file backups |
| ๐ Transcript | JSONL session logs, searchable audit trail |
| ๐ Alerts | CPU/RAM/disk/temp thresholds |
| ๐๏ธ Voice | Voice message โ transcribes + executes |
| ๐ท Camera | Webcam snapshots, motion detection |
| ๐ SSH | Remote control other machines |
| ๐ Browser | Playwright automation, screenshots, form filling |
| ๐๏ธ Notes | Quick note-taking, searchable |
| ๐พ Memory | Persistent user memory across sessions |
| ๐ Skills | Dynamic .md skill files (docx, xlsx, pptx, pdf) + Python plugins |
๐ Quick Start
pip install salim
salim setup # enter bot token + allowed user ID
salim # start the bot
Then in Telegram:
- Send
/startfor dashboard - Send
/setupfor onboarding (set image/document save folders) - Just type anything in plain English โ no
/needed!
๐ฌ Plain English Examples (No Commands Needed!)
Just type these naturally in Telegram:
"create an invoice for ABC Company for $5,000"
โ Salim creates a professional DOCX invoice and sends it to you
"send email to boss about the project update"
โ Salim composes and sends a beautiful HTML email
"what's the weather in Dubai?"
โ Shows real-time weather
"remind me to call Ahmed at 3pm"
โ Sets a reminder
"take a screenshot"
โ Takes and sends a screenshot
"translate 'hello world' to Arabic"
โ Translates immediately
"what's the Bitcoin price?"
โ Shows current BTC price
"check disk space"
โ Shows disk usage
๐ Document Creation (Skill-Powered)
Salim uses professional skill .md files to create documents:
Word Documents (DOCX)
Uses docx-js (Node.js) following SKILL.md rules:
- Arial font throughout
- Navy blue H1, steel blue H2 headings
- Proper
List Bulletstyle (no unicode bullets) - Tables with dual DXA widths, CLEAR shading
- US Letter page (12240ร15840 DXA)
- Professional footer with date
"create a word document with a sales report for Q1 2025"
"/agent create word invoice for Client XYZ $10,000"
"/agent write resignation letter for Ahmed, last day April 30"
Excel Spreadsheets (XLSX)
Uses openpyxl with real Excel formulas:
- Blue headers (white text), alternating row fills
- Real
=SUM()formulas (never Python-calculated values) - Color coding: blue=inputs, black=formulas
- Frozen top row, auto-column widths
"create an excel salary sheet for 10 employees"
"/agent create excel budget for Q2 with projections"
PowerPoint (PPTX)
Uses pptxgenjs (Node.js) following design rules:
- 16:9 layout
- Dark title slide, light content slides
- Bold slide numbers, proper bullet formatting
"/agent create pptx sales pitch 6 slides"
Email (HTML)
All emails sent with beautiful HTML:
- Gradient header (navy โ steel blue)
- Styled body paragraphs
- Professional footer
- Plain-text fallback included
"/agent email send to client@company.com subject Invoice attached body Please find..."
๐ธ Photo Commands
Send any photo with a caption:
| Caption | Action |
|---|---|
save this |
Saves to your configured image folder |
email to user@example.com |
Sends as email attachment |
what is this? |
AI vision analysis |
read this text |
OCR / text extraction |
describe |
Full image description |
Set your image save folder: /setup
๐ Skills System (SKILL.md)
Salim downloads and uses professional .md skill files:
~/.salim/skill_docs/docx.mdโ Word document rules~/.salim/skill_docs/xlsx.mdโ Excel rules~/.salim/skill_docs/pptx.mdโ PowerPoint rules~/.salim/skill_docs/pdf.mdโ PDF rules
View skills: /skilldocs
Install Python skill plugin: /skilladd <url>
List plugins: /skills
๐ All Commands
Agent & AI
| Command | Description |
|---|---|
/agent <goal> |
Autonomous multi-step task |
/think <problem> |
Deep reasoning |
/goal |
Manage persistent goals |
/hypo <hypothesis> |
Test hypotheses |
/beliefs |
Agent knowledge base |
/rapport |
Communication style |
/selfcheck |
Self-assessment |
/agentmode <mode> |
brief/detailed/empathy |
/probe <topic> |
Investigate + hypothesize |
System
| Command | Description |
|---|---|
/info |
Full system overview |
/cpu /mem /disk /battery /network |
Individual metrics |
/top |
Live resource monitor |
/ps [name] |
Running processes |
/kill <pid> |
Kill process |
Shell & Files
| Command | Description |
|---|---|
/run <cmd> |
Execute shell command |
/ls [path] |
List directory |
/cat <file> |
Read file |
/find <pattern> |
Search files |
/download <path> |
Download file |
/write <file> <content> |
Create/overwrite file |
/zip /unzip |
Archive operations |
Web & Info
| Command | Description |
|---|---|
/web <url> |
Fetch and summarize |
/websearch <query> |
DuckDuckGo search |
/webnews <topic> |
Latest news |
/weather [city] |
Weather forecast |
/translate <text> |
Translate to any language |
Finance
| Command | Description |
|---|---|
/price <BTC|AAPL> |
Stock/crypto price |
/market |
Major market indices |
/fx <USD EUR 100> |
Currency exchange |
Calendar & Reminders
| Command | Description |
|---|---|
/cal [add|list|search] |
Calendar management |
/remind <natural language> |
Set reminder |
/reminders |
List reminders |
/at <time> <cmd> |
Schedule command |
/every <interval> <cmd> |
Repeat command |
Communication
| Command | Description |
|---|---|
/vision on|off |
Auto-describe photos |
/askvision <question> |
Ask about last photo |
/tts <text> |
Text-to-speech |
/say <text> |
Speak text |
Setup & Config
| Command | Description |
|---|---|
/setup |
Onboarding wizard |
/config |
Bot settings |
/skilldocs |
List SKILL.md files |
/skills |
List skill plugins |
/skilladd <url> |
Install skill plugin |
/status |
Bot health check |
/digest |
Morning briefing |
โ๏ธ Configuration
salim setup
Configures:
- Telegram Bot Token
- Allowed User IDs
- AI API Keys (NVIDIA NIM / Groq / Z.AI)
- Email (SMTP/IMAP)
Then in Telegram: /setup for:
- Image save directory
- Documents save directory
๐๏ธ Architecture
salim/
โโโ bot.py # Main bot class (all handlers)
โโโ ai.py # AI engine (NVIDIA NIM โ Groq โ Z.AI)
โโโ handlers/
โ โโโ agent.py # Office agent (doc creation via skills)
โ โโโ skill_engine.py # SKILL.md loader, docx-js, pptxgenjs, xlsx
โ โโโ onboarding.py # First-run setup wizard
โ โโโ ai_handler.py # NLP routing + plain-English understanding
โ โโโ vision.py # Image AI + auto-save photos
โ โโโ agent_advanced.py # EQ, goals, beliefs, rapport
โ โโโ ... # 30+ other handlers
โโโ skill_docs/ # ~/.salim/skill_docs/*.md
โโโ docx.md
โโโ xlsx.md
โโโ pptx.md
โโโ pdf.md
๐ฆ Requirements
- Python 3.11+
- Node.js 18+ (for docx-js and pptxgenjs)
npm install -g docx pptxgenjs(auto-detected)- See
pyproject.tomlfor Python dependencies
๐ License
MIT โ Use freely, modify, distribute.
Salim v13 โ Made with โค๏ธ for productivity
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file salim-2.0.6.tar.gz.
File metadata
- Download URL: salim-2.0.6.tar.gz
- Upload date:
- Size: 258.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af7929229dc0a02f3bace0c42115639a884eff437c9868aede645c6b178b6499
|
|
| MD5 |
7634f41a4d251edb87b2fcaaa1774872
|
|
| BLAKE2b-256 |
76432464dfb21ac04b01937f161e5aac392f0ae48d6f9ef1c2cc94b7ba54caad
|
File details
Details for the file salim-2.0.6-py3-none-any.whl.
File metadata
- Download URL: salim-2.0.6-py3-none-any.whl
- Upload date:
- Size: 269.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6c7e2da55152d64b6a9abba369bca7e0e7899cffe9700f4dbfd5833cd9d92dd
|
|
| MD5 |
9ce5f6adc3cd12198b43b0df1ae5e129
|
|
| BLAKE2b-256 |
5831acda3dfafeaa4f4a02f29307f8eba78253f08bcbe6f786f8ca7721a40997
|