-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this still maintained? #492
Comments
It looks like that. I donated to the project recently. I did not even receive a response. |
I was thinking. What if someone rewrote the project in Typescript? I wrote nedb-shell in Typescript for nedb. NeDB is simple enough for the purpose we are using it for and don't need any extra functionality at the moment so the project really isn't dead just because nothing is happening on it. But I was thinking what if there was a new javascript database that had encryption and compression along with decryption and decompression for saving data. I am sure with node ^6.9.x that a lot more can be done. |
I decided to pass using this fine code entirely for me. I wished it were not the case, but I donot base my maintained open source projects on top on non maintained open source projects unless I am up to take over the maintenance.... and I was not ready for this here. @louischatriot I think it is sad you did not manage to set up some orderly transition. R.I.P. nedb :) |
This may be an option, although I haven't used it. |
@nilskp That could be for browser apps but not Electron and having the persistent database. |
@marcusjwhelan It should be able to be used and persisted when run within a BrowserWindow? IndexedDB is pretty fast, and uses a data storage format more storage efficient and capable than JSON. |
Is this project still maintained? I want to know also. |
@pombredanne and others - NeDB is still maintained for bugfixes, and bugfixes only, as I am now satisfied by the feature set and flexibility to build upon NeDB (i.e. I see low to negative value in expanding the core feature set vs letting it be done by developers). FWIW, I did try to find a successor (as I have limited time) but the search was unfortunately fruitless, and I now don't even have time to look for one anymore ... |
(leaving this open for others) |
@louischatriot thanks for chiming in :) this is unfortunate but a good answer ! God speed! |
@louischatriot if you are up for transferring to the FeathersJS org our core team would be down for maintaining. We have a team of 6, use it pretty extensively and are looking to expand on it for browser support and React Native. Feel free to send me a private note at |
@louischatriot I had misspelled my email. Corrected now. |
@ekryski If your team does inherit the project, myself and another are working on a shell for the project and would love to create a shell to use in the browser. Also if you all upgraded the project to Typescript that would be great news for us and we could incorporate generic types into our project. Also the project is in early stages and taking in requests to fulfill can help create a better shell. nedb-shell |
Is there an update on this? I too would be interested in contributing to any sort of rewrite. It would be nice if this functionality came in a more observable flavor as opposed to the whole callback thing. |
Hi there. We made a fork of awesome |
@pi0 we should chat. Would you be able/willing to transfer it? I forked your nedb-core and started creating nedb-react-native, nedb-browser, and nedb-node modules. With the idea that nedb-core is all of the stuff that can be used on any of those platforms. |
@ekryski @pi0 I am currently working on a different version written in Typescript with another developer. I forked the binary tree written in nedb and rewrote most of it and added some extra restrictions and capabilities. binary-type-tree. |
Maybe it could better create a group chat sharing ideas :D |
@pi0 @marcusjwhelan did you have a suggestion? If you guys wanted to you could jump in http://slack.feathersjs.com/ and we could chat in there. Open to other suggestions, or just keep it up in a separate github issue on |
I was going to suggest to create a slack channel but if there is already one I will join. Maybe create a specific channel for this though. |
I'm in too :) |
@pombredanne @jeremythuff @029xue @PopovMP We did make an alternate. TeDB. It is not exactly like nedb. It should be able to handle very large collections. It has not been benchmarked. Also have a collaboration with people from the Feathersjs team for future upgrades. There is an example storage driver for node's FS lib int he spec/example directory. |
@marcusjwhelan Thanks. For me I switched to use sequelize.js ;) |
As Javascript is poised with having very little dependencies that are considered "ready", I think it's refreshing to see a project that has reached a level where it's stable, with it's minuses and plusses. I'm using it in several projects, and it works precisely as advertised in the specs. Hey at least it has specs! |
Any news about the transfer to FeatherJS? It's almost been a year already. Anyway, I'm leaving my notes here to help people get a better grasp of the status quo without spending as much time as I did:
If the alternatives don't make sense to you, it is still valid to use the original NeDB. I would personally hope to see the fragmentation issue to go away. |
For NeDB-core I've enabled issues section if any change we can do (And PRs welcome). Anyway, it is unmaintained now. I've transferred ownership to @ekryski. Don't know if he has any plans or alternative suggestions. |
Thanks for the thoughtful writeup, @AldoMX. |
Currently I am still maintaining TeDB and adding fixes tot he system. The lates is the most stable if you have not updated. As for the example storage driver the Electron Storage driver is a good example of what to try and write but not for React-Native. I will try and build in blocking and non-blocking components into the Electron db since issues do arise if you multiple async trying to update the same file location. As for React Native I plan on writing a Storage Driver it some time this year. Right now we use TeDB at our company as our Electron DB so if any issues pop-up. This means if something is found where data is lost or corrupted this is high priority. No issues have been submitted so far. I will say this. If you use TeDB and want to find with $gt, $gte for dates you have to save your date as a number. so |
Surprised no one mentioned https://pouchdb.com/. It seems to be by far the most established alternative. |
PouchDB is nice but has fairly different paradigms than NeDB. |
Can you elaborate? |
@gajus PouchDB from what I can tell is strictly browser based. You could not write to disk with it from what I can tell. NeDB, TeDB allow you to write to disk. This can be used with Electron or with other embedded software using JS. |
First off, PouchDB isn't a self-contained database at all, it's an abstraction layer. That said, PouchDB can be used on-disk by either embedding a CouchDB instance (super heavyweight solution) or by using a LevelDOWN adapter (default on Node and an acceptable solution): https://pouchdb.com/adapters.html#pouchdb_in_node_js I just think PouchDB is so overly concerned about synchronization/replication across instances and revision control that I feel like their API is much more basic in order to align with the CouchDB protocol vs having their own more expressive API on top of it for the many users who may just want to use it on a single isolated instance like NeDB. |
Can you advice what is the best alternative to NeDB/ PouchDB if the use case is storage of a collection of objects in memory and being able to filter the collection using a DSL such as that provided by Elastic, NeDB or PouchDB? |
This is OSS. We all have projects that have no resources / spare time to even answer issues. Let's understand and appreciate author |
and this ticket has been open for long enough. Let me close this. If someone feels strongly about this, start a well behaved fork! |
@pombredanne It does not work with Electron |
@Akumzy hmm i'm using nedb with 6.0.0 and it works fine... |
@beaugunderson I mean this https://github.com/HalleyAssist/nedb repo |
I do not recommend using our repository for electron apps. I would guess that fallocate would break. We are developing for native support on one particular platform (Linux) only. |
@Akumzy @pombredanne Tedb which is mentioned above was made with pure intention to work on electron. Currently using it on Electron 6.0.0 in production. The only storage driver I have written is the tedb electron storage driver. There is also a utils package. |
@marcusjwhelan The doc is very confusing how can I implement import * as tedb from "tedb";
// For example, I want to make Users
const UserStorage = new yourStorageDriverClass("users");
const Users = new tedb.DataStore({storage: UserStorage}); |
@Akumzy tedb-electron-storage is the storage driver for electron. I wouldn't read the .org docs, the README.md is more up to date. I have not pushed the project any for a long time since it is at a very stable state. No issues. I have used it in production in the field for 2 years now. As for your question though. If you read through the docs you will see I work through the example explaining everything along the way. As you see in the code you posted I created a Collection or Table named Users. Now I can operate on it just like a collection in mongodb. In the next part of the README I show how to create an index on a field on that collection. It is a promise so handle it accordingly. Then on to Inserting, Updating, .. etc |
@splitice How about creating a repository from your fork and registering it with npm? |
https://github.com/typicode/lowdb |
https://github.com/dfahlander/Dexie.js/ |
I tried to list up all client side JavaScript databases as alternatives which might be relevant as replacement for NeDB: https://rxdb.info/alternatives.html |
It looks like at the moment here is the most actual and actively maintained fork of the original NeDb: https://github.com/seald/nedb |
Hi:
Is this project still maintained and alive? or what?
And is this fork the successor? https://github.com/nedbhq/nedb-core
Thanks!
The text was updated successfully, but these errors were encountered: