News for hackers. Stuff that matters.

dtedesco1

Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @09:13PM (#45134066)
> taking care of all the hairy details around `<CustomComponent>...</...>`

Precisely! Thank you.

Can you share more about what you have in mind for frontmatter? I don’t really understand the need/use cases yet.

Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @09:05PM (#45133998)
Bingo!
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @09:04PM (#45133992)
Thanks for calling out. I’ve opened [an issue to look into this](https://github.com/dtedesco1/nextjs-markdown-boilerplate/iss...).
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @09:01PM (#45133970)
Awesome work. Very snappy and crisp. For this project, I’m still stuck in React hell though because I want to use React components XD
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @09:00PM (#45133964)
This is great! Thanks for sharing.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:35PM (#45133811)
I actually previously used Jekyll! Built this largely because I want full React component functionality sometimes. Also I think Jelyll gave me some issues with routing that I didn’t like.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:32PM (#45133798)
These are great for adding more flavor to md -> html, but I want to be able to use React components sometimes, not just JS/CSS.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:29PM (#45133782)
You’re getting close. The biggest thing is that I want to be able to use React components sometimes and anywhere on the page. If you just want md -> html, there are of course much better options.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:25PM (#45133757)
Yep, but I still want to use React components sometimes. That’s my biggest holdup.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:24PM (#45133755)
These look really promising! Can I bring existing React components with me to any of them? That might be the biggest hold up. I’d also worry about maintainability as web standards evolve, since these (mostly) seem like pretty small projects.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:20PM (#45133723)
Can I still bring my React components when I want them? Haven’t tried out HTMX yet.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:05PM (#45133651)
Intriguing. Does it render React components when you want to add them?
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:04PM (#45133640)
Ha! I would love that.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:04PM (#45133638)
Haven’t gotten this feedback from anyone else. Are you using a browser extension(s) that might be affecting how it renders?
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:02PM (#45133627)
Agreed! Give me a better option that supports React components?
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:02PM (#45133624)
but nextjs is in the title… :)
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @08:00PM (#45133616)
Does Obsidian support React components when you want to add them? That’s my biggest issue.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @07:55PM (#45133592)
That’s good if I’m really *only* ever using Markdown. But what about wanting to use React components sometimes? That’s my biggest problem.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @07:53PM (#45133574)
It’s the I-sometimes-want-to-use-React-components issue that is my holdup. They make it easy to do some visual/behavioral stuff and are often directly portable from other sites or oss projects.
Re:The easy way to make a website with Markdown on Thursday September 04, 2025 @07:51PM (#45133556)
This makes sense for one-way posting, but there are two issues for my main use case (personal and small company websites):

1. I want to edit the pages sometimes, and I want to do so using markdown without extra steps.

2. I still want to use React components *sometimes*.

3. I want it to be really easy to deploy and monitor. Nextjs is really easy for those things.

Solving the first issue and third issues don’t require React, but the second definitely does. So I’m still stuck.

Re:The easy way to make a website with Markdown on Saturday August 30, 2025 @06:06AM (#45073403)
I agree, but it's just too difficult to get away from the React ecosystem...

Do you have suggestions on a better alternative?

Re:The easy way to make a website with Markdown on Friday August 29, 2025 @11:08PM (#45071593)
I wanted a dumb & simple way to make a modern website with text files, so I made one. Small, static-first Next.js boilerplate, intentionally minimal, just markdown → website, with optional React components when you want them.

Just updated it; what’s new:

• Next.js 15.5.2 + React 19.1.1 • Better typing for error boundaries (React 19) • Robust handling for Next 15 async params • Updated DaisyUI, MDX, and tooling

Use it for docs, personal sites, landing pages, or simple content sites that still want modern Next.js ergonomics.

Re:Show HN: Minimal Next.js 15 Markdown Boilerplate on Tuesday November 05, 2024 @06:08AM (#42050525)
Given you have an existing website, it might be easier for you to add Markdown support to your site through a static site generator or server-side conversion step.

Or you can even use a Markdown-to-HTML tool (I believe pandoc has this feature) to convert the pages yourself before posting. That's a bit more manual but wouldn't require changing your current structure.

Anyway, if you end up using boilerplate, let me know what you think!

Re:Show HN: Minimal Next.js 15 Markdown Boilerplate on Tuesday November 05, 2024 @05:57AM (#42050474)
Three main reasons, two functional and one practical:

1. Built-in MDX support means you can seamlessly mix Markdown and React components. (I previously had some trouble with the @mdx-js/react library and was in the market for more native solutions.)

2. Next.js makes it pretty easy to do modern web stuff, like client/server components and Tailwind/DaisyUI styling.

3. With Vercel spending so much getting YouTubers to create general Next.js tutorials, I found it very easy to get this set up.

If you're dealing with purely static Markdown content, I would recommend something simpler.

Show HN: Minimal Next.js 15 Markdown Boilerplate

https://github.com/dtedesco1/dtedes.co

Just write Markdown. Add React components whenever you want. I'm lazy, so I made this extremely simple.- Render Markdown files as dynamic pages- Add React components anywhere in your Markdown- The folder structure becomes the URL path- Global styles using Tailwind CSS and DaisyUIhttps://github.com/dtedesco1/nextjs-markdown-boilerplate

( Read More... | 6 comments | 2 points | on HN )

Show HN: A *simple* Python interface for multiple LLM providers

https://github.com/dtedesco1/llm_nexus

Langchain was too abstracted and complex for me, so I made a simpler alternative. LLM Nexus is an open-source Python package that provides a single interface for interacting with multiple Language Model providers. The idea is make it easier to experiment with and integrate various LLMs into their projects without getting bogged down in provider-specific implementations or a heavy abstraction...

( Read More... | no comments | on HN )
Re:Annual letters since 2015, and why I write them on Thursday March 31, 2022 @11:34AM (#30868354)
Since I don't post about myself much on social media and I'm a bad correspondent, it's been a really wonderful way to keep in touch. Also, seeing myself change over time and hearing back from long lost friends are added benefits.

Older »