Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

67% Positive

Analyzed from 244 words in the discussion.

Trending Topics

#cloudflare#maybe#blog#subdirectory#doesn#davidma#workers#doing#html#txt

Discussion (14 Comments)Read Original on HackerNews

teach•about 7 hours ago
Maybe should add "with Cloudflare Workers" to the headline

Because hosting a blog inside a subdirectory is like the most trivial webserver thing ever

ahme•about 6 hours ago
Are we not just doing static html for blogs anymore?
Bender•about 5 hours ago
We could just enable auto-index and drop a bunch of .txt files into it.
cr125rider•about 5 hours ago
That doesn’t sound bloated enough. Too fast. Gonna give a user whiplash.
doublerabbit•about 4 hours ago
.htaccess that rewrites the .txt to serve the file as an .html extension. With help from bash you then append a bootstrap v3 CSS library to all files.

Using websockets for post updates this feeds in to a webview component powered by django that interacts with an Angular PHP parser using Wordpress as the database translation layer that a python daemon watches and dumps the wordpress entry back in to a text file.

You then render this in to a shadow DOM with react and include Vue.js and Next.js to create a carousel and landing page boilerplate.

taikon•about 6 hours ago
I wanted to but it said it exceeds the character limit
nomel•about 4 hours ago
I was hoping this was a joke about storing your blog text AS the subdirectory name.
gnabgib•about 6 hours ago
Maybe(?): How to Host a Blog in a directory Instead of Subdomain with Cloudflare Workers
shmoe•about 4 hours ago
also proof that everything old is new again at some point.
gnabgib•about 7 hours ago
(2025) At the time (on a different domain, but not in a subdirectory) https://news.ycombinator.com/item?id=46050069
taikon•about 6 hours ago
Yes I switched the domain. But davidma.co redirects to davidma.org.
gnabgib•about 6 hours ago
It doesn't presently (maybe a config issue?) Cloudflare just never responds:

> Connecting to www.davidma.co(more..)

> HTTP request sent, awaiting response... (timeout)

erdaniels•about 2 hours ago
I'm not trying to be rude here, but this doesn't belong on this site. This is like posting documentation on CloudFlare for a tutorial that isn't remotely a feature.
theturtle•about 6 hours ago
This is somehow news? I was doing this 30 actual years ago.

Long before Google and Cloudflare stunk up the internet.