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.
- Host: GitHub
- URL: https://github.com/tiagodongo/libflow
- Owner: TiagoDongo
- License: mit
- Created: 2025-03-26T17:25:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-29T15:22:17.000Z (about 1 year ago)
- Last Synced: 2025-03-29T16:26:54.547Z (about 1 year ago)
- Topics: c, cjson, json, library-management, python
- Language: C
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LibFlow

[](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)