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 v12 โ€” Your AI-Powered Laptop Assistant on Telegram

Control your entire laptop, run autonomous tasks, and automate your digital life โ€” all through Telegram.
No cloud. No subscriptions. 100% yours.


โœจ What Salim Can Do

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 understanding, chat memory, vision (describe images)
๐Ÿ“„ Documents Create DOCX, XLSX, PDF, PPTX, CSV โ€” receive real files in Telegram
๐Ÿ“ง Email Send, read, reply, search via SMTP/IMAP โ€” no third-party app
๐Ÿค– Agent Autonomous multi-step task execution โ€” "create an invoice and email it"
๐ŸŒ Weather Real-time forecasts, 7-day outlook (Open-Meteo, free, no API key)
๐Ÿ“… Calendar Google 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 (free, open-source)
๐Ÿ”Œ 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, free)
๐Ÿ’พ Backup rsync/tar encrypted file backups, scheduled recurring
๐Ÿ“‹ Transcript JSONL session logs, searchable audit trail, token usage stats
๐Ÿ”” Alerts CPU/RAM/disk/temp thresholds with call/video Telegram buttons
๐ŸŽ™๏ธ Voice Send a voice message โ†’ Salim transcribes and executes
๐Ÿ“ท Camera Webcam snapshots, motion detection alerts
๐Ÿ–ฅ๏ธ Stream Live screen stream to Telegram
๐Ÿ” SSH Remote control other machines from the same bot
๐ŸŒ Browser Playwright browser automation, screenshots, form filling
๐Ÿ—‚๏ธ Notes Quick note-taking, searchable
โฑ๏ธ Scheduler Cron-style task scheduler
๐Ÿ’พ Memory Persistent user memory across sessions
๐Ÿ”Œ Skills Dynamic plugin system โ€” install community skills

๐Ÿš€ Quick Start

pip install salim
salim setup    # enter bot token + allowed user ID
salim          # start the bot

All dependencies install automatically. You'll be running in under 2 minutes.


๐Ÿ“ฆ Installation & Auto-Install

Salim installs all required libraries automatically on first run:

pip install salim          # installs everything
salim setup                # one-time config wizard
salim                      # start

# Force reinstall all deps
python -m salim._post_install --force

# Install with optional extras
pip install salim[gcal]    # Google Calendar OAuth
pip install salim[youtube] # YouTube video summarizer (yt-dlp)
pip install salim[all]     # everything

If any optional library fails to install (e.g., PyAudio on certain systems), Salim logs a warning and continues โ€” no crash. Every feature degrades gracefully.

System tools (detected and hinted, not silently broken):

  • ffmpeg โ€” for audio conversion
  • nmap โ€” for full network scanning
  • rsync โ€” for file backups (falls back to tar)
  • git โ€” for git commands

๐ŸŒ Weather

Real-time weather powered by Open-Meteo โ€” completely free, no API key.

/weather                    โ€” weather at your saved location
/weather London             โ€” weather for any city
/weather London 5           โ€” 5-day forecast
/weather set Dubai          โ€” save your default city

Shows: condition, temperature, feels-like, humidity, wind speed, precipitation, sunrise/sunset.


๐Ÿ“… Calendar

Works with Google Calendar (optional OAuth) or a built-in local calendar with no setup.

/cal                        โ€” today's events
/cal tomorrow               โ€” tomorrow's events
/cal week                   โ€” this week's events
/cal add Meeting with Alex tomorrow 3pm
/cal add Dentist April 15 10am 1h
/cal search project
/cal delete <id>
/cal setup                  โ€” Google Calendar OAuth guide

No Google account needed โ€” local calendar works out of the box.


๐ŸŒ Web Search & Fetch

DuckDuckGo search, webpage reader, news aggregator, YouTube summarizer โ€” no API keys.

/websearch latest AI news
/webnews Bitcoin
/web https://example.com          โ€” fetch + extract content
/web summary https://example.com  โ€” AI-powered page summary
/webread https://example.com      โ€” full readable text as file
/yt https://youtube.com/watch?v=  โ€” video info + AI summary

