Posts Discover the awesome lite text editor πŸ˜ƒ πŸ’»
Post
Cancel

Discover the awesome lite text editor πŸ˜ƒ πŸ’»

Preview Image

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:

lite

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

πŸ““ πŸ“ 😎 tip


Read the below link if you're on linux, for a better user experience

➜➜ here β¬…β¬…

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.

πŸ““ πŸ“ 😎 tip


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

πŸ““ πŸ“ 😎 tip


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.

This post is licensed under CC BY 4.0 by the author.