Skip to content
akashdeepmaity4Public

About

An ultra lightweight, zero-lag, and locally run code editor for all 3 OSs, with minimal RAM footprint. It is fast, snappy and reliable. Can be used on Localhost, natively as a Webapp, or a full-pledged windows app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

BORON CODE

Light-weight, low-storage Code Editor with Monaco Editor, Native Terminal with Bash and CMD Fallfack, industry standard 20+ shortcuts and File Tree, custom UI, and custom syntax highlighting for each coding language. With the total file size of <20 MBs and 33 MBs or total self-cleaning runtime environment, and no electron overhead, Boron Code is made for devices with low storage.

Python Bash HTML5 Git GitHub Flask

WHAT'S NEW 🚀

License Version ParentProduct

✅ Implemented a native Chat Window to use AI locally or via an API* (Under testing)

✅ Implemented Monaco Editor as the IDE's formatter and code canvas, getting rid of the manual breakage-prone overhead

✅ Added Anti-SQL Injection protocols on all input fields.

Preview - Dashboard

landing

ATTENTION: This is a brief introduction to this project, meant for onboarding and getting started. To see examples, details, project explainations and implementation, refer to Details.

Trademark and Copyright infringement prevention

This is not in any way a tutorial, or a copy of any other 'editor', 'brand' or 'product'. Any similarities are purely coincidental. The author will NOT be held responsible for any forks or copies of this software which may immitate any of the above mentioned items.

FEATURES

  1. Monaco Editor as the IDE's code canvas, syntax highlighter and formatter

  2. Sidebar and toolbar similar to popular IDEs and code editors

  3. Very small size on drive

  4. Custom indentation for each Language -- Indentation preservation

HIGHLIGHTS

  1. A custom native window for chatting with AI, whether with a Local Model or via an API

  2. Can be run on all devices, from old legacy devices to modern powerhorses

  3. Can be used on Localhost, natively as a Webapp, or a full-pledged windows app

  4. Data stays on your Drive (Your WIFI company may still get the metadata during localhost use)

SHORTCUTS

Shortcut Action Implementation
Ctrl + N New file in root/target directory Triggers sidebar button or fallback prompt
Ctrl + Shift + N Fresh window ("No file open") Resets active file state and clears editor canvas
`Ctrl + `` Open default Bash or CMD terminal Calls POST /open-terminal
Ctrl + S Save active file Calls POST /save-file
Ctrl + Z Undo inside editor Executes document.execCommand('undo')
Ctrl + Y Redo inside editor Executes document.execCommand('redo')
Ctrl + X Cut selected text Executes document.execCommand('cut')
Ctrl + C Copy selected text Executes document.execCommand('copy')
Ctrl + V Paste copied text Standard native canvas paste
Ctrl + K -> Ctrl + O Open directory picker Triggers folder input picker
Ctrl + O Open single file picker Triggers file input picker

DEPENDENCIES

  • Python 3.8+ (3.13+ recommended)

  • Flask (Non-Negotiable)

  • Pywebview (For PWA)

  • Pyinstaller (For Windows Application)

  • Bash (required for Linux / Mac, highly recommended for Windows)

INSTALL DEPENDENCIES


pip install -r requirements.txt

HOW TO USE

1. Windows Application (Recommended for all windows users)

Note: x64 CPU Architecture is required for this build. x86 may work due to Backwards compatibility but with bugs.

  1. Download the latest release from here

(comming soon...)

2. Progressive Webapp (Recommended for Linux / Mac users)

  1. Download the codebase.

  2. Run Bash or Cmd in root directory of the codebase.

  3. install the dependencies

  4. run 'launcher.py' to launch the PWA (entire codebase should be downloaded to prevent any errors)


cd path/to/root/directory

python launcher.py

About

An ultra lightweight, zero-lag, and locally run code editor for all 3 OSs, with minimal RAM footprint. It is fast, snappy and reliable. Can be used on Localhost, natively as a Webapp, or a full-pledged windows app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages