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?

What's new?

Latest - 0.1.1 0.1.1 - 6/4/25

  • Fixed packaging bugs (tested on MacOS 15.2)
  • Fixed minor errors
  • Also, there's only two challenges. Sorry. 0.1.0 - 6/4/25
  • Initial release

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.1.tar.gz (23.2 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.1-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nyxbox-0.1.1.tar.gz
  • Upload date:
  • Size: 23.2 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.1.tar.gz
Algorithm Hash digest
SHA256 eb8e10efd53572844da7d71b0be574692173516278198a70837d53f2bf9855d3
MD5 2296c9be225dec0d64aeb250ec1d8fd3
BLAKE2b-256 703ef25c14d58d82b7d3b9891611377972fd5deef1d630b5f1abed1f16e13e55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nyxbox-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88af698297d4fd741bad2be2b08a95470d3daa8ef5ad35cb2484cb58722c89bc
MD5 6540d558d0c7f4274a9fdf50a829df49
BLAKE2b-256 ead58a7f6691dae0b458cb650529b3b96308f310cfe93efaf326e6d37e74bd6c

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