Skip to main content

Your code runner powered by Textual

Project description

NyxBox

A Textual-based TUI app for all your challenge solving needs supporting Python, JS, Java, C++, and C (not yet...) Also, just who is Nyx?


Features

  • Vend random coding challenges from a curated set
  • Edit and run solutions in multiple languages!
  • Hidden tests for extra challenge (we cant just have you cheating the returns right?)
  • Fun daemon commentary (depends on your humor) and themed UI
  • Extensible: add your own challenges in JSON

Getting Started

1. Install Requirements

Install nyxbox via pip.

pip install nyxbox

Make sure you have clang++ or g++ installed, or Node.js for JavaScript if planning on using these langs, as NyxBox uses these to run your challenges written in C++ or JS.

2. Run the App

python3 main.py

Adding challenges

Add new challenges in the form of a JSON in the challenges directory. Challenges will not work if they do not follow the style of pre-made challenges.

Notes

  • Python 3.10+ recommended (The dev is running 3.12.1)
  • C++, C, and Java runners require system dependencies. If they error out, make sure you have those installed first. (look above dummy)
  • Run in a terminal supporting Unicode and colors like Ghostty, Alacritty, or others.

Credits

  1. ChatGPT + Copilot for helping me debug
  2. Textual for providing the underlying framework for the Tui
  3. you! for using it!

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

nyxbox-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nyxbox-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file nyxbox-0.1.0.tar.gz.

File metadata

  • Download URL: nyxbox-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for nyxbox-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d002b7101cf0c94f5fccf1fa5cc7bc382ec60f2d6d9178d0223597810ec083af
MD5 e27ef454c9d11c5f70cf2ce6fa09ad67
BLAKE2b-256 8d4ecc0c00d2c9232176c48255ad706ebbeac459eed2a8c27a2036b79459bc6a

See more details on using hashes here.

File details

Details for the file nyxbox-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nyxbox-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for nyxbox-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c50abc4e97874fb39ccab14001d680889356e963153685f3eb1f4882f356a9b6
MD5 c8617de1a0770b81a7cab8859867433d
BLAKE2b-256 f028f8d79308edca075b188c346d0cb0ea265401020040e992edee15560272d2

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