Leveldb / indexeddb for apps running inside XD


  • For small application development it would be really cool to have leveldb / indexeddb available. Developer benefits: Don’t need to have a server up and running all the time. Scaling issues with many users would be gone. User benefits: Quicker response time. No need to trust 3rd party sites with your data, they live inside Adobe XD.

  • Code example (indexing data to indexeddb and searching indexeddb): https://fergiemcdowall.github.io/search-index/demo/

I’m looking into creating a Design with search data app and need search-index and pouchdb.

Thanks for the feature request! We’ll take it under evaluation.

In the meantime, I wonder if something like https://www.npmjs.com/package/fake-indexeddb would get you part of the way (in conjunction with the XD FS APIs for persistent storage)?

1 Like

Thanks! I’ll have a look. I’ll also start building other parts that are needed.

I have set up a repository for the project and will see if we can make fake-indexeddb work to easily evaluate the idea.

Finally, got to run the search engine inside XD plugin environment using memdown instead of indexedDB =)


Do you have a write-up of how to make this work? I think this would be amazing to feature on xd-awesome.

1 Like

I’ll make a write-up when I have figured out the “Plugin TypeError” bug in the code. What’s most interesting? A clean memdown put/get example or in combination with search-index?