Skip to content

diiviikk5/gloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gloader

   ██████╗ ██╗      ██████╗  █████╗ ██████╗ ███████╗██████╗ 
  ██╔════╝ ██║     ██╔═══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗
  ██║  ███╗██║     ██║   ██║███████║██║  ██║█████╗  ██████╔╝
  ██║   ██║██║     ██║   ██║██╔══██║██║  ██║██╔══╝  ██╔══██╗
  ╚██████╔╝███████╗╚██████╔╝██║  ██║██████╔╝███████╗██║  ██║
   ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═════╝ ╚══════╝╚═╝  ╚═╝

Ultra-fast, local-first execution registry & launcher built in Rust.

Git for executions. Steam without the store. Alfred without GUI.


What is gloader?

gloader is a persistent, indexed, scriptable execution layer for your OS. Register anything you can execute—games, apps, scripts, tools, URLs—and launch them instantly with fuzzy matching.

The Problem

  • Apps are scattered: Steam, Epic, random EXEs, scripts, tools everywhere
  • Launchers are slow: GUI-heavy, store-first, non-scriptable
  • CMD/PowerShell: Stateless, dumb, no metadata, no memory

The Solution

  • One muscle-memory interface: g el → Elden Ring launches
  • One registry: All your executables in one place
  • Zero UI friction: Pure CLI speed
  • No background garbage: Only runs when you call it

Installation

# Clone and build
git clone https://github.com/diiviikk5/gloader
cd gloader
cargo build --release

# Add to PATH (the binary is named 'g' for speed)
# Windows: Add target\release to your PATH
# The executable is: target\release\g.exe

Quick Start

# Register some entries
g add elden "D:\Games\EldenRing\eldenring.exe" --tags game,souls --type game
g add code "code" --tags dev,editor
g add backup "~/scripts/backup.ps1" --tags script --type script

# Launch with fuzzy matching
g el          # → Launches Elden Ring
g cod         # → Launches VS Code
g bak         # → Runs backup script

# List all entries
g list

# Check your stats
g stats --week

Commands

Command Description
g <pattern> Fuzzy launch matching entry
g add <name> <cmd> Register new entry
g list Show all entries
g rm <name> Remove an entry
g edit <name> Modify an entry
g stats [name] Usage statistics
g profile new Create execution profile
g profile list Show all profiles

Profiles (The Killer Feature)

Profiles define how something runs, not just what runs.

# Create a gaming profile
g profile new gaming --priority high --power high_performance

# Associate with an entry
g add cyberpunk "D:\Games\Cyberpunk\Cyberpunk2077.exe" --profile gaming

# Now every launch applies:
# ✓ High CPU priority
# ✓ High performance power mode
# ✓ Pre/post hooks (close Discord, etc.)

Profile capabilities:

  • CPU Priority: idle, below_normal, normal, above_normal, high, realtime
  • CPU Affinity: Pin to specific cores (great for hybrid CPUs)
  • Power Mode: Switch Windows power plan automatically
  • Pre/Post Hooks: Run scripts before and after execution
  • App Killer: Auto-close background apps (Discord, Slack, etc.)

Usage Tracking

Track your execution habits locally, without telemetry.

g stats elden
# NAME    │ SESSIONS │ TOTAL TIME │ LAST PLAYED
# elden   │ 47       │ 128h 32m   │ 2 hours ago

g stats --week    # Last 7 days
g stats --month   # Last 30 days

Entry Types

Type Icon Use Case
game 🎮 Steam, Epic, standalone games
app 📱 Applications, editors
script 📜 PowerShell, Batch, Python scripts
url 🌐 Web apps, bookmarks
tool 🔧 CLI tools, utilities

🔧 Configuration

Data is stored in ~/.gloader/:

  • registry.db - SQLite database
  • profiles/ - TOML profile configs (optional)
  • hooks/ - Your pre/post scripts

Why Rust?

  • Instant startup: <10ms to fuzzy match and spawn
  • Single binary: No runtime, no dependencies
  • Memory safe: No random crashes
  • Native performance: Direct Windows API access

Roadmap

V1 (Current)

  • Entry registry (add/list/remove/edit)
  • Fuzzy matching with recency/frequency bias
  • Profiles (CPU priority, affinity, power mode)
  • Usage statistics

V2 (Planned)

  • Steam/Epic/GOG auto-detection
  • TUI mode (ratatui)
  • Profile templates
  • Import/export

V3 (Future)

  • Emulator support
  • Mod presets
  • Usage intelligence

📄 License

MIT License - Do whatever you want.


⚡ Stop browsing. Start launching.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published