electron-store
decap-cms
electron-store | decap-cms | |
---|---|---|
7 | 80 | |
4,431 | 17,510 | |
- | 0.2% | |
4.3 | 9.2 | |
about 2 months ago | 1 day ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
electron-store
-
Best offline&local database to use with electron?
Not quite a database, but I use electron-store for persistent storage. It has a super simple API, and it stores data in a config.json file that’s mostly hidden from the user unless they know where to look.
-
Something like mongoose in electron?
The electron-store package works well with simple data.
-
What is the proper way to permanently store data in Electron in 2023?
I've seen electron-store, but it seems to be a volatile store. Each time I open the app, it seems I must create a new Store(). The doc explains clearly how to perform crud operation in a new store, but not how to retrieve existing data when re-opening the app 10 days later. If the lib can actually do it, how to do so?
-
Question about data persistence within electron app
With Electron, you have disk access via Node.js (fs.writeFile, etc), so you can save user preferences to the user's hard drive. See https://github.com/sindresorhus/electron-store for a library that makes it super easy and provides you with some nice conventions for working with the file system from an Electron app.
-
How to save user preferences?
Use electron-store
-
Using Typescript with electron-store
https://github.com/sindresorhus/electron-store/issues/49 Links to internal test that shows how to pass types to electron-store
-
[Electron][TypeScript] output/input files
GitHub - sindresorhus/electron-store: Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
decap-cms
-
Show HN: Pages CMS – A CMS for GitHub
Following one of the comments in this thread I reviewed two other products in this space - https://www.staticcms.org/ and https://decapcms.org/ - and it looks like the webpages are almost a direct copy of one another, one in dark mode and one in light mode.
I'm a technical product marketer, and I find these type of landing page copying amusing to no end.
-
9 best Git-based CMS platforms for your next project
Decap CMS, formerly Netlify CMS, is an extensible headless CMS built as a single-page React app. It’s an open source and completely free-to-use option that offers rich-text editing, real-time preview, and drag-and-drop media uploads.
-
Ask HN: Tools for Managing Static Sites?
You can look into a Git-based CMS, such as https://github.com/decaporg/decap-cms
These typically are designed to support static site generators.
-
Looking for the Best Way to Create and Update a One-Page Event Grid for My City
I found https://decapcms.org/ which seems like an easy to use.
-
Casidoo on TinaCMS
Did you consider https://decapcms.org/ (previously Netlify CMS)? I'm surprised it never really caught on as it seems a good fit for most small Markdown based sites. Looks like Smashing Magazine was using it before they moved to Tina CMS (https://www.smashingmagazine.com/2020/01/migration-from-word...).
-
The theory versus the practice of “static websites”
Products like [decap CMS](https://github.com/decaporg/decap-cms) try to bridge that gap, but I agree that this space needs to be further developed. In fact I think there needs to be a bunch more work to allow mere mortals to use version control and branch workflows in day to day work.
-
How to build a website without frameworks and tons of libraries
I've thought of something similar! A git-based flow for a friend's static portfolio site, where he can make text edits and upload images, and the site builds that content with HTML templates.
Not sure how the GitHub markdown editor would feel for the user. It might be really great, even for uploading images.
I was imagining a static admin page, WYSIWYG, that makes git pushes on submit. These were the headless CMSs that seem to be able to accomplish that:
https://www.siteleaf.com/
https://decapcms.org/
And not git based, but similar idea: https://editable.website/
And this is what the admin edit page usually looks like: https://quick-edit-demo.vercel.app/admin/index.html#/collect...
But was taking a bit of work to configure.
-
Looking for a statically deployed site-builder / CMS that stores content in GitHub
Since I made my post, I've also discovered Decap CMS. This looks fairly close to what I was looking for - it deploys as a static SPA alongside the site on a /admin route, allows login with Github (and several other platforms), and builds the site using a choice of static site generator like Gatsby/Hugo/Jekyll etc. The templates are relatively rigid by default though - page layouts are defined up front, and to add a page with a different layout you need to manually add some files to the repo. It seems like there's a way to work around this and add flexibility, but it needs a bit of custom React development. It seems like this might be worth the time investment for me though, since it's the closest thing I've found to what I need so far.
-
Suggestions for a CMS
If you've got the content in .md and .json files and you just need a way to add or modify that content, I would recommend you look into decap CMS (formerly netlify CMS)
- Best CMS/SSG for small business website?
What are some alternatives?
puppeteer-extra - 💯 Teach puppeteer new tricks through plugins.
Strapi - 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.
electronmon - 🖥 run, watch, and restart electron apps using magic
tinacms - A fully open-source headless CMS that supports Markdown and Visual Editing
electron-settings - 📝 A simple persistent user settings framework for Electron.
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
electron-log - Just a simple logging module for your Electron application
sanity - Sanity Studio – Rapidly configure content workspaces powered by structured content
conf - Simple config handling for your app or module
firecms - Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
cnnn666v2-bot - Config files for my GitHub profile.
Directus - The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.