{"id":140427,"date":"2022-11-27T00:56:58","date_gmt":"2022-11-27T00:56:58","guid":{"rendered":"https:\/\/harchi90.com\/magic-mirror-on-a-low-cpu-budget\/"},"modified":"2022-11-27T00:56:58","modified_gmt":"2022-11-27T00:56:58","slug":"magic-mirror-on-a-low-cpu-budget","status":"publish","type":"post","link":"https:\/\/harchi90.com\/magic-mirror-on-a-low-cpu-budget\/","title":{"rendered":"Magic Mirror \u2013 On A Low CPU Budget"},"content":{"rendered":"
\n <\/p>\n
\n

For quite a few hackers out there, it’s still hard to find a decently powerful Raspberry Pi for a non-eye-watering price. [Rupin Chheda] wanted to build a magic mirror with a web-based frontend, and a modern enough Raspberry Pi would’ve worked just fine. Sadly, all he could get was single-1 GHz-core 512MB-RAM Zero W boards, which he found unable to run Chromium well enough given the stock Raspbian Desktop install, let alone a webserver alongside it. Not to give up, [Rupin] gives us a step-by-step breakdown on creating a low-footprint Raspbian install showing a single webpage.<\/p>\n

Starting with Raspbian Lite, a distribution that doesn’t ship with any desktop features by default, he shows how to equip it with a minimal GUI \u2013 no desktop environment needed, just an X server with the OpenBox window manager, as you don’t need more for a kiosk mode application. In place of Chromium, you can install Midori, which is a lean browser that works quite well in single-website mode, and [Rupin] shows you how to make it autostart, as well as the little quirks that make sure your display doesn’t go to sleep. The webserver runs in Heroku cloud, but we wager that, with such a minimal install, it could as well run on the device itself.<\/p>\n

With these instructions, you can easily build a low-power single-page browser when all you have is a fairly basic Raspberry Pi board. Of course, magic mirrors are a well-researched topic by now, but you can always put a new spin on an old topic, like in this this retro-tv-based build. You don’t have to build a magic mirror to make use of this hack, either \u2013 build a recipe kiosk!<\/p>\n<\/p><\/div>\n

<\/p>\n

\n<\/div>\n","protected":false},"excerpt":{"rendered":"

For quite a few hackers out there, it’s still hard to find a decently powerful Raspberry Pi for a non-eye-watering price. [Rupin Chheda] wanted to build a magic mirror with a web-based frontend, and a modern enough Raspberry Pi would’ve worked just fine. Sadly, all he could get was single-1 GHz-core 512MB-RAM Zero W boards, …<\/p>\n

Magic Mirror \u2013 On A Low CPU Budget<\/span> Read More »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"\nMagic Mirror \u2013 On A Low CPU Budget - harchi90<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magic Mirror \u2013 On A Low CPU Budget - harchi90\" \/>\n<meta property=\"og:description\" content=\"For quite a few hackers out there, it’s still hard to find a decently powerful Raspberry Pi for a non-eye-watering price. [Rupin Chheda] wanted to build a magic mirror with a web-based frontend, and a modern enough Raspberry Pi would’ve worked just fine. Sadly, all he could get was single-1 GHz-core 512MB-RAM Zero W boards, … Magic Mirror \u2013 On A Low CPU Budget Read More »\" \/>\n<meta property=\"og:url\" content=\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5\" \/>\n<meta property=\"og:site_name\" content=\"harchi90\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-27T00:56:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hackaday.com\/wp-content\/uploads\/2022\/11\/hadimg_lowcpu_magicmirror_feat.jpeg\" \/>\n<meta name=\"author\" content=\"islamlacoste58\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hackaday.com\/wp-content\/uploads\/2022\/11\/hadimg_lowcpu_magicmirror_feat.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"islamlacoste58\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/harchi90.com\/magic-mirror-on-a-low-cpu-budget\/\",\"url\":\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5\",\"name\":\"Magic Mirror \u2013 On A Low CPU Budget - harchi90\",\"isPartOf\":{\"@id\":\"https:\/\/harchi90.com\/#website\"},\"datePublished\":\"2022-11-27T00:56:58+00:00\",\"dateModified\":\"2022-11-27T00:56:58+00:00\",\"author\":{\"@id\":\"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b\"},\"breadcrumb\":{\"@id\":\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/harchi90.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magic Mirror \u2013 On A Low CPU Budget\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/harchi90.com\/#website\",\"url\":\"https:\/\/harchi90.com\/\",\"name\":\"harchi90\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/harchi90.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b\",\"name\":\"islamlacoste58\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/harchi90.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g\",\"caption\":\"islamlacoste58\"},\"sameAs\":[\"http:\/\/harchi90.com\"],\"url\":\"https:\/\/harchi90.com\/author\/islamlacoste58\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magic Mirror \u2013 On A Low CPU Budget - harchi90","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5","og_locale":"en_US","og_type":"article","og_title":"Magic Mirror \u2013 On A Low CPU Budget - harchi90","og_description":"For quite a few hackers out there, it’s still hard to find a decently powerful Raspberry Pi for a non-eye-watering price. [Rupin Chheda] wanted to build a magic mirror with a web-based frontend, and a modern enough Raspberry Pi would’ve worked just fine. Sadly, all he could get was single-1 GHz-core 512MB-RAM Zero W boards, … Magic Mirror \u2013 On A Low CPU Budget Read More »","og_url":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5","og_site_name":"harchi90","article_published_time":"2022-11-27T00:56:58+00:00","og_image":[{"url":"https:\/\/hackaday.com\/wp-content\/uploads\/2022\/11\/hadimg_lowcpu_magicmirror_feat.jpeg"}],"author":"islamlacoste58","twitter_card":"summary_large_image","twitter_image":"https:\/\/hackaday.com\/wp-content\/uploads\/2022\/11\/hadimg_lowcpu_magicmirror_feat.jpeg","twitter_misc":{"Written by":"islamlacoste58","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/harchi90.com\/magic-mirror-on-a-low-cpu-budget\/","url":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5","name":"Magic Mirror \u2013 On A Low CPU Budget - harchi90","isPartOf":{"@id":"https:\/\/harchi90.com\/#website"},"datePublished":"2022-11-27T00:56:58+00:00","dateModified":"2022-11-27T00:56:58+00:00","author":{"@id":"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b"},"breadcrumb":{"@id":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiQWh0dHBzOi8vaGFja2FkYXkuY29tLzIwMjIvMTEvMjYvbWFnaWMtbWlycm9yLW9uLWEtbG93LWNwdS1idWRnZXQv0gEA?oc=5#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/harchi90.com\/"},{"@type":"ListItem","position":2,"name":"Magic Mirror \u2013 On A Low CPU Budget"}]},{"@type":"WebSite","@id":"https:\/\/harchi90.com\/#website","url":"https:\/\/harchi90.com\/","name":"harchi90","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/harchi90.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b","name":"islamlacoste58","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harchi90.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g","caption":"islamlacoste58"},"sameAs":["http:\/\/harchi90.com"],"url":"https:\/\/harchi90.com\/author\/islamlacoste58\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":116303,"url":"https:\/\/harchi90.com\/make-your-pi-moonlight-as-a-security-camera\/","url_meta":{"origin":140427,"position":0},"title":"Make Your Pi Moonlight As A Security Camera","date":"November 3, 2022","format":false,"excerpt":"A decade ago, I was learning Linux through building projects for my own needs. One of the projects was a DIY CCTV system based on a Linux box \u2013 specifically, a user-friendly all-in-one package for someone willing to pay for it. I stumbled upon Zoneminder, and those in the know,\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":33471,"url":"https:\/\/harchi90.com\/raspberry-pi-4-expands-3d-potential-with-vulkan-update\/","url_meta":{"origin":140427,"position":1},"title":"Raspberry Pi 4 expands 3D potential with Vulkan update","date":"August 2, 2022","format":false,"excerpt":"enlarge \/ Real Racing running on a Vulkan-powered Raspberry Pi 4. The Raspberry Pi 4 has hit a major graphics milestone, adding support for a more modern Vulkan 3D API. While that doesn't mean a smooth doom (2016) experience on the single-board wonder, it does help filthy running Android and\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":415,"url":"https:\/\/harchi90.com\/raspberry-pi-announces-the-pico-w-a-6-microcontroller-equipped-with-wi-fi\/","url_meta":{"origin":140427,"position":2},"title":"Raspberry Pi announces the Pico W, a $6 microcontroller equipped with Wi-Fi","date":"June 30, 2022","format":false,"excerpt":"Raspberry Pi has introduced a successor to last year's Pico, a $4 microcontroller based on the RP2040 chip the company designed itself. The new model is called the Pico W. It's basically the same hardware, but it adds, as the name suggests, an 802.11n Wi-Fi radio, making it useful for\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":119085,"url":"https:\/\/harchi90.com\/pieca-is-a-pi-camera-with-some-very-nice-lenses\/","url_meta":{"origin":140427,"position":3},"title":"Pieca Is A Pi Camera With Some Very Nice Lenses","date":"November 5, 2022","format":false,"excerpt":"The advent of the high-quality version of the Raspberry Pi camera has given experimenters a good-enough quality camera system that they can use it to create better devices than mere snapshot cameras. It's been used by experimenters for some exciting projects, but so far, very few of them have broken\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1710,"url":"https:\/\/harchi90.com\/the-tiniest-raspberry-pi-gets-a-new-version-with-built-in-wi-fi\/","url_meta":{"origin":140427,"position":4},"title":"The tiniest Raspberry Pi gets a new version with built-in Wi-Fi","date":"July 2, 2022","format":false,"excerpt":"enlarge \/ The Raspberry Pi Pico W adds Wi-Fi to the $4 Pico board for an additional $2. Raspberry Pi Foundation The Raspberry Pi Zero series is the smallest version of the popular single-board computer that most people have experience with, but there's one Pi that's even smaller: the Raspberry\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"fifu_image_url":"https:\/\/hackaday.com\/wp-content\/uploads\/2022\/11\/hadimg_lowcpu_magicmirror_feat.jpeg","_links":{"self":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/140427"}],"collection":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/comments?post=140427"}],"version-history":[{"count":0,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/140427\/revisions"}],"wp:attachment":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/media?parent=140427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/categories?post=140427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/tags?post=140427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}