๐Ÿ”€ Git Control

Full git operations from your phone.

/git                       โ€” status of current repo
/git log 20                โ€” last 20 commits
/git diff                  โ€” uncommitted changes
/git pull                  โ€” pull from remote
/git push                  โ€” push to remote
/git commit Fixed bug in auth module
/git checkout feature/new-ui
/git clone https://github.com/user/repo
/git branch                โ€” list all branches
/git repos                 โ€” find git repos on this machine
/git cd ~/Projects/myapp   โ€” set working repository

๐ŸŒ… Daily Digest

One command gives you everything you need to start the day.

/digest                    โ€” full morning briefing now
/digest schedule 7:30      โ€” auto-send every morning at 7:30am
/digest stop               โ€” cancel scheduled digest

The digest includes:

  • ๐ŸŒ Weather at your location
  • ๐Ÿ“… Calendar events for today
  • ๐Ÿ“ง Unread email count + important senders
  • ๐Ÿ“ฐ Top news headlines
  • ๐Ÿ’ป System health (CPU, RAM, disk, battery)
  • ๐Ÿ‘‹ Greeting based on time of day

๐ŸŒ Translation

Translate between 30+ languages using LibreTranslate โ€” free, open-source, self-hostable.

/translate Hello world to Arabic
/translate Bonjour monde           โ€” auto-detect โ†’ English
/tl ar How are you?                โ€” shorthand: /tl <lang> <text>
/tl zh Good morning everyone
/translate sethost http://localhost:5000   โ€” use your own instance

Supported: English, Arabic, French, German, Spanish, Italian, Portuguese, Russian, Chinese, Japanese, Korean, Hindi, Urdu, Turkish, Persian, Hebrew, and 20+ more.

Falls back to AI translation if no LibreTranslate instance is reachable.


๐Ÿ”Œ Network & SysMon

/ports                     โ€” open ports on this machine
/portscan 192.168.1.1      โ€” scan ports on any host
/netdevices                โ€” find all devices on local network (nmap/ARP)
/myip                      โ€” local IP + public IP
/ping google.com
/dns openai.com
/traceroute 8.8.8.8
/whois github.com

Requires nmap for full network scan (sudo apt install nmap or brew install nmap). Falls back to ARP table without it.


โฐ Reminders

Natural language reminder system โ€” no date format to learn.

/remind me to call John in 2 hours
/remind take medicine every day at 8am
/remind standup meeting tomorrow at 9am
/remind backup server every week
/remind gym in 30 minutes

/reminders                 โ€” list all reminders
/remdel <id>               โ€” delete a reminder
/remclear                  โ€” clear all reminders

Recurring reminders survive restarts. All reminders fire even when you're away from keyboard.


๐Ÿ’ฐ Stocks, Crypto & Forex

Real-time prices from Yahoo Finance and CoinGecko โ€” both free, no API key.

/price AAPL                โ€” Apple stock price
/price BTC ETH SOL         โ€” multiple crypto prices
/price AAPL MSFT GOOGL     โ€” multiple stocks

/market                    โ€” S&P 500, Dow, NASDAQ, FTSE, Nikkei, Gold, Oil

/fx USD to AED             โ€” exchange rate
/fx 1000 SAR to USD        โ€” currency conversion
/fx 500 EUR to GBP

Shows: price, 24h change %, market cap (crypto), exchange.


๐Ÿ’พ Backup

File backups using rsync (incremental, fast) with tar.gz fallback.

/backup now ~/Documents
/backup now ~/Projects to /Volumes/ExternalDrive
/backup schedule ~/Documents daily 2am
/backup schedule ~/Projects weekly
/backup list               โ€” scheduled backups
/backup status             โ€” last backup results
/backup cancel <id>        โ€” cancel a schedule

๐Ÿ“‹ Session Transcript

Every AI conversation is automatically saved as replayable JSONL, inspired by OpenClaw's architecture.

