GithubHelp home page GithubHelp logo

ykankaya / bookmarkfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coolelectronics/bookmarkfs

0.0 1.0 0.0 1.01 MB

Exploit chrome's profile sync for free cloud storage

JavaScript 90.36% HTML 9.64%

bookmarkfs's Introduction

BookmarkFS - the dumbest project i've ever made

Exploits the google chrome bookmark sync service to store files for free

Installation and usage

  1. Download the code as a zip and unzip it
  2. Go to chrome://extensions and turn on developer mode
  3. Click "Load Unpacked" and select the unzipped folder

To upload a file, click on the icon for the extension and it will open up a page where you can upload, download, and delete files

How does it work?

Every bookmark can contain a maximum of 9092 charaters before google refuses to sync them. Using base64 encoding, this means you can fit around 72kb into a single bookmark. When you upload a file, it gets encoded into base64, split into multiple bookmarks, and stored into folders corresponding with the file name.

Demo

sample.mp4

Things you might be wondering

"Why?" "Science isn't about why, it's about why not" - Cave Johnson

"What's the max file size?" Not infinite, unfortunately. The syncing should be theoretically infinite, I've tested with over 10k bookmarks and file sizes > 100MB, but the bottleneck is your computer's memory. When you launch the extension, all of the files will eventually get loaded into RAM, slowing things down quite a bit and eventually crashing chrome with enough files. There might be ways to get around this.

"Why folders? there aren't any actual bookmarks" Using bookmarks works, and since the url section can be used as well, you can get over well double the storage density. However, chrome does not seem to sync bookmarks that long nested so deeply. Fortunately, it has no problems with me using folders and storing as much of them as I want

Disclaimer

DO NOT hover over the bookmarks folder when large files are uploaded. It will freeze chrome, or if you're using a chromebook it crashes the entire chromebook. At one point it even made Xorg crash.

Partially inspired by spreadsheetfs

bookmarkfs's People

Contributors

coolelectronics avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.