n8n-nodes-weedb
v1.0.87
Published
<div align="center"> <img src="weedb_logo.png" alt="WeeDB Logo" width="200"/> <br/> <strong>Finally, a reliable way to store persistent data in n8n custom nodes!</strong> </div>
Maintainers
Keywords
Readme
🚀 WeeDB: Persistent Data Storage for n8n
🎯 The Problem
One of the most challenging aspects of n8n custom node development has been persistent data storage. Common issues include:
- Data loss during node updates
- No built-in persistent storage solution
- State management complexity
💡 The Solution
WeeDB solves these challenges by providing:
True Persistence
- Data stored in user's home directory (
~/.weedb/) - Survives node updates and reinstalls
- Cross-platform compatibility
- Data stored in user's home directory (
Simple API
// Store data that persists! await weeDB.create({ key: "settings", value: "important-data" });Reliable Architecture
~/.weedb/ ├── database1.json ├── database2.json └── settings/ └── config.json
⚡ Features
1. Persistent Storage
- ✅ Survives node updates
- ✅ Survives n8n restarts
- ✅ Cross-platform support
2. Rich Operations
- 🔍 Pattern-based search
- 🗑️ Bulk operations
- 🔄 Atomic updates
3. Safety Features
- 🧪 Dry run mode
- ⚠️ Operation confirmation
- 🔒 Data integrity checks
🛠️ Installation
npm install n8n-nodes-weedb📚 Documentation
Basic Usage
// Store persistent data
WeeDB Create: {
key: "config",
value: { setting: "value" }
}
// Retrieve anytime, anywhere
WeeDB Get: {
mode: "single",
key: "config"
}Advanced Features
// Pattern-based removal
WeeDB Remove: {
mode: "pattern",
pattern: "temp_*",
options: { dryRun: true }
}⭐ Support the Project
If you find WeeDB helpful, please consider giving it a star on GitHub! It helps make the project more visible to other n8n developers.
Why Star?
- Help other developers find this solution
- Show your appreciation for the project
- Stay updated on new features and releases
- Join our growing community of n8n developers
🎯 Real-World Use Cases
Configuration Storage
- Store API credentials
- Save user preferences
- Maintain state between workflows
Cache Management
- Store API response cache
- Maintain rate limit counters
- Save temporary processing results
Workflow State
- Track long-running operations
- Store checkpoint data
- Maintain audit logs
🤝 Contributing
Found a bug? Have a feature request? We'd love to hear from you! Check out our contribution guidelines.
📜 License
MIT © Hossein Khoshraftar
/\ \ /\ \ /\ _ \ _ \
\ \ /\ \ \ \ __ \ \ \L\ \ \ \
\ \ \ \ \ \ \L\ \ \ \ __ \ \ \
\ \ _/ \ _/ \ \ \L\ \ _\
\ \___/\/___/ \ \_____\/\_\/
// /__//_/
WeeDB - Tiny but Mighty
