🔧 Pinata Filesystem and PinDrop
Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to
This is a submission for the The Pinata Challenge
What I Built
Pinata Filesystem aka PinDrop acts as a layer on top of Pinata's storage system that allows users to organise and visualise their files using folders and sub-folders.
It provides an interface and at the same time extends the features of Pinata. The users can associate files with folders, as well as do most of the general functions like creating, deleting and downloading files and folders.
Inspiration
I had instantly decided to make a fast private file sharing system right on first day of hackathon since it is something I myself needed. But the idea had to be dropped since their was too much to be done.
Fast forward to 1 day before deadline, I thought about leveraging the feature of groups. I could make use of a relational db to create a heirarchy through self-refernces and make it a full fledged place to store and organise files.
Thankfully, with no-sleep development constantly for 24 hours, I present the first version of Pinata's own filesystem.
There is another feature called PinDrop that I have ideated which is a go-to folder that is present by default in the system when a user registers. This folder is special in that it doesn't have sub-folders, instead a user can simply push and stack files and retreive them later. This is supposed to be for instant file shares between the user's two devices. It can even have its dedicated service and routes.
For Future
The best thing about the database structure is that nothing about files is being stored. Currently, it may seem redundant as the app asks for jwt and gateway on register but through discord, I got to know that new auth provider is being developed and with that integrated, the app would be completly detached from actual user data.
Demo
I am in process of deployment.
My Code
https://github.com/mr-loop-1/pindrop
Way Forward
- downloading multiple files and whole folders
- currently delete feature of folder leaves files in subfolders dangling. i am yet to implement the query in knex as well as Pinata's sdk for recursive deletes.
- some bug fixes and field validations
- Currently, it requires user to manually provide jwt and gateway of their pinata accounts. I want to integrate the future pinata oauth provider to the app.
🔧 Pinata Filesystem and PinDrop
📈 59.47 Punkte
🔧 Programmierung
📰 Pindrop verhindert Telefonbetrug
📈 25.15 Punkte
📰 IT Security Nachrichten
📰 Pindrop verhindert Telefonbetrug
📈 25.15 Punkte
📰 IT Security Nachrichten
📰 Pindrop appoints Collin Davis as CTO
📈 25.15 Punkte
📰 IT Security Nachrichten
🔧 Image generation with DALL-E and Pinata
📈 21.74 Punkte
🔧 Programmierung