Skip to content

Rexolt/spoty

Repository files navigation

✨ Spoty

A modern, lightning-fast Spotlight-like launcher for Windows, macOS, and Linux

GitHub Release License Platform Electron


Search apps, files, bookmarks β€” or chat with AI. All from one shortcut.


πŸš€ Features

πŸ” Search & Launch

  • App launcher β€” Fuzzy search across installed apps
  • File search β€” Desktop, Documents, Downloads
  • Browser bookmarks β€” Chrome, Brave, Edge, Chromium
  • System commands β€” lock, sleep, shutdown, restart
  • Web search β€” g query or ? query
  • Clipboard history β€” type clip

🧠 AI & Tools

  • AI Mode β€” OpenAI, Google Gemini, or Ollama (local)
  • Multi-turn chat β€” Context-aware conversations
  • Chat history β€” Save & browse past conversations
  • Calculator β€” 2+2, (5*3)+10
  • Unit converter β€” 5 km to mi, 100 usd to eur
  • Weather β€” weather budapest

🎨 Customization

  • 5 Themes β€” Dark, Light, Ocean, Forest, Midnight (OLED)
  • Custom aliases β€” Multi-action shortcuts in JSON
  • Bilingual β€” Hungarian πŸ‡­πŸ‡Ί & English πŸ‡¬πŸ‡§
  • Configurable hotkey β€” Auto-fallback if the preferred key is taken

πŸ“¦ Installation

Linux

AppImage (universal)
chmod +x Spoty-x64.AppImage
./Spoty-x64.AppImage
Debian / Ubuntu (.deb)
sudo dpkg -i Spoty-x64.deb
Fedora / RHEL (.rpm)
sudo rpm -i Spoty-x64.rpm
Arch Linux (.pacman)
sudo pacman -U Spoty-x64.pacman

macOS

Download the .dmg from Releases, open it and drag Spoty to Applications.

Note

The app is unsigned. On first launch: right-click β†’ Open β†’ Open.

Windows

Download the Installer (.exe) or the Portable version from Releases.


⌨️ Keyboard Shortcuts

Shortcut Action
Alt+Space Toggle Spoty (configurable)
↑ ↓ Navigate results
Enter Open selected item
Shift+Enter Open containing folder
Tab / Shift+Tab Cycle through results
Ctrl+1–9 Quick-select result
Ctrl+N New AI conversation
Ctrl+, Open / close Settings
Esc Clear search / hide window

Search Prefixes

Prefix Function Example
g or ? Web search g electron docs
> Run terminal command >htop
weather Weather lookup weather london
clip Clipboard history clip
(number) Calculator (5+3)*2
(conversion) Unit / currency converter 10 usd to eur

πŸ› οΈ Build from Source

Prerequisites: Node.js β‰₯ 18, npm β‰₯ 9

# Clone & install
git clone https://github.com/Rexolt/spoty.git
cd spoty
npm install

# Run in development
npm start

# Build for your platform
npm run build:linux   # AppImage, deb, rpm, pacman
npm run build:mac     # dmg, zip (unsigned)
npm run build:win     # NSIS installer, portable
npm run build:all     # All platforms

Output goes to dist/.


βš™οΈ Configuration

Settings are accessible via the gear icon in the app, or by editing the config file directly:

Platform Path
Linux ~/.config/spoty/config.json
macOS ~/.config/spoty/config.json
Windows %APPDATA%\spoty\config.json

AI Setup

Provider What you need
OpenAI API key from platform.openai.com
Google Gemini API key from aistudio.google.com
Ollama Local install from ollama.com β€” no key needed

πŸ—οΈ Architecture

spoty/
β”œβ”€β”€ main.js          # Electron main process (search, AI, IPC)
β”œβ”€β”€ preload.js       # Secure IPC bridge with channel whitelist
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.html   # App shell with CSP
β”‚   β”œβ”€β”€ renderer.js  # UI logic, keyboard navigation, i18n
β”‚   └── styles.css   # Theming, animations, frosted glass
β”œβ”€β”€ build/icons/     # App icons (ico, png)
└── package.json     # Config, scripts, electron-builder

πŸ”’ Security

  • Context Isolation β€” Renderer has no access to Node.js
  • Sandbox β€” Renderer runs in a sandboxed process
  • IPC Whitelist β€” Only known channels are allowed in preload
  • CSP β€” Content Security Policy blocks inline scripts
  • Safe Math β€” Calculator uses a custom parser, not eval()
  • URL Validation β€” shell.openExternal only allows http(s)://
  • Ollama Guard β€” SSRF protection: only localhost is allowed

πŸ“„ License

GPLv3 β€” Made with ❀️ by Rexolt

About

The ultimate AI-powered Spotlight alternative for Linux, Windows, and macOS.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Sponsor this project

Packages

 
 
 

Contributors