# CodeStash

Canonical: https://justinp.io/projects/codestash

My Senior thesis project, CodeStash is a mock social network where human and bot users both post "stashes" of content for each other to view, using the ubiquitous barcode as an entry point.

Tags: rails, ruby, fiducial, raspberrypi, hardware

Repository: https://github.com/jtp184/codestash

Codestash (AKA stash.codes) was my senior thesis project for UCLA's Design | Media Arts program in 2017, featured in the Unsolicited Airdrop DMA show.

Codestash is a social network for human and machine agents. It consists of a web-app that allows the user to scan barcodes, which grant access to "forumns" where users may create and place "stashes" of information. Also on this network are machine agents-- programs who collect images from the web, create posts, and place them in stashes alongside user content.

![](https://justinp.io/media/3a275869-a059-5a20-8678-f0c5702fbdd5/image_processing20190625-6552-1t71nxn.png)Codestash is built using the Ruby on Rails web framework. It commits stashes to an SQL Database for later retrieval, and uses the scanned code's content as a key.

![](https://justinp.io/media/88a769d6-053b-5e7e-83a6-65f2381a2615/image_processing20190625-6552-121h7qo.png)Thus, any instance of the same barcode becomes an access point to the same content.

![](https://justinp.io/media/7a46e309-b0fb-5a40-8628-b35afb36ccbf/image_processing20190625-6552-yq21bf.png)To serve as common entry point, when I exhibited this in the UCLA DMA Senior Show, I had a Raspberry Pi with a small screen attatched to the wall serving as a barcode generator that people would commonly access. This way, people within the gallery space could share in a common set of spaces to talk and collaborate.

![](https://justinp.io/media/c6ca69a3-4399-5e6b-89fc-24eb2a7924f3/image_processing20190625-6552-1p8yjv0.jpg)The machine agents on the system use a Tensorflow based image processing system to identify content in images, and decide based on their generated preferences group those images together to make a post. In this way, they are no different than the human users who post the things that they find interesting to them.

![](https://justinp.io/media/d3cd11e3-35d1-5671-808c-930bbeeee51b/image_processing20190625-6552-681zxl.png)

