{"id":13639724,"url":"https://github.com/matildepark/urbit-static-page","last_synced_at":"2025-04-19T22:33:46.450Z","repository":{"id":54183594,"uuid":"200114943","full_name":"matildepark/urbit-static-page","owner":"matildepark","description":"Mount an arbitrary HTML page to an Urbit ship.","archived":true,"fork":false,"pushed_at":"2023-11-08T20:24:55.000Z","size":20,"stargazers_count":30,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-03T01:15:16.162Z","etag":null,"topics":["boilerplate","hoon","html","urbit"],"latest_commit_sha":null,"homepage":"","language":"hoon","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matildepark.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}},"created_at":"2019-08-01T20:27:11.000Z","updated_at":"2024-01-23T16:54:20.000Z","dependencies_parsed_at":"2024-01-14T09:59:45.606Z","dependency_job_id":"7221a1e5-c3f6-414f-a2e3-4c64ef36a81f","html_url":"https://github.com/matildepark/urbit-static-page","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matildepark%2Furbit-static-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matildepark%2Furbit-static-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matildepark%2Furbit-static-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matildepark%2Furbit-static-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matildepark","download_url":"https://codeload.github.com/matildepark/urbit-static-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223810682,"owners_count":17206812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["boilerplate","hoon","html","urbit"],"created_at":"2024-08-02T01:01:03.851Z","updated_at":"2024-11-09T09:31:35.236Z","avatar_url":"https://github.com/matildepark.png","language":"hoon","funding_links":[],"categories":["Archive"],"sub_categories":["Tools"],"readme":"**Notice:** This is nowhere near current and should only be considered for the purpose of mounting static HTML pages in archival subnetworks (eg. galaxies, stars, and planets pinned to Vere version 0.10.0). As of November 2023, no such archival project exists, though one could certainly imagine it.\n\n# urbit-static-page\n\nBasic template for mounting a static website (HTML+CSS+JS) to an [Urbit](https://urbit.org) ship v.0.10.0 or higher.\n\n[![awesome urbit badge](https://img.shields.io/badge/~-awesome%20urbit-lightgrey)](https://github.com/urbit/awesome-urbit)\n\n## Overview\n\nAs of Urbit v0.8.0, the eyre vane (HTTP server) of Arvo no longer automatically mounts everything in the `/web` folder. It now works through the declaration of endpoints. \n\nThis is a boilerplate for that, using a static Gall agent, current as of v.0.10.0+.\n\nThis boilerplate will mount everything in /app/staticsite to \"/~staticsite\" on your ship's HTTP server. If your ship is `~sampel-palnet` and you have enabled [DNS proxying](https://urbit.org/using/operations/using-your-ship/#planets-and-stars), your site will be available on `http://sampel-palnet.arvo.network/~staticsite`. \n\nYou can also set any domain name to your ship's IP address, if you prefer.\n\n### Usage\n\n1. Clone this repo.\n2. If you want to rename the app or the endpoint, you can do either respectively by renaming `staticsite.hoon` and the `staticsite` folder, for the app; and all mentions of `~staticsite` in the former `staticsite.hoon` for the endpoint. Feel free to add your HTML, CSS, and JS files to the folder when ready.\n3. Copy everything in `urbit/app` to your Urbit ship's pier, within its respective /app folder.\n4. `|commit %home` and `|start %your-app-name`.\n5. e m b r a c e g e o c i t i e s\n\n### Future updates\n\n- [ ] Mounting arbitrary pngs\n\n## Acknowledgements\n\nThis was one of my first projects on Urbit. Thank you to `~tacryt-socryp`, `~palfun-folsup` and `~novlud-padtyv` for mentoring.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatildepark%2Furbit-static-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatildepark%2Furbit-static-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatildepark%2Furbit-static-page/lists"}