Lurker News

Comments (349) 72 threads

Show all comments

Showing thread 4 of 72

jedberg12 replies#
Things I would like in a blogging platform:

* Generate lightweight static website
* Good clean default CSS so I don't have to mess with it
* Automatically upload website to CDN and trigger expirations as necessary.
* Self-hosted
* Runs on AWS Lambda or any other Function as a Service equivilient
* Has a super lightweight CMS that I can easily use on both desktop and mobile, so if I have ideas I can start writing anywhere, and can also make minor corrections to existing posts while on the go.
* The CMS can be a frontend to git, but git is hard to use on mobile, so I don't want the CMS to just be git.
If anyone knows of something that meets these requirements I'd be super grateful!

j1elo2 replies#
Maybe a static blog (e.g. Hugo), hosted on Netlify and making use of their netlify-cms package?
jedberg#
Netlify is awesome and I love their service, but it's not self hosted. In particular you have to pay lots of money to get logs.
deefour#
I absolutely love Netlify.
regynald1 reply#
https://blot.im/ might be close to what you want. I think it's run on ec2 instances though.
jedberg1 reply#
It's not self hosted.
harikb1 reply#
If you have static generated website and a CDN, why do you need Lambda/Function? Or do you mean these as a set to pick and chose from?
jedberg1 reply#
The lambda would generate the static website after I type words into a webpage and then upload that site to the CDN.

It would also be the code behind the web page where I write the words.

harikb2 replies#
Looking at your profile, I get the sense you are trolling :) but I have a bad time imagining the need for the elasticity of lambda for those single-user actions.
johntash#
I'm not sure whether it's what they meant, but I could see the "admin" cms portion being hosted on lambda.

You'd load a static editor page, write your content, and then post it to a lambda endpoint. That lambda would then generate static pages for your content and push it to s3 or wherever.

jedberg#
It’s not the elasticity that matters, it’s the fact that I’d only have to pay for it to run when I want to update the site.
sequoia1 reply#
I'm struggling to understand what you mean by self-hosted. What does AWS Lambda do in this scenario? Surely not host the blog, so it must be the "cms"? At that point I'm not clear why you'd rule out netlify, as it's no longer "self-hosted." Please clarify! :)
jedberg2 replies#
My imagined workflow is

* load a web page
* write words
* hit submit
* this triggers a lambda function that generates a static website and puts it on s3
* this triggers another lambda function that pokes the CDN and expires anything that changed
By self-hosted I mean I control all the parts. I can change the generation code, the CDN upload/expiration code, I can change the output, I can view the logs, all within my own account.

dna_polymerase6 replies#
* Use a texteditor

* Hit save
* Let Hugo/Jekyll/Pelican/whatever compile
* FTP/SCP onto a server
* It's a blog, nobody needs a CDN for that

Continue this thread — 6 replies

jlelse1 reply#
I've build something like this using Hugo as a SSG and a custom Micropub-backend that commits new content to a Git repo and pushes it to a Git hosting platform. That then triggers a CI build for the site generation and upload to the webserver as well as a CDN purge.

Continue this thread — 1 reply

anderspitman2 replies#
Sounds like you just need a way to modify a remote filesystem, then trigger a build step when you're done with the modifications.

Assuming it was wrapped up in a nice UI, would that be missing any features you need?
EDIT: Put more concretely, if you had a site hosted on S3, all you need is a way to modify the source files of that site, either directly or by modifying files in another directory and running a transform step to produce the final result?

jedberg#
That pretty much sums it up!

It needs to have some sort of awareness of file changes to expire items from the CDN too.

asiachick1 reply#
For me. Yes, it would be missing features. I have a self hosted blog, the source is on github, there's a trigger on commits.

This sucks compared to wordpress because the UX in wordpress is much better than github and especially because there is no "preview".
There's also no easy way to upload images etc. Certainly not as easy as wordpress.
I'm not going back. I'm just saying "modify the remote file system and trigger a build" is far from what I want.

anderspitman#
Sounds like previews is the main thing missing though? I don't consider github to be similar to a remote filesystem, because like you said certain simple things like uploading images and other arbitrary data isn't easy.
gwbas1c1 reply#
Search around a bit, there's a static website generator that runs on git and is hosted by CDNs.

I can't remember the name, but it's commercial and targets major companies for making their landing pages.

alexktz#
Hugo?

gohugo.io

embit#
You have many requirements to blog. Blogging is substance over style. Not much required.
nxtrafalgar#
There's no simple commercial solution that does exactly this that I know of, but you can get very close with Google Cloud Functions, a GitHub Pages site, and a Google Sheets spreadsheet as a datastore. Not static, but it is fast, and you get a 'CMS' for free (the spreadsheet). Plus all of these services can be used completely for free.
pier251 reply#
Except for being "self hosted" and the "front end to git" we're building that as a commercial service.

https://pluma.cloud/
Not much to show yet but you can follow us on Twitter for updates in a couple of months: https://twitter.com/plumacloud
We're also considering providing our CMS as headless via an API so that you can connect it to your SSG and make your own template, host it wherever you want, etc, but we haven't decided yet on the pricing for that but it would be much cheaper than our main product.

lrdd1 reply#
I think the mailto: link on your page is misspelt as mailt:
pier25#
Thanks!

Continue this thread — 3 more replies