Skip to content

cybercoder-naj/Rooner

Repository files navigation

Rooner

A Basic code editor that executes any Kotlin script. This application is written in Compose Multiplatform intended for desktop applications.

Table of Contents

Screenshots and Demo

View the demo on YouTube

Installation

Prerequisites

You must have the following installed

  1. Android Studio ~> IDE for code editing
  2. Kotlin Compiler ~> Tool required by Rooner

Note: The current version of this build only runs on Linux.

Run locally

Clone the project

  git clone https://www.github.com/cybercoder-naj/Rooner.git

Go to the project directory

  cd Rooner

Start the server

  ./gradlew :composeApp:run

Roadmap

  • Structural UI
  • Code execution
  • Pipe output of code execution
  • Show errors in compilation/runtime
  • Indicators of current state
  • Syntax Highlighting
  • Clickable links on error messages
  • ETA of code execution

Known Issues

  • Entering the tab key on the editor makes rectangular boxes. Advised to use spaces instead.
  • On MacOS, some icons may not be displayed.

Navigating the project

My code for this project is under composeApp/src/commonMain/kotlin.

  • App.kt - this contains the parent composable called from composeApp/src/desktopMain.
  • data/ - contains concrete implementations of the domain layer.
  • di/ - A basic dependency injection singleton module.
  • domain/ - The Business logic layer; contains the interfaces of core logic for the application.
  • ui/ - The Presentation layer, which hosts its own ViewModel.
  • utils/ - contains utility functions and variables for the application.

Authors

Acknowledgements

About

A Basic code editor that executes any Kotlin script.

Resources

License

Stars

Watchers

Forks

Contributors

Languages