{"id":24996842,"url":"https://github.com/ash-olorenshaw/melbourneespressohtmx","last_synced_at":"2026-04-12T12:36:25.167Z","repository":{"id":273810905,"uuid":"920964633","full_name":"Ash-Olorenshaw/MelbourneEspressoHTMX","owner":"Ash-Olorenshaw","description":"The code for melbourneespresso.com's HTMX rewrite!","archived":false,"fork":false,"pushed_at":"2025-02-10T06:15:04.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T18:15:57.337Z","etag":null,"topics":["coffee","flask","htmx","javascript","leafletjs","python","website"],"latest_commit_sha":null,"homepage":"https://melbourneespresso.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ash-Olorenshaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-23T04:52:56.000Z","updated_at":"2025-02-10T06:15:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"c930c348-46d9-428f-ba64-1f5ac6efc95d","html_url":"https://github.com/Ash-Olorenshaw/MelbourneEspressoHTMX","commit_stats":null,"previous_names":["ash-olorenshaw/melbourneespressohtmx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ash-Olorenshaw/MelbourneEspressoHTMX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ash-Olorenshaw%2FMelbourneEspressoHTMX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ash-Olorenshaw%2FMelbourneEspressoHTMX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ash-Olorenshaw%2FMelbourneEspressoHTMX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ash-Olorenshaw%2FMelbourneEspressoHTMX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ash-Olorenshaw","download_url":"https://codeload.github.com/Ash-Olorenshaw/MelbourneEspressoHTMX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ash-Olorenshaw%2FMelbourneEspressoHTMX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31715492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coffee","flask","htmx","javascript","leafletjs","python","website"],"created_at":"2025-02-04T16:33:57.369Z","updated_at":"2026-04-12T12:36:25.150Z","avatar_url":"https://github.com/Ash-Olorenshaw.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MelbourneEspressoHTMX\n\nThis is the main repo for all files required for hosting a [melbourneespresso.com](https://melbourneespresso.com)-style web application (new rewrite in Flask/HTMX).\n\n## What is Melbourne Espresso?\n\nMelbourne Espresso is a web app that I built that shows good toilet and coffee locations in Melbourne. It currently uses very very very rudimentary authentication so that I can keep it to be viewable only by friends (might make it fully public in future).\n\nThe web app uses what I've stupidly dubbed the `PFfHhhh Stack` (as in the noise you make when exhaling loudly from pursed lips in disbelief); this stack uses the following technologies:\n\n - [Postgres](https://www.postgresql.org/)\n - [Flask](https://github.com/pallets/flask)\n   - **(optional)** [Fly.io](https://fly.io/) (for hosting since it's just so easy!)\n - [HTMX](https://github.com/bigskysoftware/htmx)\n - *and most importantly*: `hours` of work wrangling HTML/CSS/JS into line\n\n## Dependencies\n\nThis project is not a complete repo as for the sake of copyright licences, etc I have left out all external libs, fonts and the images that I made. However, adding them back is quite simple. Create the following folders under `static/`:\n- `fonts` (for your fonts, this project uses `GoogleFonts DMSans-Regular`)\n- `images` (for images, favicon, etc)\n- `lib` (for [HTMX](https://github.com/bigskysoftware/htmx) and [LeafletJS](https://github.com/Leaflet/Leaflet) and any other libraries you want)\n\n## Running\n\nIf you want to run Melbourne Espresso, it's reasonably simple. \n\nTo begin with, clone this repo:\n```nu-script\ngit clone https://github.com/Ash-Olorenshaw/MelbourneEspressoHTMX.git\ncd MelbourneEspressoHTMX\n```\n\nNext, you'll need a `.env` file. Your `.env` file must have the following fields:\n\n```python\nDB_NAME=      # database name\nDB_USER=      # database username\nDB_PWD=       # database password\nDB_HOST=      # database host\nDB_PORT=      # database port\n\nLOGIN_PWD=    # your desired application password\nADMIN_PWD=    # your desired admin password\n\nTOILET_TABLE= # db table name for toilet info\nCAFE_TABLE=   # db table name for cafe info\n```\n\nYour Postgres DB should be then populated with a Cafe table that has the following columns:\n\n**Title** | **Longtitude** | **Latitude** | **Address** | **Coffee** | **Size** | **Price** | **Matcha** | **Chai** | **Notes**\n\nAnd the toilet table should contain the following:\n\n**Title** | **Longtitude** | **Latitude** | **Address** | **Notes**\n\nAfter that, create a Python Virtual Environment like this:\n\n```nu-script\npython3 -m venv venv\n```\n\nActivate it and then install the required dependencies:\n\n```nu-script\n# *nix\n. ./venv/bin/activate\n# Windows (PowerShell)\n./venv/Scripts/activate.ps1\n\npip install -r requirements.txt\n```\n\nThen run the server!\n\n```nu-script\npython3 -m flask run --host=0.0.0.0 --port=8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fash-olorenshaw%2Fmelbourneespressohtmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fash-olorenshaw%2Fmelbourneespressohtmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fash-olorenshaw%2Fmelbourneespressohtmx/lists"}