feat(README.md): contents, installation, contribution

This commit is contained in:
2024-09-21 22:30:36 +03:00
parent 78276e8c88
commit fd660f3b56

View File

@ -1,3 +1,63 @@
# libbase
<img style="height: 40px; width: 100%; object-fit: contain;" src="https://i.imgur.com/ZOisFIu.png" />
encoding/decoding from arbitrary base
<p style="text-align: center;"> c++ encoding/decoding from arbitrary base </p>
<div style="display: flex; flex-direction: row; justify-content: center; gap: 8px;">
<a href="https://repology.org/project/libbasen/versions">
<img src="https://repology.org/badge/tiny-repos/libbasen.svg" alt="Packaging status">
</a>
<a href="https://repology.org/project/libbasen/versions">
<img src="https://repology.org/badge/latest-versions/libbasen.svg" alt="latest packaged version(s)">
</a>
</div>
---
## Contents
[Installation](#installation)
[Contributing](#contributing)
---
## Installation
Automatically from specified repositories:
[![Packaging status](https://repology.org/badge/vertical-allrepos/libbasen.svg)](https://repology.org/project/libbasen/versions)
Manually using make:
```
make -j $(nproc)
sudo make i USRDIR=(Your installation dir)
```
Uninstall:
```
sudo make uni USRDIR=(Your installation dir)
```
For build with with debug flags:
```
make -j $(nproc) DEBUG=
```
For build tests:
```
make tests -j $(nproc) DEBUG=
```
And also flag for dynamic linking (if possible):
```
make tools -j $(nproc) SHARED=
```
---
## Contributing
Main branch is under protection rules, so you should create pull request. After merging will be runned [authors.sh](https://github.com/vSEK1RO/libbasen/blob/main/authors.sh) for adding all contributors usernames and their number of commits to [AUTHORS](https://github.com/vSEK1RO/libbasen/blob/main/AUTHORS) file.
Now we would like to implement the following features:
- Base32
- BCH
- Bech32
---
[:arrow_up:Contents](#contents)