--- title: Local First Home Spaces description: Applying local-first ideals such as improving security, privacy, long-term preservation, and user control of data to metaverse home ownership. image: https://i.imgur.com/5TThqb4.jpg robots: index, follow lang: en dir: ltr breaks: true disqus: xrdevlog --- # Local-first Home Spaces ###### tags: `devlog` ![](https://i.imgur.com/5TThqb4.jpg) {%hackmd @xr/dark %} --- ## Local-first - https://www.inkandswitch.com/local-first/ - https://offlinefirst.org/ To summarize: the cloud gives us collaboration, but old-fashioned apps give us ownership. Can’t we have the best of both worlds? Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data. > Today’s cloud apps offer big benefits compared to earlier generations of software: seamless collaboration, and being able to access data from any device. As we run more and more of our lives and work through these cloud apps, they become more and more critical to us. The more time we invest in using one of these apps, the more valuable the data in it becomes to us. > When data is stored on “someone else’s computer”, that third party assumes a degree of control over that data. Cloud apps are provided as a service; if the service is unavailable, you cannot use the software, and you can no longer access your data created with that software. If the service shuts down, even though you might be able to export your data, without the servers there is normally no way for you to continue running your own copy of that software. Thus, you are at the mercy of the company providing the service. > On the other hand, cloud apps depend on the service continuing to be available: if the service is unavailable, you cannot use the software, and you can no longer access your data created with that software. This means you are betting that the creators of the software will continue supporting it for a long time — at least as long as you care about the data. --- ## State of the Open Metaverse One of the main inspirations for this dev log has been the confusion around what the open metaverse is and how to build it. I've been frustrated by how low the standards are, we need to build a stronger foundation than simply NFTs in a virtual world in order to realize the best version of the metaverse that guarantees our freedom for generations to come. One of the common patterns I see in blockchain virtual world platforms is that even though you own the token you are to access the actual content and experience by going to a domain URL you do not own with the data storage being some place you don't have a clear idea about where. It just doesn't feel like you own the keys to your own home in this scenario. This notion becomes painfully obvious when you use 3D data from the physical world such as photogrammetry scans because you suddenly get second thoughts about putting that on the Internet out of privacy concerns. Veteran XR dev [gfodor](https://twitter.com/gfodor) puts it eloquently, "Not your server not your sanctuary". See also: https://moxie.org/2022/01/07/web3-first-impressions.html > People don’t want to run their own servers, and never will. --- ### Home Spaces - https://hackmd.io/@XR/openmetaverse - https://github.com/madjin/home-space - https://hackmd.io/@XR/hhomekit - https://hackmd.io/@XR/clonex-pods - https://github.com/awesome-selfhosted/awesome-selfhosted - https://hosted.lol/guest/lists ![](https://i.imgur.com/LyTd93G.jpg) M3 is working on a drop of a 3D shell that fits perfectly over the RTFKT Space Pods to make them more portable in other virtual worlds. We're working out how exactly we want to distribute them, such as partnering with communities / projects that have lots of fans of CloneX. ![](https://i.imgur.com/EjFSDkp.jpg) | ![](https://i.imgur.com/uefaJR5.png) | ![](https://i.imgur.com/mqc8dU9.jpg) | ![](https://i.imgur.com/dOwIB4G.png) | | -------- | -------- | -------- | We plan to take our learnings and apply them to other drops such as the shipping container home. ![](https://i.imgur.com/K7c2e8Y.gif) One of the prompts for the [first Neon Buidl-thon](https://hackmd.io/@XR/neon-buildathon-1) is to take something that's made in another app and remix it into hubs in an interesting way. More examples can be found in the [Grid Pt 5](/57YKWbDITbOK0hHI6QPzKg) dev log. ![](https://i.imgur.com/ICAvxRK.jpg) --- ## Anarchy Arcade ![](https://i.imgur.com/ietHj65.png) Anarchy Arcade also has a built-in functionality to export the meta data of the arcade for use in other frontends. In the near future we could import and export nodes, improving collaboration and interoperability. ![](https://i.imgur.com/w3wscfk.png) --- ## Wordpress https://wordpress.com/notable-users/ https://wordpress.com/activity/ --- ## Digital Immortality Are our digital records built to last? Documents and information tablets have been able to last thousands of years of which our digital records are a blip to in comparison. Even updates frequently break backwards compatibility. ![](https://i.imgur.com/EL5bspz.png) > The ancient information on the stones and papers, if properly conserved, can last another century if not more. But, there is uncertainty with degradable electronics products like optical disk/ floppy disk, which may contain some important data. [Source: Beware of digital dark age, warns internet pioneer Vint Cerf](https://www.deccanherald.com/specials/beware-of-digital-dark-age-warns-internet-pioneer-vint-cerf-896941.html) The al-Qarawiyyin university, library, and mosque founded by Fatima El-Fihriya is the oldest library in the world that's open to public. It was built in 859, around the time early forms of algebra were being invented, the library was a beacon for scholars, poets, and theologians for hundreds of years ![](https://i.imgur.com/MueASnH.png) | ![](https://i.imgur.com/UGqrQnz.png) | ![](https://i.imgur.com/OwihXfe.png) | ![](https://i.imgur.com/PJc9FcV.png) | | -------- | -------- | -------- | | ![](https://i.imgur.com/W1dWfRw.png) | ![](https://i.imgur.com/7wZGbrd.png) | ![](https://i.imgur.com/3T1xOMP.png) | It hurts to think about about the wealth of knowledge lost during the fire at the Library of Alexandria. ![](https://i.imgur.com/UQ4qs9I.png) **Formats** Some file formats (such as plain text, JPEG, and PDF) are so ubiquitous that they will probably be readable for centuries to come. The US Library of Congress also recommends XML, JSON, or SQLite as archival formats for datasets. However, in order to read less common file formats and to preserve interactivity, you need to be able to run the original software (if necessary, in a virtual machine or emulator). Local-first software enables this. ![](https://i.imgur.com/hlTdAym.png) http://nickporcino.com/posts/last_mile_interchange.html#last-milevsinterchange/usd(interchange/lastmile) ### ClubNFT - Site: https://www.clubnft.com/ > 3,012 PEOPLE HAVE JOINED THE CLUB > WE'VE BACKED UP 4,281 WALLETS TO DATE > 500,081 NFTS PROTECTED WITH CLUBNFT > 1,534,216 IPFS LINKS PROTECTED > 20 TERABYTES OF CONTENT PROTECTED > BACK UP YOUR NFTS TODAY FOR FREE ClubNFT is a place where collectors can find awesome tools and educational resources that help solve important pain points related to managing their NFT collections. Artnome (Jason Bailey) is a well known OG in the NFT space who suffered a personal loss when a couple of marketplaces went down, as well as the test of time, took a number of his NFTs away from him. This motivated him to establish ClubNFT. > Jason Bailey explains why more than half of your NFT collection will likely break in the next five years: https://www.rightclicksave.com/article/the-nft-apocalypse According to their website, 40% of NFTs are on private servers and at risk while the other 50% are on IPFS. ![](https://i.imgur.com/1pPraW3.png) IPFS itself isn't 100% bulletproof when it comes to file storage. Pinning is the mechanism that allows you to tell IPFS that the data is important and to always keep a given object somewhere, like a seedbox is to torrents. > As [Coindesk](https://www.coindesk.com/layer2/2022/01/20/ipfs-filecoin-and-the-long-term-risks-of-storing-nfts/) reported: ‘Just because a file is available “on BitTorrent” doesn’t mean there are any seeders or that it’s there forever. IPFS is like this. The address/CID is permanent, to a degree as it gets passed around the DHT, but the underlying asset, or file, that the IPFS address points to can be lost as easily as any file on any random web server.’ ClubNFT takes decentralization a step further by giving you a full hard copy of all the data associated with your NFTs so that you can always keep a local backup without relying on anyone in between. This means you will always have a backup of your NFTs and can always re-pin in the future. Curious, I decided to backup a couple of my wallets and was surprised (and a bit angry) that more than half of my NFTs were considered high storage risk. It took some time to prepare the download. The next day, they were ready and I began to download almost 90gb (!) worth of files from ~300 total NFTs in two zips. ![](https://i.imgur.com/qfIixvH.png) The website recommended not to unzip the files (the blockchain is a permissionless database that anybody can read/write to) and that if they wanted to restore everything the zip as is will be just fine. ![](https://i.imgur.com/AzfshQl.png) Lets say that I want to open up the backup anwayways, how would I go about it in a secure manner? An important concept in OPSEC (operational security) is compartmentalization. If I wanted to open up any sketchy file or link I would never want to do so on my main machine, but rather through a machine whose purpose built for such. ### NFT Backup Utility We are often building virtual worlds and avatars across many different platforms and game engines which many don't have any sort of web3 integration. - https://www.truenas.com/truenas-mini/ - https://pibox.io/ - https://pimylifeup.com/raspberry-pi-nas/ - https://kubesail.com/template/erulabs/jellyfin - https://filebrowser.org/ --- ## Cold Storage ![](https://i.imgur.com/1H1pKPj.png) Are these devices and the current applications how we expect crypto to scale to billions of users and decentralize the web? I'd argue no, and that they're a means to an end but we're also running out of time to get it right. ![](https://i.imgur.com/r8Mkv0Z.png) https://blog.trezor.io/1001-games-new-console-firmware-for-the-trezor-model-one-5b9438a07fc6 ## Hardware ### Raspberry pi 4 - OS: https://umbrel.com/ - https://github.com/getumbrel/umbrel - https://www.casaos.io/ Umbrel review: https://itsfoss.com/umbrel-review/ > The idea behind Umbrel’s App Store is very fascinating. Since Umbrel deals with Docker containers, the Apps are just docker-compose YAML files tailored to run on Umbrel. That is the most elegant solution I’ve ever seen yet! You can view those files [here](https://github.com/getumbrel/umbrel-apps). > > Umbrel enables TOR by default. That allows you to access the Umbrel web GUI over a TOR network without any worries! > > That means, even if you are behind a router, you can remotely access your services like Nextcloud over the TOR network without having to get a public IP address or enable port forwarding from your router. ![](https://i.imgur.com/9Mdjvzb.png) - BTCPay - https://btcpayserver.org/ - Nextcloud - https://nextcloud.com/Devices/ - https://nextcloud.com/compare - https://nextcloud.com/yourdata - Matrix - https://matrix.org/ - Pi Hole - https://pi-hole.net/ - https://www.reddit.com/r/RASPBERRY_PI_PROJECTS/comments/q694vc/pihole_failover_setup_2_details_in_the_comments/ ### Console Case #### Emulator OS - Case: https://vilros.com/products/retroflag-nespi-4-case - Kodi: https://kodi.tv/ - Recalbox: https://www.recalbox.com/ - Batocera https://batocera.org/ ![](https://i.imgur.com/lMHUTeL.png) USB Dongle computer, can plug it in and share computer resources efficiently without needing tons of cables ![](https://i.imgur.com/dKR4V9J.png) ### Raspberry pi 0 w - Case: GPi case - OS: [Lakka](https://www.lakka.tv/) - https://hackmd.io/@XR/multiapps#Portable-Emulator - Bring Retroarch into SteamVR overlay ![](https://i.imgur.com/GWLhr3T.png) I've been enjoying the weight and tactile feedback of this device. The cartridge holds the pi0 which has a slot to insert the microsd card. ![](https://i.imgur.com/CzyOkCx.png) I installed Lakka, an open source emulation specific OS that can be installed using the [Raspberry Pi imager software](https://www.raspberrypi.com/software/) from the official downloads site. Lakka also has an out of the box feature to setup a WiFi hotspot which reminds me of Piratebox. When connected with WiFi it was simple to access using Samba from a local Linux machine to upload content into it. | ![](https://i.imgur.com/XfaWOhZ.png) | ![](https://i.imgur.com/gFfVSIe.png) | ![](https://i.imgur.com/gzk8Ln8.png) | | -------- | -------- | -------- | | Keychain case | USB Dongle | Always on plug n play outlet| Nice wood cases hand crafted by artisans in Tacoma Washington: https://www.etsy.com/shop/theC4Labs | ![](https://i.imgur.com/NfYHyzR.png) | ![](https://i.imgur.com/O1ht7zQ.png) | ![](https://i.imgur.com/1AOeS2d.png) | | -------- | -------- | -------- | | ![](https://i.imgur.com/6ozRsis.png) | ![](https://i.imgur.com/QSCoxlk.png) | ![](https://i.imgur.com/80J9uvd.png) | #### USB Dongle Costs about $5 - https://shop.pimoroni.com/products/zero-stem-usb-otg-connector?variant=39563368842 - https://www.amazon.com/MakerFocus-Raspberry-Required-Connector-Protective/dp/B07BK2BR6C ![](https://i.imgur.com/DxWbXD7.png) ![](https://i.imgur.com/Bq0xVZL.png) https://www.youtube.com/watch?v=qbWYUFgLhSU --- ## Security We're dealing with a chain of trust on how to build and distribute any type of solution relating to local-first. For example, it's recommended to buy a hardware wallet only directly from the site. Crypto people have every right to be paranoid, and it'd be unwise to inherit liability and worry about distribution. Better to find a way to mod / contribute to an existing system instead. https://www.youtube.com/watch?v=VrV0udRUi8A In this video we're going to take a look at setting up remote access to your self-hosted applications with CloudFlare Tunnels. Using CloudFlare Tunnels allows us to create an encrypted connection between our server(s) and CloudFlare without the need to forward any ports. Prerequisites We only need 2 things to get things set up (aside from our Docker server and self-hosted apps): 1. A domain name from your favorite registrar 2. A CloudFlare account Hardening: https://www.reddit.com/r/selfhosted/comments/w20u62/hardening_simple_selfhosted_services/ - https://www.crowdsec.net/ - https://www.wireguard.com/ - https://github.com/pucherot/Pi.Alert --- ## Notes ### Virtual Museums - https://archive.org/details/softwarelibrary - https://hackmd.io/@XR/noclip - https://noclip.website/ ### The Fog - AVALON: https://hackaday.io/project/11279-avalon - https://hackaday.io/project/5077-metaverse-lab/log/45740-trashmogrified dead drops - https://hackaday.io/project/5077-metaverse-lab/log/32774-generative-networks-pt-2 location based mixed reality art - Nethood: https://nethood.org/technology/ Visualizing WiFi with long term exposure and light beam: https://www.youtube.com/watch?v=cxdjfOkPu-E ![](https://i.imgur.com/ylswiYl.png) ![](https://i.imgur.com/YQvfxul.gif) **Plug n Play** ![](https://i.imgur.com/Hc6r02H.png) ![](https://i.imgur.com/bYY7w6v.png) https://tinypilotkvm.com/product/tinypilot-voyager2 Turn your Raspberry Pi into a browser-based KVM. ### Cyberdecks - https://cyberdeck.cafe/ - https://www.reddit.com/r/cyberDeck/ - https://hackaday.com/tag/cyberdeck/ ![](https://i.imgur.com/1Q3CkCs.jpg) https://www.youtube.com/watch?v=D2uXykOx9wY {%youtube D2uXykOx9wY %} https://hackaday.com/2022/05/31/at-last-a-cyberdeck-you-might-want-to-use/ | ![](https://i.imgur.com/nd5uWUQ.png) | ![](https://i.imgur.com/taPbnbU.png) | ![](https://i.imgur.com/HO6CqBN.png) | | -------- | -------- | -------- | ![](https://i.imgur.com/5wJP55T.jpg) ### Steam Deck - Site: https://www.steamdeck.com/en/ - Store: https://store.steampowered.com/steamdeck - FAQ: https://www.steamdeck.com/en/faq - Supports offline mode - Access to bios, can multi-boot - Can boot OS off SD card - Can handle multiple steam accounts - OS: SteamOS 3.0 (Arch-based) - Desktop: KDE Plasma ![](https://i.imgur.com/lIJWOor.png) | ![](https://i.imgur.com/TjXt9w5.jpg) | ![](https://i.imgur.com/tntT8gL.jpg) | ![](https://i.imgur.com/EWnnldD.jpg) | | -------- | -------- | -------- | > "Longer term, we may end up finding that there are interesting mobile-specific opportunities. If you start putting cameras on these things you may find that there are classes of game experiences that are really dependent on those.... Pokémon GO is a great example of an application that doesn't make sense in any way for desktop. --- ## Aidan stuff Can use 3D scans to plan relay node sites: https://startyourownisp.com/posts/relay-sites/ **Tubby cats** - https://github.com/la53rshark/tubby-cats **Home Spaces** - https://github.com/madjin/home-space - https://3d.m3org.com/ ![](https://i.imgur.com/VMAKZdX.jpg) ![](https://i.imgur.com/DATWAD1.png) https://www.nycmesh.net/faq ![](https://i.imgur.com/FBf8Rx0.png) ![](https://i.imgur.com/8VjWGl4.png) | ![](https://i.imgur.com/IzFlU4D.png) | ![](https://i.imgur.com/ExcfHeB.jpg) | ![](https://i.imgur.com/iARw8CC.png) | | -------- | -------- | -------- | - https://lostintranslationmon.com/project-digishell/ - http://www.tamashell.com/ - https://slate.host/jin/cryptostorage - https://nextcloud.com/ **AR sigils for DAOs** - https://twitter.com/balajis/status/1459554005105840132 - check this out https://thenetworkstate.com/ ![](https://thenetworkstate.com/networkstate.gif) PaperPi e-ink display for dashboard: https://github.com/txoof/epd_display **Aquarium** https://opensea.io/collection/axolittles https://axoquarium.axolittles.io/ https://www.gl-inet.com/products/gl-usb150/ https://hackaday.com/2019/02/01/this-tiny-router-could-be-the-next-big-thing/ https://www.espboy.com/ Previous project: https://www.youtube.com/watch?v=Z7ai7pai-7M ![](https://i.imgur.com/DvErvle.png) - https://wiki.trezor.io/Open-source_hardware - https://github.com/trezor/trezor-hardware - https://www.pitrezor.com/2018/02/pitrezor-homemade-trezor-bitcoin-wallet.html :star: https://dwebcamp.org/ --- ## Metafactory Pi-servers **Turing Pi https://turingpi.com/** https://hackaday.com/2022/06/16/turing-pi-2-the-low-power-cluster/ > Looking for a platform for learning Docker and Kubernetes? Or a place to host Gitlab, Nextcloud, and a file server? Maybe you want to play Nginx as a front-end proxy, and several devices running services behind it? The Homelab-in-a-box nature of the TP2 makes it a useful choice for all of the above. And even though you can’t reasonably do all the above on a single Raspberry Pi, a programmable cluster of 4 of them does the job quite nicely. ![](https://i.imgur.com/b7ijHdb.png) https://twitter.com/turingpi/status/1519828810891415552 Shipping July 2022, MetaDreamer already experimenting with it as seen on the MetaFactory community call. | ![](https://i.imgur.com/dRafdcB.jpg) | ![](https://i.imgur.com/zkAZ89s.jpg) | ![](https://i.imgur.com/LcZBZ67.png) | | -------- | -------- | -------- | **Hobbyist Cases** I just thought these looked cool and protective, maybe a good surface to laser etch a logo. | ![](https://i.imgur.com/ZHkYNSN.png) | ![](https://i.imgur.com/I2cVUeh.png) | ![](https://i.imgur.com/dlax2W5.jpg) | | -------- | -------- | -------- | | https://www.amazon.com/Argon-Raspberry-Support-B-Key-Compatible/dp/B08MJ3CSW7/ | https://www.amazon.com/Argon-Raspberry-Heatsink-Supports-Accessible/dp/B07WMG27T7 | https://www.amazon.com/Triple-Stack-Raspberry-Zero-W-C4Labs/dp/B06XCK7G2R/ | ![](https://i.imgur.com/Sw5biUF.png) --- ## Prefab Folding Homes - https://www.youtube.com/watch?v=H4QD1Nn6D7U - https://twitter.com/Rainmaker1973/status/1662725416816132096 --- ## Robot Pets Freenove has lots of Raspberry Pi robot kits! **https://www.amazon.com/stores/Freenove/page/8404D946-BCBD-4036-9BCF-784DBB4E3606** ![](https://i.imgur.com/Fm1896h.png) ![](https://i.imgur.com/jUF5YIF.png)