a very based, minimal, and flexible static site generator written in pure C89 with no external deps.

Overview

based-ssg is a very based, minimal, and flexible static site generator written in pure C89 with no external deps.

Installation

to install based-ssg, just run:

make
doas make install

Usage

template.html

You first need to write a template.html to use based-ssg. This is pretty much just the template for all the html files based-ssg writes. A good example of this is in examples/template.html.

For titles, you should add

INSERT-TITLE

to your template.html

based-ssg finds INSERT-TITLE in your template.html, and replaces it with whatever title you put in files.conf

files.conf

The config file is sorta similar to csv, but it is seperated by "^" and not ",". The first option you need to set is markdown, then title, then html. Each option is seperated by "^" check the conf file in the examples directory for some examples.

actually running based-ssg

just run

based-ssg files.conf

and it will generate everything

Issues
  • whatcha doin lately

    whatcha doin lately

    just wondering

    opened by gek169 5
  • Memory corruption all over the place

    Memory corruption all over the place

    I think this could be a very nice program. But have you ever run it using valgrind? You have a little under 100 places with memory corruption; double frees, access after free and all sorts of weird stuff. I would seriously consider using this as my go to site generator but man I really can't given how unstable the program looks.

    opened by SpectreVert 3
  • [Bug] DN Settings don't work

    [Bug] DN Settings don't work

    Describe the bug

    When I try to use the DN setttings, they don't pop-up as expected

    How to reproduce

    1. try to open dn settings

    Specs

    • Fedora 34 Workstation
    • Matebook D14 AMD (2020)
    opened by CITIZENSIXTYNINE 3
  • Add Basic Makefile Variables

    Add Basic Makefile Variables

    Title.

    Specifically, many systems use slight variations of compilation tools and it's always good to be inclusive. The following modifications are suggested:

    1. Creating a PREFIX variable makes it easier to modify the installation directory (although I'm not sure why you'd want to change it - but the idea still stands).
    2. Systems with gcc as the default compiler CC will not throw issues during compilation.
    3. Add the CFLAGS option to allow users to customize their compilation using various flags.
    4. Using system native INSTALL is slightly better than the cp utility in most cases because it is generally universal and allows you to create directories and set installation permissions.
    5. Added the -f flag to the rm command prevents rm from throwing errors if binary files do not yet exist.

    If you're interested in make variables, you can read about GNU makefile conventions or (since I notice you're more inclined to OpenBSD) you can read about OpenBSD make.

    Keep up the good work! I'd love to see this project grow :)

    opened by bossley9 1
A high-performance REST Toolkit written in C++

Pistache Pistache is a modern and elegant HTTP and REST framework for C++. It is entirely written in pure-C++14 and provides a clear and pleasant API.

null 2.6k Dec 3, 2021
A WebAssembly interpreter written in C for demonstration.

wasmc 中文文档 A WebAssembly interpreter written in C for demonstration. This repository implements a WebAssembly interpreter. It is written to clarify ho

湮远 38 Nov 27, 2021
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

Welcome! The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design

Microsoft 6.6k Dec 4, 2021
Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows

English | 简体中文 | 繁體中文 Overview Drogon is a C++14/17-based HTTP application framework. Drogon can be used to easily build various types of web applicat

An Tao 6.5k Dec 6, 2021
QDjango, a Qt-based C++ web framework

QDjango - a Qt-based C++ web framework Copyright (c) 2010-2015 Jeremy Lainé About QDjango is a web framework written in C++ and built on top of the Qt

Jeremy Lainé 231 Nov 26, 2021
Embeddable Event-based Asynchronous Message/HTTP Server library for C/C++

libasyncd Embeddable Event-based Asynchronous Message/HTTP Server library for C/C++. What is libasyncd? Libasyncd is an embeddable event-driven asynch

Seungyoung 163 Nov 17, 2021
🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.

Oat++ News Hey, meet the new oatpp version 1.2.5! See the changelog for details. Check out the new oatpp ORM - read more here. Oat++ is a modern Web F

Oat++ 4.7k Dec 3, 2021
C++ application development framework, to help developers create and deploy applications quickly and simply

ULib - C++ library Travis CI: Coverity Scan: ULib is a highly optimized class framework for writing C++ applications. I wrote this framework as my too

stefano casazza 936 Nov 26, 2021
C library to create simple HTTP servers and Web Applications.

