Skip to content

xshubhamg/libc

Repository files navigation

libc

A collection of simple tools built in C.

This repository is intended for small, focused command-line utilities and low-level experiments. Each tool will have a short description, its purpose, and basic usage notes documented here.

Goals

  • Build simple tools in C
  • Practice low-level programming
  • Keep each tool small and easy to understand
  • Document each tool briefly in one place

Current Tools

obfuscator

It is a simple program which show case the ability of getchar & putchar method in stdlib. This program just encode or decode input stream using bitwise ~ conversion bit-by-bit.

Source: obfuscator.c

encrypter

This is a simple encrypter program which takes a secret key and encrypt the input stream with it.

Source: encrypter.c

shell

A basic shell implementation utilizing fork, execvp, and wait to execute commands.

Source: shell.c

simple_password_generator

A small utility that generates a random 20-character alphanumeric password with symbols.

Source: simple_password_generator.c

tinyc

A stripped-down pedagogical C compiler and virtual machine for the "Tiny-C" language. It reads code from standard input and evaluates it using a custom bytecode and VM.

Source: tinyc.c

api-c

A simple RESTful API server that serves random jokes from an SQLite database. It demonstrates socket programming and multi-threading with POSIX threads.

Source: api-c/server.c

qrcodegen

A QR code generation library and utility.

Source: qrcodegen/qrcodegen.c

sqlite-todo

A command-line Todo application that persists tasks using an SQLite database.

Source: sqlite-todo/main.c

About

A repo for all my simple tools in standard c

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages