What the heck is it πΆ
The lite text editor is an open-source, modern, beautiful and extremely customizable text editor,
it also is very lightweight(2 mb).
The core is written written in c using the SDL2 library and it does low level things like drawing the window, drawing text, drawing shapes,setting the font, and handles the βfrontedβ as I may say that is written in the lua programming language,
itβs also growing very fast as in only 4 months it managed to have more than 3.4k GitHub stars.
Here is a little screenshot of it:
How to install π»
You can either download the precompiled binaries By:
Going to: https://github.com/rxi/lite/releases/ then select lite.zip, it should give you access to a zip file, then unzip it.
If youβre on a windows platform, just open the file named lite.exe but if youβre on linux/macOs open the file named lite, and everything should work just fine.
Or you can compile from source:
-
Linux:
On debian based distros run :
1
sudo apt install libSDL2-dev
On rheel distros:
1
sudo dnf install libSDL2-devel
On arch-based distros:
1
sudo pacman -S sdl2
Then clone the repo:
1
git clone https://github.com/rxi/lite.git
-
OSX:
Follow this tutorial: https://medium.com/@edkins.sarah/set-up-sdl2-on-your-mac-without-xcode-6b0c33b723f7
After installing the required packages on both platforms, build lite with:
1
cd lite&&./build.sh
Read the below link if you're on linux, for a better user experience
When would I need it ππ
Lite is not complete enough to be called an IDE but you can use it as an alternative to notepad/notepad++ and use it to open simple files like .txt or .c, .h or programs you want to quickly compile in a terminal.
Lite has a console plugin to quickly compile or test your programs
Download it here: https://github.com/a327ex/lite-plugins/blob/master/plugins/console.lua and put it in the plugins folder.
As lite is extremely lightweight, it only requires =~2mb of storage and takes an insignificant amount of cpu, itβs perfect for simple and fast file editing, itβs also highly customizable, so you can use it to brush up those Lua and c skills
Final words
I decided since long to use lite as my default text editor and use an IDE only when I need it as most of the programs I write, I eventually need to compile them using a terminal
Please follow me on github
That's it folks βοΈβοΈ, try it out and trust me you'll like this editor for it's simplicity and be amazed by it's functionalities that only fit in 2mb of storage.