Skip to content

A lightweight, minimalist print journal using termcapablities for native support of almost all terminals.

Notifications You must be signed in to change notification settings

KerHack-Libre/Minilog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minilog-logo

A Minimalistic log print using termcapabities for native support for almost all terminal.

Python-Support-on-progress

About

As its name suggests, minilog is a tool dedicated to native logging based on termcapabilities . It adapts automatically to different terminals, thanks to its support for termcapabilities, and is often already present on most Unix systems.

Lightweight and easy to use, it has no external dependencies, which reduces the memory footprint when used.

By default, for fast display, standard output is not buffered, i.e. it is not timed. by the operating system, giving you instant display of messages. It can be quickly integrated into your workflow, as the project is built into a single file called a shared object.

It can be integrated into your code by creating a link to it.

Important

For the moment, python support is under construction, and will be offered as a package using this shared object file.

How do I build it?

To install or build it, we used the build manager called Meson Build System.

And here are the commands to type:

After cloning.

  • Enter to project.
$ cd Minilog
  • start construction with meson
$ meson setup build      # build the project
$ meson compile -C build # compile project

At the end of compilation, you'll have a .so file that can be integrated into your environment.

OverView:

Warning

Due to a technical problem with Docker containers, most of the images I try to use don't work. Most of them refuse to download resource packages (I don't know why??). This section is therefore unreliable on my side. I suggest you work on your side Try and make a pull request. Thanks in advance.

For a quick appercu, a dockerfile is provided to build the environment and get an overview. Or you can directly use the build project as described above (see the section on how to build) and in the build folder you'll have the executable.

Feel free to play around with the minilog_overview.c file, which contains code examples you can play with too.

For the more timid, use Docker :

! Do Not Try  
- $ docker build . -t minilog~ 
- $ docker run minilog # run it~  
Here is a screenshot to see what the logs look like

minilogss

Note

This project is in its initial state and needs feedback or feature requests to improve it as much as possible. This project aims to satisfy a large number of users, so please feel free to submit pull requests or issues by placing a flag. feat: so I know it's a feature request,
idea: to discuss an idea question: if it's a question, I'll be happy to answer it.

Happy Hacking Folks

gllogo

Feel free to contribute.

We ❤️ Computers at all Levels.

From Senegal 🇸🇳

About

A lightweight, minimalist print journal using termcapablities for native support of almost all terminals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published