This application was first distilled and prototyped on the Go version of Holochain at a hackathon back in January of 2018!
Rust version repo:
It is still a very needed application where I am at and I think it would have a lot in common with many other “sharing economy” apps, so I’ll share what we have made so far here in case it can inspire others or someone feels like they can bring it up to current speed!
Basically what we want to build is a way for everyone in a location (possibly based on GPS) to make their bookshelves available to others in their local community for borrowing.
The back-story of the idea is that I live in a village that has around 1000 people, way to few to have a municipal liberary but with a 1000 people having at least 10 books each on average we still have 10 000 books that are sitting around locally. How can we share in a simple way? Maybe it could look like this:
Alice starts the application
Alice inputs books that she has in her home (eventually this would be nice to have completed by scanning a bookshelf (OCR) and pulling open metadata on the books)
Alice browses books available in the vicinity*
Alice asks to borrow the wonderful sci-fi novel “the Foundation” by Isaac Asimov from Bob who lives just a 3 minute walk away.
Bob gets the request to borrow the book and approves it, he notifies Alice that he’ll put it in his mailbox when he gets home that afternoon.
Alice takes her evening walk and walks by Bobs house, picking up the book from the mailbox
Having devoured the book in just 3 days, Alice returns the book to Bobs mailbox and taps the “book returned” icon in the application
Bob, having found the book in his mailbox, opens the app and confirms it being returned
*your vicinity or your “Bookshelves” of available books could be compiled by either things like “calculated GPS max distance from me” or by joining a book community group and probably lots of other ways. Guessing that in urban settings, having a separate bookshelf for just your apartment building for instance would make sense. Also specialized communities, like say "the radical gardening learners, could also want to create a common bookshelf that is made available by invite. Much like rooms on HoloChat might work.
Other things that have been talked about is how to build an automatic “reputation” around how good people are at returning books in time and how long they borrow books for by simply calculating based on previous borrows in the DHT. This could naturally be combined with a bunch of other linked info from other apps to help the person lending out their books know whether or not to lend to someone.
Creating an application like this would of course also lend itself to things like tool liberaries or car pools. Lots of similar patterns would likely emerge from many similar uses. But I am especially looking forward to this one
So the rust version is obviously very out of date with the current Rust implementation of Holochain and needs updating but some of the main functions are defined at least . There is also a basic but nice little UI that was created during the hackathon which should be able to be brought forward and connected.