Skip to main content

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 /start for dashboard
  • Send /setup for 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 Bullet style (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.toml for Python dependencies

๐Ÿ“„ License

MIT โ€” Use freely, modify, distribute.


Salim v13 โ€” Made with โค๏ธ for productivity

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

salim-2.1.1.tar.gz (278.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

salim-2.1.1-py3-none-any.whl (291.0 kB view details)

Uploaded Python 3

File details

Details for the file salim-2.1.1.tar.gz.

File metadata

  • Download URL: salim-2.1.1.tar.gz
  • Upload date:
  • Size: 278.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for salim-2.1.1.tar.gz
Algorithm Hash digest
SHA256 96e4b1002ec4d63816cba75ec8f818dfbfd507c6e0297fa4ba907ffd5b807905
MD5 ebea9c2b13f4ee329edcc20de909012f
BLAKE2b-256 e6ac2c4e07ce3c489e0365850c6c2e00b12aaa7781ffe77c7f65163f1fa96c8f

See more details on using hashes here.

File details

Details for the file salim-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: salim-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 291.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for salim-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1615df7ea8d27ea4b298aa915c3ca0c0738a13eb000d75c93dc8c023212810c2
MD5 6d4e806036698e2fe5f832cd6da4d578
BLAKE2b-256 be1d580c5066f668126b8378776bd125e4bba417b240e2fe3570f2b352bf6ac4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page