Something I've been wanting to write but will quite honestly never have time is a lightweight replacement for WordPress where all editing happens locally in an Electron app and a static site is published/rsynched to a web server with backups stored in a git or hg repo. The big nut to crack, in my mind, is to support multiple distributed content editors at once, which is why I was thinking that the publish action is really pushing to Git and invoking an API on the web server to do a `git fetch` or equivalent. Does anyone know of a project that does what I'm describing? ImportDoc sort of does this but with a reliance on Google Docs it's not 100% portable.
I've been using hugo for my personal site, and it has been ok-ish...but I will be moving to Lektor...because jinja templating seems to be easier for me to understand as opposed to hugo's/Go's templating. But, this is of course a personal choice, and YMMV.
The idea I've got is that anyone could use the editor/publisher I'm trying to describe after watching a 10 minute YouTube video and pulling down the Electron app. Another goal would be to help people in repressive regimes spread news and information that the government wants suppressed: that's why I was thinking of building this on a git/hg model but with all of the hairy aspects of distributed source control abstracted or made easy so the content creators can focus on creating content instead of learning MIS minutiae.
I see what you mean...and i definitely would NOT want to dissuade you from any such activities in building what you described - the more attention around providing options for tech and non-techs alike is for the best! However, i wonder if part of what you wish for, might already be built? Have you scoured options via the following? https://www.staticgen.com/
If not the whole stack, maybe components and modules might already exist, and you can build upon them? Again, the more options that exist for people to more easily post and host their own content (and in my opinion not beholden to the walled garden silos) is best! In any case, good luck! Cheers!
I kinda hope all of the Legos exist and just need to be snapped together in the right way! Would a high-level write-up of the concept be appropriate to post as an "Ask HN" in order gauge (1) whether all of the needed parts exist and (2) what the level of interest would be in assembling the parts/creating what is missing? Regarding part 2, I suck at JavaScript so me creating an electron app will happen the day after Linus Torvalds and Steve Ballmer create a tech startup together...
1. I mean, i guess you could post an "Ask HN"; you could certainly get other insights and intel from others...but if it were me, i think I'd just dive in and start researching things on my own. Or, maybe just get all meta on this topic, and post your thoughts around this to your own existing blog (assuming you have one now?)...about how you wish to go through this endeavor!
2. I vote for you to just "scratch your own itch".
Hey, I'm not a javascript guru either...But if this were the approach that i would want to take - i.e. to leverage electron - and it doesn't/didn't exist, i might be compelled to learn enough javascript to at least get the ball rolling myself ("dangerous" though it might feel)...and along the way - assuming you've already posted about this effort of yours - maybe others will join in to help you - that is, others who might be better javascript practitioners, and who want the same platform as you want. I think that's worth a shot! I encourage you to go for it! What is it that Ghandi said: "Be the change that you wish to see in the world." Good luck and cheers!
Ghost (https://ghost.org) is a lightweight WordPress with an Electron app for editing/writing. However, it isn't statically generated, I think all the content is stored in a database.
Damn, that's a great idea. I'm going to seriously look into building that. I think the power of this, is it gives the tools the ability to grow as the team does. Initially it's a simple wordpress like get it done thing. But then as the team grows, they can start building and customizing their own content pipeline without having to go through a massive redesign. The downside, is the power of wordpress is the ecosystem. Trying to compete with it in 2019 is no small task.
Jekyll + a remote git server can do this via post receive hooks. iirc GitHub pages functions this way (where the electron app is atom + markdown preview).
I’m seeing so many google docs/sheets ideas on HN lately. Maybe there’s a new trend! This on, the database one and someone linked to one that turns it into an AppStore ready app!
I made http://hexopress.com to run my blog from Google Docs. Simply because it's neater to have all my docs in one place. Also, I could blog right from my comfort area, instead of using the editor that comes with different blogging platforms.
Also noticed this recently - whats driving this? Non-developers looking to prototype or build actual products without developer involvement? Democratisation of technology?
I would say ease of use and cost. A friend of mine has been using Google Sheets for years to power some small bits of data on his website. Maintaining and running his site costs nothing but the domain since he uses Netlify for CI w/Github and hosting with Google Sheets for dynamic data.
Very easy to set up a small database that non-tech people can also access. It's also a very light-weight way to implement a CMS with users and version control etc.
Sheets and Docs are the primary office apps used internally by thousands of Googlers. Seems unlikely that Google would kill them and give everyone Microsoft products.
I also posted one recently, a plugin to connect to APIs directly in Google Sheets [1]. The primary use case I had in mind was for people looking to grab data from various APIs, in which case it's pretty clear why someone would want to directly access the output in Google Sheets. However, I was surprised to discover a lot of people are actually using it as an alternative to CMSes like Wordpress, like bolting it together to other plugins and sheets to create their own apps. It's a trend for sure, I think it all falls under the "low code/no code" movement.
We did this a couple years ago! It works similarly, plus our version is open source (not sure if their one is). Runs on Google Apps script, but you could use it on any hosted js service really.
There needs to be more of these types of solutions. Though, I'd like to see people moving away from Google as a whole. There is a decentralized publishing platform called LetterMesh (https://lettermesh.com/) and it uses the content from (disclaimer: this is my company) Graphite Docs (https://graphitedocs.com)
this has become one of those HN threads that just keeps on giving. thanks for recommendations for publii lektor, googpress, staticgen and hexopress, and the parent article on import doc.
There is a geshtalt emerging in this space that makes me hopeful and curious to see where it leads?
I've always found the Sheets Solution to be a little bit better as it feels more like a database. It also allows you to store lots of data in different ways, but maybe a google docs / sheets solution would be the best all round for something such as a blog.