News for hackers. Stuff that matters.
Re:TinaCMS: A toolkit for building visual editing into your ... by sgallant on Thursday March 25, 2021 @01:09PM (#26582753)
Co-founder (and long-time HN lurker) here.

We think that editing content for JAMstack sites can be WAY better without compromising code quality, extensibility, etc.

Most CMSs feel like a GUI on a database. We’re bringing an intuitive, contextual editing experience. Think a CMS meets Wix but developer-friendly.

How we're different:

1. Git-first. The filesystem can be a database for your content.

2. Visual editing. Your marketing team wants to see what they’re editingl.

3. Open-source and agnostic. Extend Tina with plugins. Point Tina to any API to read/write content (filesystem, GitHub API, or any 3rd party API).

Re:TinaCMS: A toolkit for building visual editing into your ... by andybak on Thursday March 25, 2021 @03:43PM (#26584513)
> Your marketing team wants to see what they’re editing

They aren't the only ones. The "real geeks use plain text" thing grinds my gears. There are enough irritating surprises with Markdown, that I much prefer a half-decent WYSIWYG editor.

Re:TinaCMS: A toolkit for building visual editing into your ... by seanwilson on Thursday March 25, 2021 @03:45PM (#26584529)
> 1. Git-first. The filesystem can be a database for your content.

To set TinaCMS to commit to GitHub on edit, what's the minimum you need to do in terms of extra hosting requirements?

Re:TinaCMS: A toolkit for building visual editing into your ... by jpohalloran on Thursday March 25, 2021 @04:37PM (#26585067)
To setup the GitHub integration, you will need to setup a GitHub App for authentication. You'll need to reference the GitHub App's secret within your implementation, so you'll need a backend function. Vercel & Netlify make it really easy to to do with with their API functions.

There's a guide here showing how to set up GitHub on a NextJS site (and eventually hosting on Vercel): https://tina.io/guides/nextjs/github/initial-setup/

Re:TinaCMS: A toolkit for building visual editing into your ... by seanwilson on Friday March 26, 2021 @11:58AM (#26593618)
Thanks! How do you secure the backend function and have user authentication though? Do you know what the pricing for this would be on Netlify?
Re:TinaCMS: A toolkit for building visual editing into your ... by jfbaro on Thursday March 25, 2021 @03:01PM (#26584042)
Not 100% related, but can the editing capability be (strongly) protected by login/password (Microsoft AD, for instance) so that only authorized users are able to edit the website?
Re:TinaCMS: A toolkit for building visual editing into your ... by sgallant on Thursday March 25, 2021 @04:20PM (#26584883)
Yes. Reach out if you'd like more information. scott[at]tinacms.org