Skip to content

teamslop/slopcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10,575 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlopCode logo

The open source AI slopcoding agent.

Discord npm Build status

English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά

SlopCode Terminal UI


Installation

# YOLO
curl -fsSL https://slopcode.dev/install | bash

# Package managers
npm i -g slopcode@latest        # or: bun install -g / pnpm add -g / yarn global add (Yarn Classic)
yarn add -D slopcode             # Yarn Berry (project install)
scoop install slopcode             # Windows
choco install slopcode             # Windows
brew install teamslop/slopcode/slopcode # macOS and Linux (recommended, always up to date)
brew install slopcode              # macOS and Linux (official brew formula, updated less)
curl -fsSL https://teamslop.github.io/apt-slopcode/install.sh | sudo bash # Debian/Ubuntu (apt repository)
sudo zypper install slopcode       # openSUSE (RPM repository)
sudo pacman -S slopcode            # Arch Linux (Stable)
paru -S slopcode-bin               # Arch Linux (Latest from AUR)
sudo port install slopcode         # macOS (MacPorts)
mise use -g slopcode               # Any OS
nix profile install github:teamslop/slopcode#slopcode # Any OS (persistent install)
nix run github:teamslop/slopcode#slopcode             # One-off run

Termux on Android

SlopCode supports native Termux on Android arm64/x64 for CLI, server commands, and the Rust-native Android TUI through the npm package. Install the Termux runtime dependencies first:

pkg update
pkg install nodejs git ripgrep neovim tar
npm install -g slopcode@latest --include=optional
slopcode --help

The Android TUI uses the bundled Rust runtime by default. Set SLOPCODE_ANDROID_HOST=portable for the JavaScript fallback or SLOPCODE_ANDROID_TUI=1 only when testing a Bun/OpenTUI experiment.

Tip

Remove versions older than 0.1.x before installing.

Desktop App (BETA)

SlopCode is also available as a desktop application. Download directly from the releases page or slopcode.dev/download.

Platform Download
macOS (Apple Silicon) slopcode-desktop-darwin-aarch64.dmg
macOS (Intel) slopcode-desktop-darwin-x64.dmg
Windows slopcode-desktop-windows-x64.exe
Linux .deb, .rpm, or AppImage
# macOS (Homebrew)
brew install --cask slopcode-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/slopcode-desktop

Installation Directory

The install script respects the following priority order for the installation path:

  1. $SLOPCODE_INSTALL_DIR - Custom installation directory
  2. $XDG_BIN_DIR - XDG Base Directory Specification compliant path
  3. $HOME/bin - Standard user binary directory (if it exists or can be created)
  4. $HOME/.slopcode/bin - Default fallback
# Examples
curl -fsSL https://slopcode.dev/install | SLOPCODE_INSTALL_DIR=/usr/local/bin bash
curl -fsSL https://slopcode.dev/install | XDG_BIN_DIR=$HOME/.local/bin bash

Agents

SlopCode includes two built-in agents you can switch between with the Tab key.

  • build - Default, full-access agent for development work
  • plan - Read-only agent for analysis and code exploration
    • Denies file edits by default
    • Asks permission before running bash commands
    • Ideal for exploring unfamiliar codebases or planning changes

Also included is a general subagent for complex searches and multistep tasks. This is used internally and can be invoked using @general in messages.

Learn more about agents.

Documentation

For more info on how to configure SlopCode, head over to our docs.

Contributing

If you're interested in contributing to SlopCode, please read our contributing docs before submitting a pull request.

Building on SlopCode

If you are working on a project that's related to SlopCode and is using "slopcode" as part of its name, for example "slopcode-dashboard" or "slopcode-mobile", please add a note to your README to clarify that it is not built by the SlopCode team and is not affiliated with us in any way.

FAQ

How is this different from Claude Code?

It's very similar to Claude Code in terms of capability. Here are the key differences:

  • 100% open source
  • Not coupled to any provider. Although we recommend the models we provide through SlopCode Zen, SlopCode can be used with Claude, OpenAI, Google, or even local models. As models evolve, the gaps between them will close and pricing will drop, so being provider-agnostic is important.
  • Out-of-the-box LSP support
  • A focus on TUI. SlopCode is built by neovim users and the creators of terminal.shop; we are going to push the limits of what's possible in the terminal.
  • A client/server architecture. This, for example, can allow SlopCode to run on your computer while you drive it remotely from a mobile app, meaning that the TUI frontend is just one of the possible clients.

Join our community Discord | X.com

About

Open source coding agent forked from OpenCode.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • HTML 50.6%
  • JavaScript 43.6%
  • MDX 2.4%
  • TypeScript 2.2%
  • C 0.9%
  • CSS 0.2%
  • Other 0.1%