Skip to content
/ ALib Public

Modern C++ header only library featuring various utility functions.

License

Notifications You must be signed in to change notification settings

Abir-Tx/ALib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALib

Windows & Linux Build CodeFactor CodeQL AUR version

Modern cross platform C++ header only library which features many useful utility functions which can be used in your personal project. ALib provides many usefull functions which are not available in the built in or standard C++ library like decorating a text.

The motivation of this project is to get rid of writing most/frequently needed functions/codes again & again for different project. Which is tedious & not the progrmmatic way of doing things. Also this library packs some decorating functions.

Features

  • Cross Platform - The same function works on Windows, Linux and Mac OS
  • Extremely extensible - The ALib is very modular as it is function based. So you can easily change or add features to a function as you need by modifying the source code.
  • Supports colored decorations - ALib uses a 3rd Party library called rang to produce colored text output.

Provided Functions:

- clrscr
- consoleWidth/terminalWidth
- consoleHeight/terminalHeight
- countdown
- showLoadingScreen
- horizontalLine
- verticalLine

Installation

Linux

Download the alib.hpp from the Releases section & copy it to the /usr/include folder & that's it

Arch Linux

Arch users can install the library from AUR easily using yay

yay -S alib

Contributing

Contributions are always welcomed to this project. Contributing to this project is very easy and needed too. Any beginner level C++ programmer can contribute to this project. Any bug report or bug fix or addition of new features to this library will be very helpful.

You can learn more about contributin to this project by reading this documentation

Submit Issues

If you face any issue or want to submit new ideas to be implemented in ALib please open a new issue by clicking here

Note For Developers

It is recommended to use the dev branch while doing developement works and then make a pull request