Live data from Hacker News

Creating a minimalist blog with Jekyll Now

vdf.dev

71–80 of 94 posts

Re: Creating a minimalist blog with Jekyll Now

#71

Earlier quoted context omitted.

This makes me think, a Telegram-bot-as-a-CMS would work great for micro blogging.

Something similar was posted on HN before [1], seems to be offline though. There’s an archived copy here: [2] [1] https://news.ycombinator.com/item?id=17617675 [2] https://web.archive.org/web/20180726143328/https://telepost....

Telepost (which I just found out about from you) would be too expensive an option for a microblogging usecase, in my opinion.

Nevertheless, it is proof that something like that could work, although it would require large infrastructure cost today. Thanks for the links!

Re: Creating a minimalist blog with Jekyll Now

#72
post #64

Earlier quoted context omitted.

This makes me think, a Telegram-bot-as-a-CMS would work great for micro blogging.

What is old is new again. This exact idea has floated for pretty much all messaging protocols that have had some kind of programmabilty already. We can even imagine an email-based microblogging hack. Edit your boop (that's the new tweet) in your favorite MUA: the subject is the short text, the body is the long text. You can even put images and attachements in there. Send yourself this message, with a well-known prefi…

Great write-up. You're absolutely right, without having the protocols required to achieve this already in place, much of the web wouldn't exist today.

I think right now, we will all have to wait for the system that ends all present microblogging platforms. And with what we are seeing right now, this solution must be decentralised, censorship-free, and non-selective with who can participate, for the billions of internet users to even consider switching away from FB, Twitter, and the like.

Re: Creating a minimalist blog with Jekyll Now

#73
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

I use GitHub actions for simple, text-only posts.

I set up an action that gets dispatched once an issue with the label "post" is opened. It then takes that, creates a markdown file with that content and creates a commit. The original issue is then closed.

For more convince, I also have an issue template called "Blog Post", which has already the label set etc. Then, you can bookmark/pin a link to the new issue on your phone's home screen.

I found myself using that instead of git, even if I have a fit client and the repository already cloned.

Currently, it does not support issues where the "post" label is added after issue creation (would be useful for drafts). But it would be entirely possible, as well as image/media/file support.

Re: Creating a minimalist blog with Jekyll Now

#74

Earlier quoted context omitted.

This makes me think, a Telegram-bot-as-a-CMS would work great for micro blogging.

There is something already in place with the 'telegra.ph' site, which is connected with Telegram I believe: https://telegra.ph https://telegra.ph/api

Awesome! So 'telegra.ph' allows anyone to post a richly-formatted HTTPS site right from Telegram. Neat!

It should be fairly simple from here, to display contents of said HTTPS site on their own blog or website, so that they can write and edit their site directly from Telegram.

This is exactly what I imagined when I thought of Telegram-as-a-CMS. Thanks!

Re: Creating a minimalist blog with Jekyll Now

#76
post #73
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

I use GitHub actions for simple, text-only posts. I set up an action that gets dispatched once an issue with the label "post" is opened. It then takes that, creates a markdown file with that content and creates a commit. The original issue is then closed. For more convince, I also have an issue template called "Blog Post", which has already the label set etc. Then, you can bookmark/pin a link to the new issue on your…

Hey this sounds like a really clever solution, actually, would love to look at it — do you have a link to the action, or have you not released it?

Re: Creating a minimalist blog with Jekyll Now

#77

I am somewhat confused by this blog post, as GitHub directly renders Jekyll sites by default–no GitHub Actions or fiddling required. Is there a reason why this was not the right fit?

Was under the impression you can't use Github pages for commercial use? Not sure how heavily that is enforced.

This is GitHub's wording in the Pages docs:

> GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).

https://docs.github.com/en/pages/getting-started-with-github...

To me that sounds like a blog would be fine.

Re: Creating a minimalist blog with Jekyll Now

#78
post #73

Earlier quoted context omitted.

I use GitHub actions for simple, text-only posts. I set up an action that gets dispatched once an issue with the label "post" is opened. It then takes that, creates a markdown file with that content and creates a commit. The original issue is then closed. For more convince, I also have an issue template called "Blog Post", which has already the label set etc. Then, you can bookmark/pin a link to the new issue on your…

Hey this sounds like a really clever solution, actually, would love to look at it — do you have a link to the action, or have you not released it?

It is not available in public, since it's only a workflow in a private repository that uses four different actions in that order:

- actions/checkout

- A script that edits/changes a file based on the content of the opened issue

- stefanzweifel/git-auto-commit-action@v4

- peter-evans/close-issue@v1

One could make a fully-fledged action out of that. But for my case, this is sufficient.

I also tried a different way, which may also work for you: There are .devcontainers, which can be used for GitHub Code Spaces. It's basically a VSCode in the browser, including a terminal. You can specify which extensions have to be installed, like a spell checker or markdown formatter and use that VSCode in the browser to write posts.

I'm currently not using that because it doesn't work on mobile at all.

Re: Creating a minimalist blog with Jekyll Now

#79
Jekyll has been a dream for me, used it for about four years now. The problems I have with it are generally solvable on my own, but haven't quite passed that threshold where I want to take the time to solve them (i.e. a plugin for autocomplete for things like layouts, includes, etc).

Re: Creating a minimalist blog with Jekyll Now

#80
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

This is my exact feeling. I have a Hugo-powered blog, but like you said, I miss the ability to draft something quickly when I'm inspired. Right now, the best option I have found is self-hosting Ghost with some aggressive Cloudflare caching. I considered using wp2static[0] before starting with Ghost. Have you published your exporter? [0] https://github.com/leonstafford/wp2static

There's https://www.netlifycms.org/ it has drafts and you are not limited to Hugo with it.
Post reply on HN