{"id":113,"date":"2026-10-30T14:48:47","date_gmt":"2026-10-30T05:48:47","guid":{"rendered":"https:\/\/mrben.net\/?p=113"},"modified":"2026-10-30T14:48:47","modified_gmt":"2026-10-30T05:48:47","slug":"i-just-open-sourced-sizuya-passport","status":"publish","type":"post","link":"https:\/\/mrben.net\/index.php\/2026\/10\/30\/i-just-open-sourced-sizuya-passport\/","title":{"rendered":"I Just Open-Sourced Sizuya Passport"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Running guesthouses in Osaka means paperwork. Japanese law requires us to record every guest&#8217;s information, and for foreign guests we also have to keep a copy of their passport. For a long time that meant chasing guests in chat apps: &#8220;Please send me a photo of your passport.&#8221; Some sent it, some forgot, some sent a blurry photo of the wrong page the night before check-in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I built a system for it. Today I open-sourced it: <strong>Sizuya Passport<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea is simple. Each booking gets a registration page. The guest opens it, fills in their information, and uploads a photo of their ID \u2014 a passport, or a Japanese My Number card for guests living in Japan.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The system checks the uploaded document, so I don&#8217;t have to eyeball every photo myself. Once the registration is complete, the guest automatically receives the door lock password for the property \u2014 the system works with TTLock smart locks and issues a dynamic password for the stay.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On my side, everything lives in one admin backend: guest information, orders, properties, and locks. When I need records \u2014 for bookkeeping, or in case the authorities ever ask \u2014 I can batch-download the guest information together with the ID images, as Excel and ZIP files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The check-in page is multilingual. Our guests come from everywhere, so the page speaks Japanese, English, Simplified and Traditional Chinese, Korean, German, French, Spanish, and Arabic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Under the hood it is the stack I always use: Python and Django 5, PostgreSQL, and Docker. One &#8220;docker compose up&#8221; and it runs. The code is on GitHub under the MIT license:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/i-love-osaka\/homestay_passport\">https:\/\/github.com\/i-love-osaka\/homestay_passport<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One honest warning: a system like this handles passport images and personal data. If you run it, run it properly \u2014 HTTPS, access control, backups, and never, ever put real guest data in a public repository.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I built Sizuya Passport for my own houses here in Osaka. If you run a small guesthouse or vacation rental in Japan and you are still collecting passport photos over chat, maybe it saves you the same headaches it saved me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More of my guesthouse tools will follow it out the door. One system at a time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running guesthouses in Osaka means paperwork. Japanese  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":114,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[26,40,41,25,8,4],"class_list":["post-113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-something-new","tag-django","tag-guesthouse","tag-minpaku","tag-open-source","tag-osaka","tag-python"],"_links":{"self":[{"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":1,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/posts\/113\/revisions\/115"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/media\/114"}],"wp:attachment":[{"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mrben.net\/index.php\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}