/transcript                โ€” today's turns
/transcript stats          โ€” 30-day token usage + cost estimate
/transcript search meeting โ€” search past conversations
/transcript export         โ€” download full JSONL log
/transcript clear          โ€” wipe today's log

๐Ÿค– Autonomous Agent

The most powerful feature. Give Salim a complex task and it figures out all the steps.

/agent create a professional invoice for ABC Corp 5000 USD and email it to billing@abc.com
/agent summarize all PDFs in my Downloads folder and create an Excel report
/agent fetch the homepage of anthropic.com and write a one-page summary as a Word doc
/agent check my email, find anything from my boss, and draft a reply

/agentstop                 โ€” stop running agent
/agentstatus               โ€” check if agent is running
/agentlog                  โ€” see last agent run steps
/agenthelp                 โ€” full guide

๐Ÿ“„ Document Creation

All documents are real files โ€” no placeholders, no mocks.

/agent create a resignation letter for [company]
/agent make an Excel salary sheet for 10 employees
/agent create a PowerPoint pitch deck with 5 slides about AI trends
/agent convert report.docx to PDF

Files are automatically sent to your Telegram chat.


๐Ÿ“ง Email

Full SMTP/IMAP email integration. Works with Gmail, Outlook, Yahoo, or any email provider.

# Setup (one time)
/agent email setup

# Send email
/agent email send to boss@company.com subject Monthly Report body Done. attach report.xlsx

# Read inbox
/agent email read 10
/agent email search invoice

# Reply
/agent email reply to ID123 body Thanks, will review by Friday.

๐Ÿ”” Alert System

Automatic monitoring with escalating notifications.

/alert cpu 80              โ€” alert when CPU > 80%
/alert ram 90              โ€” alert when RAM > 90%
/alert disk 95             โ€” alert when disk > 95%
/alert temp 75             โ€” alert when CPU temp > 75ยฐC
/alert process chrome      โ€” alert if process stops

/alerts                    โ€” list active alerts
/alertstop <id>            โ€” stop an alert

Alert messages include inline buttons:

  • ๐Ÿ“ž Call Now โ€” opens a Telegram voice call
  • ๐Ÿ“น Video Call Now โ€” opens a Telegram video call
  • โœ… Acknowledge โ€” marks alert as seen

Use --call or --video flags: /alert cpu 90 --call


๐Ÿ–ฅ๏ธ System Control

/screenshot                โ€” take screenshot
/screen                    โ€” start live screen stream
/screenstream stop

/ps                        โ€” running processes
/kill <pid>                โ€” kill a process
/top                       โ€” CPU/RAM usage

/shutdown                  โ€” shutdown PC
/restart                   โ€” restart PC
/sleep                     โ€” sleep mode
/lock                      โ€” lock screen

๐Ÿš Shell

/shell ls -la ~/Desktop
/shell git log --oneline -20
/shell df -h
/shell python3 script.py
/run python3 script.py      โ€” alias

๐Ÿ“ Files

/ls                        โ€” list current directory
/cd ~/Desktop              โ€” change directory
/find *.pdf                โ€” find files by pattern
/upload                    โ€” send a file to your PC
/download ~/file.pdf       โ€” download a file from your PC
/watch ~/Downloads         โ€” watch a folder for changes

๐Ÿ” SSH

/ssh_add myserver          โ€” register a remote host
/ssh myserver ls -la       โ€” run command on remote
/ssh_upload myserver local.txt /remote/path/
/ssh_download myserver /remote/file.txt

๐ŸŽ™๏ธ Voice Messages

Send a voice message โ†’ Salim transcribes it (Whisper, offline) โ†’ executes the command.


๐Ÿ“ท Camera

/camera                    โ€” take webcam snapshot
/camera 5                  โ€” take 5 photos
/motion                    โ€” start motion detection alerts
/motionstop                โ€” stop motion detection

๐ŸŒ Browser Automation

