servuscms / servus Goto Github PK
View Code? Open in Web Editor NEWSelf-contained CMS & Personal Nostr Relay
License: GNU General Public License v3.0
Self-contained CMS & Personal Nostr Relay
License: GNU General Public License v3.0
-bash: ./servus/target/release: No such file or directory
Cannot get to initialise, it has been built with musl
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.
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:
Should not be able to access these...
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
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.
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
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.