DEV Community

Cover image for Dragula: A free stock images tool on steroids 🦇

Dragula: A free stock images tool on steroids 🦇

Sarthak Sharma on March 31, 2019

I just released Dragula on Product Hunt and I need the support of my dev family. So here I am: What is Dragula? Dragula is a simple...
Collapse
 
thespiciestdev profile image
James Allen • • Edited

While I appreciate the post, I mixed this up with another open-source drag-and-drop library dragula - I've used the angular wrapper myself in the past and I'm just imagining other developers may get confused, too.

Nonetheless, cool looking project!

Collapse
 
maxart2501 profile image
Massimo Artizzu •

Yeah, I was about to comment the same thing. Dragula by Nicholás Bevacqua is a really well known library with almost 19k stars on GitHub. 🤷‍♂️
I think the author should really change the name here...

Collapse
 
_ronini profile image
Ronnie Villarini •

Came here to say this. Keeping this name may have some implications.

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Like ?

Thread Thread
 
_ronini profile image
Ronnie Villarini • • Edited

There is already a drag and drop tool by the same name that is well known by the community.. You don't think that might give people a negative outlook on your project?

It's still a neat product, and I mean no offense! Just an opinion from someone who doesn't really mean much.

Thread Thread
 
sarthology profile image
Sarthak Sharma XenoX •

I understand your concern, Ronnie. Thanks for pointing out. This tool is more for Designers and Bloggers. It does have a few use cases that can be used for Developers But it's a completely different product than Dragula the library.

Collapse
 
anduser96 profile image
Andrei Gatej •

I really like the idea!

I couldn’t resist not to take a look at the source code and I’ve noticed you’ve used multiple times

document.querySelector()

I’d like to share a trick that hopefully you’ll find useful. Instead of writing that multiple times, you could simply do

const $ = document.querySelector.bind(document);

// Usage
const elem = $(‘selector’);
Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Neat. Will be added soon. The refactoring of the project is pending that's why the code may not look nice now. But we will work on it. 😊

Collapse
 
enriquemorenotent profile image
Enrique Moreno Tent •

Shame I cannot use it in Ubuntu.

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Don't worry, Dragula Linux Coming soon.

Collapse
 
enriquemorenotent profile image
Enrique Moreno Tent •

Did you think to deliver it as a Browser extension?

Thread Thread
 
sarthology profile image
Sarthak Sharma XenoX •

Not really.

Collapse
 
alistertomauk profile image
Alister Toma •

thanks for sharing beautiful thought

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

😊