Giter Site home page Giter Site logo

servuscms / servus Goto Github PK

View Code? Open in Web Editor NEW
43.0 5.0 0.0 144 KB

Self-contained CMS & Personal Nostr Relay

License: GNU General Public License v3.0

Rust 72.53% HTML 27.47%
blog-engine rust web-server cms markdown wordpress-alternative site-generator tera acme https

servus's People

Contributors

ibz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

servus's Issues

Cannot intialise after build

-bash: ./servus/target/release: No such file or directory

Cannot get to initialise, it has been built with musl

Can servus work seamlessly with zola?

zola is a static site generator, but also rust-powered, even the template engine is the same as servus - tera. Is it possible to find a way make servus work seamlessly with zola?

I mean it is a very user-friendly feature to adapt to 3-party tools.

Error { kind: Msg("Variable `page.date` not found in context while rendering 'post.html

Servus :)

I stuck at following message:

$ ./target/debug/servus dev
Found site: servus.page
Loading layouts...
Loaded 3 templates!
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: Msg("Failed to render 'post.html'"), source: Some(Error { kind: Msg("Variable `page.date` not found in context while rendering 'post.html'"), source: None }) }', src/main.rs:1034:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I copied the contents of the hidden .servus folder into the servus.page folder and edited the _config.toml. Was this right? My structure looks like this:

image

Set port and disable HTTPS (HTTP only mode)

Hello there!

I have been trying to find a way to "host" my own Nostr blog and stumbled over this while browsing awesome-nostr. So I immediately cloned and compiled it on my server - all good so far. But I couldn't seem to find a hint in the README about how to disable HTTPS support. Reason being that I already use Caddy and take advantage of it's auto-provisioning for certs with HTTP and DNS (CloudFlare) challenge and storing them in Redis to link another Caddy instance to the same certs.

Hence I would like to know how to do this. :) The rest is easy; I can "change" the location of the sites folder by setting PWD in my SystemD unit - though it'd be nice if the base path could be specified in the future.

Thank you for your hard work!

Kind regards,
Ingwie

My experenice in trying servus preview, posting and SSL errors

I've found Servus on Nostr awesome repository. I was interested in checking it and I had to compile it to see what I'll get. I'm documenting my experience and suggestions.

No Live version or a Screen shot

For a web tool a user would benefit from seeing a live version or screenshot, I had to compile it to know what I'll get. I've seen a very simple html only page that I recorded but was unsure if I did something wrong.

What I see currently:
https://github.com/ibz/servus/assets/411046/94471f10-ca5c-4448-8dd0-8875debffe66

SSL configurations

I've tried to run the server on port 443 as I thought the release version may render with some style but I got:

{"level":50,"time":1684213368898,"msg":"tls error","error":"received corrupt message"}
{"level":40,"time":1684213378319,"msg":"Sending fatal alert AccessDenied"}

When I visit after server launch I see the following error in browser:

Error code: SSL_ERROR_ACCESS_DENIED_ALERT

Logs shows:

{"level":40,"time":1684213597783,"msg":"Sending fatal alert AccessDenied"}
{"level":50,"time":1684213597783,"msg":"tls error","error":"unexpected error: no server certificate chain resolved"}

I was testing locally so I thought it might need a live server with domain setup to get letsencrypt certificate but that was not clear in the documents, it actually says you only have to setup email.

How to post?

It says that I can use some compatible Nostr clients to post but how do I connect the client to my post, how does that work with relays. Is there away to post directly from Servus. I hope that documentations covers it.

Is it possible to chat with developers?

I suggest adding a communication method or have group for discussions related to this tool

I was happy to see a Rust tool for Nostr blogging and I hope it would be easier to test and examine for who's interested.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.