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
110 downloads per month
720KB
6K
SLoC
Cynthia!(.rs)
- Generating websites
- Serving them
- Using a simple file-based content management system (CMS)
[!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