https://github.com/lvkv/whenfs Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Topics + AI + DevOps + Security + Software Development Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} lvkv / whenfs Public * Notifications You must be signed in to change notification settings * Fork 3 * Star 164 A FUSE Filesystem for your Google calendar License MIT license 164 stars 3 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights lvkv/whenfs This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 7 Commits images images src src .gitignore .gitignore Cargo.toml Cargo.toml LICENSE LICENSE README.md README.md View all files Repository files navigation * README * MIT license whenfs your calendar is now a filesystem WhenFS turns your Google Calendar into a FUSE filesystem. It whimsically supports the following features: * Create a filesystem out of existing Google Calendars, or create a new one from scratch * Read and write files, directories and... well, just files and directories * Mount your friends' WhenFS calendar file systems to share files in the silliest way possible This is what the Mona Lisa looks like when uploaded to Google Calendar: [mona_lisa] .jpg [?] calendar screenshot The image above contains all the image's data split up across hundreds of tiny calendar event descriptions. The entire filesystem--files, directories, reads, writes and more--is all based on manipulating these Google Calendar events. WhenFS is an example of a harder drive--a hard drive we didn't want or need. (Demo) Mount a Friend's File System WhenFS can mount existing WhenFS-ed Google Calendars when given the calendar's ID and ID of the file system recovery calendar event: demo (Demo) Transfer Files to Google Calendar WhenFS can transfer a 3 KiB file to Google Calendar in just over 7 seconds--a blistering upload speed of 400 bytes per second: demo How Does it Work? WhenFS operations start at the FUSE file system layer, facilitated by fuser. The filesystem sits on top of a write-through object cache, which itself sits on top of an abstract data storage interface with swappable calendar API backends. flow If you poke around enough, you'll likely run into bugs, edge cases, and completely unimplemented features. There are no plans to fix these. Why Did You Do This? I used this project as an opportunity to learn about Rust and FUSE file systems. I also think it's hilarious. Visitors interested in the code should note that this is an irredeemably messy codebase--it's full of hacks, unidiomatic code, and wildly poor design decisions. However, visitors should also note that that's okay. The best way to learn something new is to try it out for yourself--and creating a mess is a vital part of that process. The page you're on right now is my mess. Now go create yours! How Do I Use This? The diagram above took too long to create, so I no longer have the energy to write up a tutorial. If you figure out how to use this, let me know. On a more serious note: Google Calendar is a wonderful service. I'd highly discourage anyone from using this for anything other than educational purposes. Abusing a free service is wrong--don't be evil. Contributions Contributions are more than welcome. Note that contributors are subject to a contributor license agreement ("CLA"), which requires that all contributions be accompanied by a lighthearted meme that makes the author chuckle slightly, but not too much. About A FUSE Filesystem for your Google calendar Resources Readme License MIT license Activity Stars 164 stars Watchers 1 watching Forks 3 forks Report repository Languages * Rust 100.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.