CoderDojo Dublin @ The Warehouse

The Warehouse

The making of Cyberstick

Posted on June 1st, 2017

What is Cyberstick?

Cyberstick is a temporary cloud server. What this means is that you can store files here for 15 minutes to have someone download them and then forget about them. This can be used among friends; if you want to share a song you just made in garageband, pop it into Cyberstick and give them the three word key. What if you wanted to move a photo onto your computer from your phone and don’t have a cable handy? This website works perfectly on mobile devices and should not cause any problems.

How does Cyberstick work?

Cyberstick is built in Python using the open-source libraries shutil, pdb, stripe, jinja2, python-flask, werkzeug, urllib2 and TinyDB.

When a user opens the upload page, the server builds a session ID by picking 3 random numbers with the built-in Python function randint, which are used to select 3 words from a list. The server then creates a session folder locally with the naming system [UNIX time]-[Session ID].

The server displays a webpage created by injecting content into a custom-built jinja2 template. This template contains a drag ‘n’ drop box for uploading files and the session ID which is passed through jinja2 as a string. Any files that are uploaded are saved to the session folder.

Another python script has a loop which lists all sessions folders and compares the marked UNIX time to the current UNIX time and if the folder is over 900 seconds, wipes the content of the folder and then deletes the folder.

The download link is created using the session ID so it is easier to remember and communicate.

The API simply sends a request to the server using curl http request. It requests an upload folder. The server builds it and responds in JSON giving the error code (if any) and the session ID. Using the received session ID, the API then makes a POST request to the server uploading the files. To download files, the API sends a download request with the session ID, the server responds with file names and the API downloads them directly.

When a user wants to create a user ID, they are redirected to a payment system that sends back a confirmation key such as stripe. When the server receives this confirmation key, it forgets it, generates an ID with 6 random words and checks that this ID has not been already used, and if it has not, saves it to the database together with the number of sessions that the user has bought. The last thing it does is it displays the user ID and saves it to an encrypted cookie. The name and payment information are not saved. To login, you must write the user ID. Sessions that are created by a user that is logged in, the folder name includes the user ID. This allows the user to see their own sessions for the system scans the folders and displays the ones whose name contains the user’s ID. The user can also add more sessions to their user ID by adding their key on the checkout page which causes the server to repeat everything in a normal purchase but without randomizing the key and using the given key instead.

Psst – – See the source code here, or the website in action here.

Our Projects

Posted on June 19th, 2016

This year, our Dojo had a very strong representation at the Coolest Projects. There were 16 entrants presenting 12 projects and three of the projects got awarded! Well done everyone!

Coolest Projects 2016

Ben, the runner up in the Web category


Coolest projects 2016

Harvey was a runner-up in the Evolution category the recipient of the Innovation award


Coolest projects 2016

Jasper was an runner up in the Hardware category and the recipient of a Future Maker award.


Coolest projects 2016

Ciara was an entrant in the Mobile category. Ciara is learning to develop Android Apps with App Studio and Java.


Coolest projects 2016

Katie was an entrant in the Mobile category. Katie is learning to develop Android Apps with App Studio and Java


Coolest projects 2016

Lucas was an entrant in the Scratch category


Coolest projects 2016

Maciej was an entrant the Evolution category. Maciej is graduating from secondary school this year so his next appearance at Coolest Projects will be in a green T-shirt


Coolest projects 2016

The Three Amigos – Felim, Mika and Alex were entrants in the Games category.


Coolest projects 2016

Moghamed, Julia and Nathan were entrants in the Hardware category



Li-Fi Project

Posted on May 23rd, 2016

Li-Fi is one of the projects submitted to Coolest Projects Awards 2016 by our Dojo.

Its author, Stephen, was a runner-up in the Evolution category of the competition last year for his Twitter platform that provides real-time information on public transport schedules for people around the world.

The project was even featured in The Irish Times!

This year’s project is also very ambitious. It is a model of a new system of the Internet signal transmission called Li-Fi. Instead of radio waves like in a normal Wi-Fi system, the medium transmitting data here is a flashing light.

The idea has been researched intensively by scientists. It is predicted that the technology will revolutionise the way the Internet infrastructure is built.  It will be especially useful for aviation and all the situations where using conventional routers is impossible. However, it is very likely that Li-Fi systems will replace Wi-Fi completely because transmission through light waves is much faster and safer than through radio waves.

Looks like Stephen is on the forefront of a technology revolution.

We keep our fingers crossed for his entry into Coolest Projects! 😀

CoderDojo @The Warehouse #33

Posted on May 15th, 2016

Despite the unusually tropical weather in Dublin, over 30 people came to The Warehouse last Saturday, including two new mentors, Sebastian and Martin.

Most of the Ninjas worked on their projects submitted to Coolest Projects Awards.

The team of Julia, Patrick, Nathan and Moghammed worked on their sensing car.

android app sensing car

It is a very cool creation. The car is equipped with a sensor and a camera and controlled by an Android app. Lost your key, a remote or a hamster? No need to search around on your knees, just send the car for a mission and look at the camera feed on your phone. Smart!

Mika, Alex and Felim are working on a project on the Raspberry Pi. It is going to be a miniature, portable gaming console and they are even making their own games!

Raspberry Pi

There is also one Ninja in the Scratch group who entered the Coolest Projects Award. Charles joined our Dojo barely a few weeks ago but is already very advanced in Scratch coding. Looks like it is a true passion of his. He is doing a multilevel game for the competition. Good luck, Charles!

Over the course of the next few weeks, we will show off the rest of the projects.

Also, for regular updates, see our Facebook page and Twitter account @CoderDojoDublin.

For less regular but fun stuff see our You Tube channel.


Matthew’s project.

Posted on November 19th, 2015

Here we have the first video on our website!

Matthew from the Python group recorded his fabulous project using Camtasia Studio screen recorder.

Watch and enjoy!



© CoderDojo Dublin @ The Warehouse 2015.
All rights reserved.