Skip to content

Sidatii/c-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C database

A simple database implementation in C.

Description

  • Minimal, file-backed C database implementation intended for learning, experimentation, and small projects.

Requirements

  • POSIX-compatible OS (Linux, macOS)
  • gcc or clang
  • make

Build

Clone

git clone https://github.com/Sidatii/c-database.git
cd c-database

Build

make

Common targets:

  • make — clean and build the project
  • make clean — remove build artifacts
  • make install — install the binary

Usage

Create database file

db -f <your db file name> -n

Add database entry

db -f <your db file name> -a "name,address,hours"

List database entries

db -f <your db file name> -l

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

Copyright (c) 2025 Sidatii

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this project (see LICENSE). If not, see https://www.gnu.org/licenses/gpl-3.0.en.html.

About

A simple database implementation in C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published