Felwine
Local-first blog management made right. An open source library for writing platform agnostic blog posts. Every article is self contained and can be published to numerous online platforms including Medium, Dev.To or any custom API. Take control of your intellectual property without concessions.
✍️
Sole source of truth
The JSON based form declaration is what separates Felwine from other frameworks. Simply give. The markdown based local posts are standard.
Archival
Every input component follows a unique API that make it readable, testable, maintainable and shippable.
Multi-platforms
The component libraries system makes it easy to use a feature team, a project, a company or a community library to jump start a project.
Quick start 🚀
Let's build a felwine project.
1. Install felwine and a component library
- npm
- yarn
npm install -g felwine
yarn global add felwine
2. Create a project
felwine new
3. Add a platform (optional)
felwine platform add
4. Create an article
The post is written in markdown, you can add images and tables.felwine post new
5. Sync the project
felwine sync
Break the Form into Small Reusable Components
One of the fundamental principles of React is the concept of componentization. Apply this principle to your forms by breaking them down into small, reusable components.
Yup validation
Yup is a schema builder for runtime value parsing and validation. Define a schema, transform a value to match, assert the shape of an existing value, or both. Yup schema are extremely expressive and allow modeling complex, interdependent validations, or value transformation.
Formik underneath
On React we use the powerful Formik library for rendering the inputs. Formik is the world's most popular open source form library for React and React Native.
What do we want?
Ok, what would the perfect CLI generator look like ?
- Write whenever I want
- Publish wherever I wish
- Keep my stories