#web-server #file-content #cms #website #management #website-generator #plain

app cynthiaweb

A simple web server and generator based on plain file editing. I hate WordPress.

14 releases

new 3.0.0-alpha Dec 11, 2024
2.1.4-alpha.0.2 Apr 8, 2024
2.1.4-alpha.0.1 Mar 24, 2024
2.0.6-alpha.1 Jan 31, 2024
2.0.1-alpha.1 Dec 24, 2023

#194 in HTTP server

Download history 28/week @ 2024-09-20 17/week @ 2024-09-27 1/week @ 2024-11-01 1/week @ 2024-11-08 110/week @ 2024-12-06

110 downloads per month

AGPL-3.0-only

720KB
6K SLoC

Rust 5K SLoC // 0.0% comments TypeScript 715 SLoC // 0.1% comments Handlebars 83 SLoC // 0.0% comments JavaScript 80 SLoC // 0.2% comments Batch 1 SLoC

Cynthia!(.rs)

  • Generating websites
  • Serving them
  • Using a simple file-based content management system (CMS)
Cynthia is currently in development, and is not yet ready for use. Cynthia is semantically versioned, which means no huge breaks should be expected between MAJOR versions. In the minor versions, however... Cynthia is not nearly done getting new features!

[!WARNING]
Windows support is not yet available. Cynthia is currently only supported on Linux and MacOS. As I don't run servers on Windows, it doesn't make sense for me to support it. If you want to run Cynthia on Windows, you can try using WSL2.

UPDATE: If you need Windows support timely, disable the selfinit feature while compiling Cynthia. This will remove the need for the lzma crate, which is not yet supported on Windows.

usage

Firstly, you need to install the package. You can do this by running the following command:

cargo install cynthiaweb

After that, you can run the following command to generate a new website:

md abc
cd abc
cynthiaweb init

The initialisation wizard will ask you a few questions about your website, and then generate the necessary files for you.

You can then run the following command to serve your website:

cynthiaweb start

Or bind it to a service.

You'll of course need to forward Cynthia to the web, which you can do with a reverse proxy like Nginx or Apache.

More documentation will be available on https://cynthia-docs.strawmelonjuice.com!

Dependencies

~69MB
~1.5M SLoC