Dropbucket.org - Drupal Snippets Repository is Launched!

Dropbucket - Drupal snippets storage

I've been doing Drupal for last six or seven years and tried lots of ways of storing snippets. I used internal capabilities of IDE's (like snippets in Eclipse or code templates in Netbeans), I stored them in notepad, evernote, used lots of different downloadable snippet managers and stuff.

But there always were two needs which I couldn't satisfy with these approaches: I wanted snippets to be stored online (so I didn't lost them when I format my HDD or uninstall IDE) and I wanted to share my drupal snippets in a dedicated place, where drupalers gather.

We Drupal people, we love to share, this is in our blood and this is an underlying power which drives Drupal community, do something and share with others! So why not to share with our snippets? I believe every of us has loads of different chunks of code which we use on a daily basis, we need to store them, we need to share them. That's why I created dropbucket.org - Drupal snippets repository, a place where you can put your little drops of drupal code and fill the snippet bucket.

Feel free to go and register now to start storing and sharing your snippets. Below I will tell you about some cool features which are waiting for every drupaler at Dropbucket:

1. Brandable profile address

Upon your registration, you get a profile url like http://dropbucket.org/your_username, so hurry up to take up your name :)

2. Snippet add form

After registering, you can start to add snippets via "Snippets add form" which has only two mandatory fields to fill: title and code. Hovewever, I do encourage you to add some description to your code and assign category/drupal version to it, so this is convenient to browse your snippets in the future.

You can add as many code chunks per snippet as you want by using "Add another source code" button.

There are situations, when we don't want others to see our snippets, so every snippet can be marked as "private" and will be visible only for you.

3. Snippet browsing and discovery

Browsing snippets is flexible. You can search snippets by keyword, filter results by categories and drupal versions. There are two flavours of snippet browsing: sitewide, when you browse all snippets submitted to dropbucket.org and personal, when you browse your own snippets via "My snippets" page.

There is also a nice feature suggested by one of early beta testers: you can subscribe to rss feed of any snippet search result, so for example, you can filter "Form API" snippets for "Drupal 7" and get a feed link like: http://dropbucket.org/rss.xml?keys=&field_category_tid=58&field_drupal_version_tid=4. Now you can add this link to your rss reader and get updates every time something appears in this category!

4. Snippet page

On a snippet page you can get a raw version of a snippet or you can copy a snippet to your clipboard by clicking "Copy" button:

Also there is a possibility to "clone" a snippet. So this way you can create your own version of a snippet and place it under your account:

Another possibility to put a snippet under "My snippets" is to bookmark a snippet:

Once you bookmarked it, you can find a snippet on "My snippets" page.

Every time you edit a snippet you automatically create a version of it. So all snippet changes are revisioned and you can see differences between revisions and revert your code to any of revisions:

In the end, you can leave a comment for every snippet just to thank author of the snippet, ask a question or suggest a correction.

5. Drupal karma

For every action you do on dropbucket you get a Karma points which are visible on your public profile:

This is a some kind of reward for activity and a way to find out who is the MVDSS (the most valuable Drupal snippets submitter :))

So this was an overview of the initial version of dropbucket.org. There are more features I plan to add in the future like a public API and exporting of snippets to elcipse/sublime/other IDEs. Feel free to leave your suggestions, this way you will help me to introduce needed by a community features.

I need your help to spread a word

If you like the idea of dropbucket.org and you have a blog/twitter/facebook/google+ account or have an access to other media sources, please don't hesitate to share info about dropbucket.org. This way we'll let more drupal developers to find out about this service, which means we'll have more cool snippets to share and discover.

Thank you in advance,
Tim Kamanin


Submitted by Media Crumb on Mon, 2013-02-25 21:26

This is quite amazing. I really hope it catches on!

Submitted by carlos on Mon, 2013-02-25 21:54

This is simply great :D

I love the design

Submitted by Tim on Tue, 2013-02-26 00:05

cool :) tx

Submitted by Craig on Mon, 2013-02-25 23:22

That's awesome! I've been using gist.github for all of my snippets. Anyway to import those?

Submitted by Tim on Tue, 2013-02-26 00:06

thanks. Not for now, I'm going to implement API in the near future.

Submitted by Kevin Davison on Mon, 2013-02-25 23:57

Great idea, and nice work, Tim! I registered and tweeting. 'Would be great to gain some momentum to make this an exhaustive resource.

Submitted by Tim on Tue, 2013-02-26 00:06

Thanks for your help, Kevin :)

Submitted by Kevin Davison on Mon, 2013-02-25 23:58

This is great, and nice work, Tim! 'Would be great if this catches momentum to become a strong resource. However, what's your motivation behind DIY vs. working with Drupal.org's site?

Submitted by Tim on Tue, 2013-02-26 00:09

This is not a "vs" thing. I just wanted to create a convenient tool to store and share drupal snippets for myself and all drupal folks, that's all :)

Submitted by Tim on Tue, 2013-02-26 00:12

To get a real momentum we need Dries to tweet about dropbucket :)

Submitted by Pavithra Raman on Tue, 2013-02-26 07:49

This is a wonderful initiative.. I have often had this dilemma and always end up searching for my code online or in some old code repository I might have.

Submitted by svnindia on Tue, 2013-02-26 09:18

This is really a cool idea to share the drupal related code....

Submitted by Sinan on Tue, 2013-02-26 09:58

Nice and simple user interface. Very useful...

Submitted by nicodv on Tue, 2013-02-26 10:45


Submitted by Valdas on Tue, 2013-02-26 16:34

Thank You Tim, nice and useful idea.

Submitted by Rudie Dirkx on Tue, 2013-02-26 20:14

You should add up/down votes, because there's some really horrible snippets.

Submitted by Tim on Wed, 2013-02-27 00:13

I will surelly do, thanks!

Submitted by Tim on Wed, 2013-02-27 02:07

Ok, now ratings system is on. You can rate any drupal snippet.

Submitted by fndtn357 on Thu, 2013-02-28 17:20

very much looking forward to an API for this one. Let's make it rock all the way. Thanks for this great idea!

Submitted by Brian Wood on Thu, 2013-02-28 18:41

Interesting resource. Thanks for creating it.

Features that occur to me:

* download all of my snippets (what if this site disappears)
* tag a snippet with arbitrary auto-complete tag (e.g. Panopoly, Open Atrium)
* user profile field: drupal.org username. (If you can't get the user name you have on d.o and you want to be found by that name.)
* search/browse for users (by d.o username)
* follow a user

Submitted by Umar on Wed, 2013-03-06 17:54

These are must have features that we would love to have on dropbucket.org. Atleast, to begin with ability to export snippets. Also, in the teaser view ability to bookmark snippet quickly.

Submitted by Dalin on Tue, 2013-03-05 21:08

Who is the MVDSS?

You no doubt.

Submitted by Tim on Wed, 2013-03-06 10:45

For now yes, but there are folks who submit lots of useful snippets. Soon, I'll add a list of top users, so everyone will be able to see who's the hero :)

Submitted by Gg on Mon, 2013-03-18 21:03

Hi bro,

No Twitter account yet ? Could be Nice to follow dropbucket and get notified of new content!
Btw very usefull site, you have my like !

Submitted by Tim on Tue, 2013-03-19 11:43

Hey, thanks for nice words :) I'm happy you like the site :) I've been thinking about twitter account recently, I think I will add one soon!

Add new comment

You are here