An open API service indexing awesome lists of open source software.

https://github.com/acode-foundation/acode-runner-plugin


https://github.com/acode-foundation/acode-runner-plugin

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Runner Plugin

A powerful code runner plugin for Acode that adds a **play button** to execute different programming languages with just a click! Built using Acode's builtin terminal API so you don't need termux.

> [!Important]
> Ensure Acode's built-in terminal is configured(setup) before using this plugin, otherwise the run button will not appear.
> To enable: open Acode → Menu(three dots) → Terminal, then it will start installation if not installed. Restart Acode if the run button doesn't show after that.

## ✨ Features

- **🎯 One-Click Execution** - Simply click the play button to run your code
- **💾 Smart File Handling** - Runs unsaved files, remote files, and files from terminal home
- **🎨 Beautiful Output** - Colored terminal output with clear success/failure indicators
- **📦 Auto-Installation** - Automatically offers to install missing language packages

## 🛠️ Supported Languages

| Language | Extensions | Status |
|----------|------------|--------|
| **Python** | `.py`, `.pyw` | ✅ |
| **C** | `.c` | ✅ |
| **C++** | `.cpp`, `.cxx`, `.cc`, `.c++` | ✅ |
| **Java** | `.java` | ✅ |
| **Go** | `.go` | ✅ |
| **PHP** | `.php` | ✅ |
| **Ruby** | `.rb` | ✅ |
| **Rust** | `.rs` | ✅ |
| **Lua** | `.lua` | ✅ |
| **Luau** | `.luau` | ✅ |
| **Shell Script** | `.sh`, `.bash` | ✅ |

### 🔮 Want More Languages?

Can't find your favorite programming language? **Open a feature request** and we'll add it! We're constantly expanding language support based on community needs.

## 🚀 How It Works

1. **Open any supported code file** in Acode
2. **Click the play button** (▶️) in the editor
3. **Watch your code run** in the integrated terminal
4. **Get instant feedback** with colored success/error messages

## 🤝 Contributing

Found a bug or want to contribute?
- **Report Issues** - Use GitHub issues for bug reports
- **Feature Requests** - Suggest new languages or features
- **Pull Requests** - Code contributions are welcome!

## 📝 License

This project is licensed under the MIT License - see the LICENSE file for details.