An open API service indexing awesome lists of open source software.

https://github.com/tiagodongo/libflow

πŸ“š C Library Manager - Lightweight system using cJSON for JSON storage. Simple, fast, and efficient.
https://github.com/tiagodongo/libflow

c cjson json library-management python

Last synced: about 2 months ago
JSON representation

πŸ“š C Library Manager - Lightweight system using cJSON for JSON storage. Simple, fast, and efficient.

Awesome Lists containing this project

README

          

# LibFlow

![C](https://img.shields.io/badge/Language-C-blue?style=for-the-badge)
[![cJSON](https://img.shields.io/badge/Library-cJSON-green?style=for-the-badge)](https://github.com/DaveGamble/cJSON)

A lightweight library management system for registering, searching, updating, and removing books, with JSON data persistence. Built in `C` using `cJSON` for JSON file handling.

---

> [!NOTE]
> **Test Environment**
> - Windows 10
> - cJSON library included in the project
> - The **cJSON** library is already included in the project (the `.c` and `.h` files are in the `src/modules/` and `libs/` folders), so **no additional installation is required for JSON handling**

---

## Project Structure

- **src/**: Main file (`main.c`) and system modules
- **libs/**: Headers and definitions for structures/functions
- **data/**: Directory for generated JSON files
- **scripts//**: Python scripts for data generation

## βš™ Prerequisites

- **Windows**:
- Install [MinGW](https://sourceforge.net/projects/mingw/).
- Add `gcc` to system PATH.
- *Optional*: Duplicate `mingw32-make.exe` and rename to `make`.

- **Linux**:
```bash
sudo apt update && sudo apt install build-essential
```
- **Python scripts**:
- Install python
```bash
pip install faker
```
## πŸš€Installation & Usage

1. Clone the repo:
```bash
git clone https://github.com/TiagoDongo/LibFlow.git
```

2. Navigate to the project:
```bash
cd LibFlow
```

3. Compile & Run:
```bash
# linux:
make run

# windows:
mingw32-make run
```

4. For help:
```bash
# linux:
make help

# windows:
mingw32-make help
```

## 🀝 Contributing
- πŸ› Report bugs via `Issues`
- πŸ“š Contribution guidelines [`CONTRIBUTING.md`](CONTRIBUTING.md)