Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kdesp73/webc

Write and deploy websites using the C Programming Language.
https://github.com/kdesp73/webc

clanguage html http-server library static-site-generator webc webserver website

Last synced: 5 days ago
JSON representation

Write and deploy websites using the C Programming Language.

Awesome Lists containing this project

README

        

# [webc](https://kdesp73.github.io/webc-site)

```
d88P d88P Y88b
d88P d88P Y88b
d88P d88P Y88b
d88P d88P .d8888b Y88b
Y88b d88P d88P" d88P
Y88b d88P 888 d88P
Y88b d88P Y88b. d88P
Y88b d88P "Y8888P d88P
```
Write and deploy websites using the C Programming Language.

- [Usage](#usage)
- [Build the library](#build-the-library)
- [Install the library](#install-the-library)
- [Linux](#linux)
- [Windows](#windows)
- [Link the library to your project](#link-the-library-to-your-project)
- [Examples](#examples)
- [Templates](#templates)
- [UI](#ui)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [LICENSE](#license)

> [!WARNING]
> This C library is in the early stages of development and is not yet ready for production use.
> The API, functionality, and overall stability of the library are subject to change without notice.
> Use this library at your own risk. We strongly recommend against using this library in any mission-critical or production systems.
> Please report any issues or feedback to the project maintainers. Further development and stabilization of
> this library is ongoing, and a stable release will be announced when it is ready.

## Usage

### Build the library

```bash
git clone https://github.com/KDesp73/webc
cd webc
make
```

> [!NOTE]
> Library files (.so, .a, .dll) are located at `build/output/`

### Install the library

```bash
make install
```
#### Linux

The `.so` and `.a` files are copied to the `/usr/lib/` directory

Additionally the header files are copied to the `/usr/local/include/webc/` directory

#### Windows

> [!NOTE]
> Not implemented yet

## Examples

See [docs/examples/](./docs/examples/core.md)

## Templates

- Single Page Portfolio `spp.h`

![image](https://github.com/KDesp73/webc/assets/63654361/60561368-e2fd-42c2-9151-f9dac91cfea2)

- Project Showcase Site `pss.h`

![image](https://github.com/KDesp73/webc/assets/63654361/bc6c94b0-56ee-427d-be43-56f259deeea5)

## UI

Currently webc supports the [DaisyUI](https://daisyui.com) ui library.

Check support [here](./docs/DaisyUiSupport.md)

Feel free to contribute by implementing the missing or partially supported components

## Documentation

The documentation for this library is written in the header files

See [webc-core.h](./include/webc-core.h)

Autogenerated documentation using Doxygen [here](https://kdesp73.github.io/webc-docs/)

## Contributing

First read the [CODE OF CONDUCT](./CODE_OF_CONDUCT.md)

Then checkout [CONTRIBUTING](./CONTRIBUTING.md)

## LICENSE

[MIT](./LICENSE)