/browse https://example.com         โ€” open page, take screenshot
/browse click "Sign In"
/browse type username admin
/browse screenshot
/browse pdf                          โ€” save page as PDF

๐Ÿ” Intrusion Detection

/guard on                  โ€” enable intrusion detection
/guard off                 โ€” disable
/guard status              โ€” current status

Triggers when unauthorized users message the bot.


๐Ÿ“ Notes

/note Buy groceries
/note Meeting notes: discussed Q4 targets
/notes                     โ€” list all notes
/notedel 3                 โ€” delete note #3

โฑ๏ธ Scheduler

/at 2pm /screenshot        โ€” run command at specific time
/every 30m /ps             โ€” run every 30 minutes
/jobs                      โ€” list scheduled jobs
/jobcancel <id>            โ€” cancel a job

๐Ÿ”Œ Skills (Plugins)

/skills                    โ€” list installed skills
/skilladd https://...      โ€” install community skill

Skills are Python files you drop in ~/.salim/skills/. Each skill adds new /commands.


โš™๏ธ Configuration

Stored in ~/.salim/config.enc (encrypted).

salim setup                # full wizard
salim config show          # view current settings
salim config set key value # update a value

Key settings:

  • bot_token โ€” your Telegram bot token (from @BotFather)
  • allowed_users โ€” comma-separated Telegram user IDs
  • ai_api_key โ€” NVIDIA NIM / OpenAI compatible key for AI features
  • ai_model โ€” model to use (default: meta/llama-3.1-70b-instruct)

๐Ÿ”ง Advanced

Run as a background service:

# systemd (Linux)
salim install-service
systemctl --user start salim

# launchd (macOS)
salim install-service
launchctl start salim

Update:

pip install --upgrade salim
# All new deps install automatically on next start

Logs:

salim --verbose            # verbose mode
~/.salim/logs/             # log files
/transcript stats          # AI usage stats from inside Telegram

๐Ÿ“‹ All Commands

Command Description
/start Welcome message
/help Full command list
System
/screenshot Take a screenshot
/screen Live screen stream
/ps Running processes
/kill <pid> Kill a process
/top CPU/RAM monitor
/sysinfo System information
Shell
/shell <cmd> Run terminal command
/run <cmd> Alias for shell
Files
/ls List directory
/cd <path> Change directory
/find <pattern> Find files
/watch <path> Watch for changes
Power
/shutdown Shutdown PC
/restart Restart PC
/sleep Sleep mode
/lock Lock screen
AI & Agent
/agent <task> Autonomous task
/agentstop Stop agent
/agentlog Last agent log
/agenthelp Agent guide
Weather
/weather [city] [days] Weather forecast
Calendar
/cal [today/week/add] Calendar
Web
/websearch <query> Web search
/webnews <topic> News on topic
/web <url> Fetch webpage
/yt <url> YouTube summary
Git
/git <subcommand> Git control
Digest
/digest Morning briefing
Translation
/translate <text> to <lang> Translate
/tl <lang> <text> Quick translate
Network
/ports Open ports
/netdevices LAN devices
/myip Local + public IP
/ping <host> Ping
/dns <domain> DNS lookup
/traceroute <host> Traceroute
/whois <domain> WHOIS
Reminders
/remind <text> Set reminder
/reminders List reminders
/remdel <id> Delete reminder
Finance
/price <symbol> Stock/crypto price
/market Market overview
/fx <from> to <to> Currency rate
Backup
/backup now <path> Backup now
/backup schedule Schedule backup
Transcript
/transcript View session log
/transcript stats Token usage
/transcript export Download JSONL
Alerts
/alert <type> <threshold> Set alert
/alerts List alerts
Notes
/note <text> Add note
/notes List notes
Scheduler
/at <time> <cmd> Run at time
/every <interval> <cmd> Recurring
/jobs Scheduled jobs
SSH
/ssh_add <host> Register host
/ssh <host> <cmd> Run remote cmd
Browser
/browse <url> Browser control
Voice/Camera
/camera Webcam snapshot
/tts <text> Text-to-speech
QR
/qr <text> Generate QR code
Skills
/skills List plugins
/skilladd <url> Install plugin

๐Ÿ†• What's New in v12

11 new capability modules, all real implementations:

  • ๐ŸŒ Weather โ€” Open-Meteo (free, no key), real forecasts, 7-day outlook, saves default city
  • ๐Ÿ“… Calendar โ€” Google Calendar OAuth + local calendar fallback, natural language date parsing
  • ๐ŸŒ Web โ€” DuckDuckGo HTML search (no API key), full page reader, AI summaries, YouTube info
  • ๐Ÿ”€ Git โ€” Full git control, auto-finds repos, clone to Desktop, branch/commit/push/pull
  • ๐ŸŒ… Daily Digest โ€” Automated morning briefing combining 5 data sources
  • ๐ŸŒ Translation โ€” LibreTranslate (self-hostable), 30+ languages, AI fallback
  • ๐Ÿ”Œ Network/SysMon โ€” Port scanner, LAN device discovery (nmap/ARP), DNS, ping, traceroute, WHOIS
  • โฐ Reminders โ€” Natural language parsing, recurring reminders, survive restarts
  • ๐Ÿ’ฐ Finance โ€” Yahoo Finance + CoinGecko (both free), stocks/crypto/forex, market overview
  • ๐Ÿ’พ Backup โ€” rsync incremental backups with tar.gz fallback, scheduled recurring
  • ๐Ÿ“‹ Transcripts โ€” JSONL session audit log (OpenClaw-inspired), searchable, token stats

Auto-install: all new dependencies install automatically on pip install --upgrade salim.


๐Ÿ—๏ธ Architecture

~/.salim/
โ”œโ”€โ”€ config.enc           # encrypted config
โ”œโ”€โ”€ memory.json          # persistent user memory
โ”œโ”€โ”€ alerts.json          # active alert monitors
โ”œโ”€โ”€ reminders.json       # pending reminders
โ”œโ”€โ”€ transcripts/         # JSONL session logs (per user per day)
โ”‚   โ””โ”€โ”€ session_<uid>_<date>.jsonl
โ”œโ”€โ”€ backups/             # local file backups
โ”œโ”€โ”€ calendar/            # calendar data + Google OAuth token
โ”œโ”€โ”€ skills/              # installed skill plugins
โ”œโ”€โ”€ logs/                # application logs
โ””โ”€โ”€ agent/               # agent run logs

Every component stores its state in ~/.salim/. Nothing goes to the cloud without your explicit configuration.


๐Ÿ”’ Security

  • All config stored encrypted on disk (Fernet symmetric encryption)
  • Allowlist only โ€” only your Telegram user IDs can control the bot
  • Intrusion detection โ€” unauthorized attempts trigger instant alerts
  • SSH keys stored encrypted, never plaintext
  • Email credentials stored with chmod 600 (owner-read-only)

๐Ÿ“„ License

MIT โ€” free to use, modify, and distribute.


Built with โค๏ธ using Python, python-telegram-bot, and 100% free/open-source tools.

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.0.4.tar.gz (249.4 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.0.4-py3-none-any.whl (255.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for salim-2.0.4.tar.gz
Algorithm Hash digest
SHA256 3b083a4afd009a15fe3143ecc236fd4a18e95918f793d15f3da6647c6d0311a9
MD5 fd8e9cfa980f61922f44dacdeebc7b6e
BLAKE2b-256 42693de15d7ef1b4fdbca11e5f5e26fba5b7cb8c7338059285d6726a07cdad22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: salim-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 255.2 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.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4680ea4a1824b758ef5e5e12b763cd525fdc5f75e335c2d2088084ec0529b0a9
MD5 fdf7d2b269e238eebb4a9f9d1a40a9ab
BLAKE2b-256 9ed8d191de6d21e9d7f960bebeb36b25bb6ef331b9248e3e3b04a9979ff23999

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