Q1: What is FIVEo1, exactly? It's a self-hosted media archive system – a private, secure photo and video journal that lives on your own computer or a tiny computer like a Raspberry Pi. You upload images and videos, add titles and descriptions, and the system automatically saves where you were (using GPS) and when you took them. Everything stays on your own hardware – never on someone else's cloud. There's also a separate AI system that runs completely offline on a Raspberry Pi. This AI can analyse your media – maybe recognise faces, sort images, or transcribe audio – without ever connecting to the internet. That means your private data truly stays private. --- Q2: What can you actually do with it? The system gives you a few main abilities: · Upload files – images or videos, even very large ones. It splits big files into small chunks and reassembles them, so uploads are reliable and don't fail halfway. · Take live photos or videos – right from your browser using your device's camera. There's a burst mode: if you hold down the button, it captures a photo every 300 milliseconds, or creates a sequence of short video clips. · Add metadata – you can give each post a title, a description, and a location. The system can fetch your current GPS coordinates and turn them into a human‑readable place name (like "Guatemala City, Guatemala") using OpenStreetMap. · Edit or delete – any post can be changed later. You can update the title, description, location, or even replace the attached file. · Search – a live search box filters your archive by title or location name, so you can find things quickly. Everything is password‑protected, so only you or someone you trust can see or change anything. --- Q3: How does the upload system work, especially for big files? Instead of sending one giant file all at once (which can fail or time out), the system breaks your file into small chunks – typically 1 MB each. It sends each chunk one by one. If a chunk fails, it retries up to three times. Once all chunks arrive, the server reassembles the original file, moves it to the correct media folder, and creates a database record. The temporary chunk storage is then deleted automatically. This is useful for people with slow internet connections or for uploading large video files without worrying about interruptions. --- Q4: How does the live camera feature work? You click a "LIVE" button, and a camera overlay appears. You can switch between: · Photo mode – captures a high‑resolution JPEG, resizes it to a sensible width (2400px), and uploads it immediately with location data. · Video mode – records using your browser's MediaRecorder. You can choose video quality (low, medium, high), and it saves as an MP4 file. · Burst mode – in photo mode, it captures a photo every 300 ms while you hold the button. In video mode, it alternates between starting and stopping recording every 300 ms, creating a series of short clips. You can also toggle the flash (if your device supports it), switch between different cameras (front/back), and the system fetches your location once per session and caches it for five minutes to avoid constant GPS requests. --- Q5: How does geotagging work? When you upload or capture something, you have two options: 1. Manual entry – you can type a location name yourself. 2. Automatic – click the "G" button. The system uses your browser's Geolocation API to get your current latitude and longitude. It then sends those coordinates to OpenStreetMap's Nominatim service to reverse‑geocode them into a readable location name (like "Antigua Guatemala"). This makes it easy to remember exactly where each memory was created. --- Q6: What about the admin panel and editing content? The admin panel is where you manage everything. After logging in, you see a list of all your posts. Each item has: · An "E" button – click this to edit. The form pre‑fills with all your existing data. You can change the type (image, video, or article), title, description, content, location, or timestamp. You can also click the file name to replace the attached file with a new one. · A "D" button – click this to delete. It asks for confirmation first, then removes both the database entry and all associated physical files from your storage. · A live search box – filters the list by title or location name, so you never have to scroll through hundreds of items to find something. --- Q7: Why is the offline AI + Raspberry Pi part so important? Most AI tools today send your data to the cloud – which means someone else's computer sees your pictures and videos. With FIVEo1, the AI runs on a Raspberry Pi that is completely disconnected from the internet. That means: · No one can hack it from afar. · No company can scan your files. · Your memories stay on your own hardware. The only way to break in is to physically touch the device – which is much harder. The AI runs under a restricted user account (not as "root"), so even if something went wrong, it couldn't damage the system. The Raspberry Pi also uses a dedicated transfer workstation to import new files or models: the internet‑connected computer downloads and scans everything for malware, verifies cryptographic hashes, and only then transfers clean files via USB. This makes the USB stick the only bridge between the outside world and your offline archive. --- Q8: What does "completely offline" really mean for security? We designed the system so the Raspberry Pi is an air‑gapped appliance: · All network interfaces (Wi‑Fi, Bluetooth, Ethernet) are physically turned off or disabled. · No SSH, no web server exposed to any network – the only way to interact is through a local screen or a dedicated USB transfer. · To get new files or AI models onto it, you use a separate "transfer computer" that scans everything for malware and verifies cryptographic hashes. Only clean, verified files go onto the USB stick that plugs into the Pi. · The AI runs under a limited user account, so even if a malicious model tried to do something bad, it can't access system files. · Storage can be encrypted, and we keep regular backups to a separate drive to protect against hardware failure. This setup is much stronger than any internet‑connected system because the attack surface is tiny – no remote attacks, no cloud API calls, no third‑party services to compromise. The main risks shift to physical access, USB imports, or supply‑chain compromise, all of which are much harder for an attacker to exploit. --- Q9: Who is this for? Anyone who values their privacy and wants to own their own media archive: · Photographers and videographers who don't want to upload everything to the cloud. · Journalists or activists working with sensitive material. · Families wanting a secure, offline family album that doesn't depend on a subscription. · Researchers who need to run AI on private data without sharing it. It's also for people who want a travel journal – the geotagging and timestamp features make it easy to remember exactly where and when each memory was captured. --- Q10: How do you set it up? You need: · A web server (like Apache or Nginx) with PHP 7.4+ and the SQLite3 extension. The exec function must be enabled if you want video thumbnails. · A Raspberry Pi (preferably Pi 5) with Raspberry Pi OS. FFmpeg is optional but recommended for generating video thumbnails. · A USB drive or SD card for storage. The software consists of a single PHP file (the main file, called fiveo1.php) plus a helper file with database functions and geocoding helpers. You place both files in a web‑accessible directory, make sure the media/ and .chunks/ folders are writable by the web server, and then access the file in your browser. The admin panel is password‑protected – you can set your own password in the source before deploying. The cost is just the hardware – maybe $100–$200 for a Raspberry Pi and storage. No monthly fees, no per‑user charges, no reliance on a third‑party service that might shut down. --- The ultimate goal: You have a digital library of your life – every photo, every video, every note – that lives on your own hardware, is searchable by location and date, and is analysed locally by an AI that never phones home. You are not a product; you are the owner.