Perfect ๐
30.07.2025 07:32 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0@joshnuss.com.bsky.social
Just an ape riding a rotating rock through outer space. Software developer ๐จ๐ฆ Building sveltestripe.com, airbadge.dev
Perfect ๐
30.07.2025 07:32 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Hey Paolo ๐
Would next week work?
I'm might be travelling Friday
Give it a try and let me know if you run into anything :D
There is a SvelteKit example here:
github.com/joshnuss/vit...
Welcome,
Let me know how it goes ๐
New vite plugin for working with markdown folders โจ
github.com/joshnuss/vit...
โก Super simple setup
๐๏ธ Typed front matter
๐ Hot reload
๐ Works server-side and client-side
It works great with Nuxt too!
29.07.2025 04:52 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0Thanks Sean!
npm package incoming
Code: github.com/joshnuss/vit...
28.07.2025 21:38 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Demo: Building a blog with my Vite + Unified experimental plugin ๐งช๐งช๐งช
28.07.2025 21:36 โ ๐ 4 ๐ 1 ๐ฌ 2 ๐ 1Found a vite plugin which looks similar to what I want to do:
www.npmjs.com/package/vite...
Except it generates code into a folder.
I'd prefer to resolve the code with a vite plugin (less configuration)
Also the github repo is missing ๐คทโโ๏ธ
Congrats man!
That must have been a lot of work
It could be something to do with the Markdown language server
Because I notice it doesn't handle other languages either, for example
```html
```
It looks promising!
25.07.2025 16:01 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0Yes, I think similar..
But content-collections has this in there example:
```
import { allPosts } from "content-collections"
```
But what if there is a `/docs` and `/posts` folder, the types would be different.
In addition, by being a vite plugin, the bundle will be chunked
Here's the experimental code so far:
github.com/joshnuss/vit...
I'll post the prototype to GitHub
The thing I still need to figure out, is to have a dynamic API for loading posts fully typed, for example
import { list, page } from `md:src/posts/*.md`
The plugin might need to update d.ts to make it work
Correct ๐
I never really use custom components in my markdown, cause remark/rehype plugins usually cover what I need
Built a prototype Vite plugin for importing markdown:
- Based on unified/remark/rehype
- Supports Shiki via rehype plugin
- Framework agnostic
- Zod schema for frontmatter
Here's the API:
..continued
23.07.2025 23:17 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0How to create a rotating gear in Spline:
app.spline.design/community/fi...
Video part #1 (second part below)
Example pipeline for parsing markdown with unified:
- Supports frontmatter
- Parse code blocks with Shiki
Useful for blogs or docs sites
Code: gist.github.com/joshnuss/986...
Want your vite to reload when a file or folder changes?
Try `vite-plugin-live-reload`
I think that was the key takeaway for me, the rest was stuff I know.
And thanks for that guide, just browsed it quickly, looks pretty good
Though one tweak, I think "benefits" should be a section separate from "features"
From the book Copywrong to Copywriter:
www.goodreads.com/book/show/75...
Learned a useful thing for copywriting landing pages:
Don't try to persuade with copywriting, just describe the offer.
The offer and the strategy behind it is what should persuade, not the copy.
And figured out how to deploy the actual device and debug over wifi ๐
16.07.2025 08:02 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0This is going to pair with the phone UI
bsky.app/profile/josh...
I am running with phone in a hip pack, so it's annoying to take out phone to pause or to check progress.
So hoping to do that via watch.
Adding a watch integration for my running app using Flutter
15.07.2025 23:45 โ ๐ 2 ๐ 0 ๐ฌ 2 ๐ 0Example:
www.thetrillium.ca/news/municip...