You switch the storage mode from `local` to `github` and connect your project to an existing repo! Here are the docs for it: keystatic.com/docs/connect-to-github
Yep indeed. Keystatic uses some Node APIs to read/write to the file system. Works out of the box on Vercel since all Keystatic routes are API routes in Next. You most likely want to switch to the GitHub storage strategy if you want folks to edit content on the deployed instsnce. See Keystatic.com for more info on that!
@shafu_xyz honestly not 100% sure how the Keystatic internals work, but it definitely works on Vercel, I have multiple production sites running on Vercel. I never looked too deep under the hood how the file creation works. Emma Hamilton and Jed Watson are doing most (all) of that work 💫
If you're using the GitHub strategy, the Admin UI will require GitHub login with write access to the repo in question. But as far as the "local" storage strategy... not that I know of as of yet, but that's a very good point/suggestions.
Super Cool 👍
The CLI makes it MUCH easier to get started 🎉
I have used outstatic before but this feels more comfortable to work with as the config options are great
Seems absolutely banger 🎉
How would it work with a git-repo on a live-site?
You switch the storage mode from `local` to `github` and connect your project to an existing repo! Here are the docs for it: keystatic.com/docs/connect-to-github
wth... I was thinking on developing something like this to nextjs and this video showed up. 🤔
Thank's for sharing!
Haha good timing!
is that editorjs?
It's currently Slate, but we're switching to ProseMirror.
Can collections be used with mdx files? Only mdoc is recognized under the specified path.
As of right now, mdoc is the only format that is available/recognized by Keystatic for document fields.
@@simonswiss Thanks! It would be really helpful if support for mdx and markdown is added though.
@@qiushiyann Agreed!
Wow great 💯
It's pretty cool indeed 🎉
is this hosted along with next app?
Yep indeed. Keystatic uses some Node APIs to read/write to the file system. Works out of the box on Vercel since all Keystatic routes are API routes in Next.
You most likely want to switch to the GitHub storage strategy if you want folks to edit content on the deployed instsnce. See Keystatic.com for more info on that!
@@simonswiss if i am right vercel doesn’t allow fs writes..
@shafu_xyz honestly not 100% sure how the Keystatic internals work, but it definitely works on Vercel, I have multiple production sites running on Vercel. I never looked too deep under the hood how the file creation works. Emma Hamilton and Jed Watson are doing most (all) of that work 💫
Which terminal is that ? Looking superb
It's Hyper, with some fancy color customisation ✨
Is there a way to protect the Admin Page
If you're using the GitHub strategy, the Admin UI will require GitHub login with write access to the repo in question. But as far as the "local" storage strategy... not that I know of as of yet, but that's a very good point/suggestions.
Super cool. Does it work with cloudflare pages?
It works on anything that can run Node.js - I _think_ that means it would work on cloudflare pages?
@@simonswiss Yeah. I think so
Can We Use Tailwind In React Native ?