Onion http server library Travis status Coverity status Onion is a C library to create simple HTTP servers and Web Applications. master the developmen

David Moreno Montero 1.8k Dec 2, 2021
C++ Parallel Computing and Asynchronous Networking Engine

中文版入口 Sogou C++ Workflow As Sogou`s C++ server engine, Sogou C++ Workflow supports almost all back-end C++ online services of Sogou, including all sea

Sogou-inc 6.4k Nov 30, 2021
cserv is an event-driven and non-blocking web server

cserv is an event-driven and non-blocking web server. It ideally has one worker process per cpu or processor core, and each one is capable of handling thousands of incoming network connections per worker. There is no need to create new threads or processes for each connection.

null 35 Sep 10, 2021
This is a proof-of-concept of a modern C web-framework that compiles to WASM and is used for building user interfaces.

DanCing Web ?? ?? (DCW) Getting Started Dancing Web is now distributed with the Tarantella Package Manager — a tool I've made to simplify setup of pro

Danilo Chiarlone 3 Sep 11, 2021
wwasm (Wgmlgz wasm) - is a c++ & reactjs liblary for connecting c++ backend and reactjs frontend.

WWASM (Wgmlgz wasm) - is a c++ & reactjs liblary for connecting c++ backend and reactjs frontend.

null 1 Nov 23, 2021
:hocho: Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub

uriparser uriparser is a strictly RFC 3986 compliant URI parsing and handling library written in C89 ("ANSI C"). uriparser is cross-platform, fast, su

uriparser 199 Nov 8, 2021
A very minimal & simple text editor written in C with only Standard C Library.

Texterm Text Editor A very minimal & simple text editor written in C with only Standard Library. Syntax highlighting supported for C JavaScript Python

Biraj 32 Nov 30, 2021
Very fast Markdown parser and HTML generator implemented in WebAssembly, based on md4c

Very fast Markdown parser and HTML generator implemented in WebAssembly, based on md4c

Rasmus 1k Nov 29, 2021
Distributed (Deep) Machine Learning Community 677 Nov 23, 2021
🎀 toy gemini client in ansi c (c89)

?? viv a toy gemini client written in ansi c (c89). nowhere near finished, but it works! (mostly). what works ? everything except the custom ui. limit

GemRest 2 Sep 18, 2021
A tiny portable C89 memory allocator

mem A tiny portable C89 memory allocator. Usage This is a single-header library. You must include this file alongside #define MEM_IMPLEMENTATION in on

null 7 Oct 29, 2021
Ipsys Particle System Yey letS go, very cool particle system generator and fast renderer

ipsys - Ipsys Particle System Yey letS go About Ipsys is a piece of software that focuces on running and displaying cool randomly generated particule

Anima Libera 5 Nov 24, 2021
Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core environment with just the Linux kernel, GNU C library, and Busybox userland utilities.

Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core environment with just the Linux kernel, GNU C library, and Busybox userland utilities.

John Davidson 1.2k Dec 2, 2021
A very minimal type-2 hypervisor built using Linux Kernel Virtual Machine for Linux.

wiser A very minimal type-2 hypervisor built using Linux Kernel Virtual Machine for Linux. Following project is under-development expect unfinished co

flouthoc 233 Nov 22, 2021
config-loader is a static reflection framework written in C++17 from parse configuration file to native data structure.

config-loader is a static reflection framework written in C++17 from parse configuration file to native data structure.

Netcan 76 Dec 3, 2021
OGRE is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce games and demos utilising 3D hardware.

OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce games and demos utilising 3D hardware. The class library abstracts all the details of using the underlying system libraries like Direct3D and OpenGL and provides an interface based on world objects and other intuitive classes.

null 2.6k Dec 6, 2021
Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!

Do you have a question that doesn't require you to open an issue? Join the gitter channel. If you use uvw and you want to say thanks or support the pr

Michele Caini 1.3k Nov 26, 2021
Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!

Do you have a question that doesn't require you to open an issue? Join the gitter channel. If you use uvw and you want to say thanks or support the pr

Michele Caini 1.3k Nov 26, 2021
External CS:GO hack for Arduino written using modern C++ and WinAPI

SQ Project CSGO Arduino Edition External CS:GO hack for Arduino written using C++ and WinAPI. Special thanks to hazedumper for hazedumper. Shock Byte

Klim Markevich 16 Nov 26, 2021