{"id":18936400,"url":"https://github.com/vaporexampleslab/quicwebbserver","last_synced_at":"2025-10-18T02:03:13.115Z","repository":{"id":133115013,"uuid":"186326045","full_name":"VaporExamplesLab/QuicWebbServer","owner":"VaporExamplesLab","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-13T07:10:32.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T21:26:22.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VaporExamplesLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-05-13T01:37:09.000Z","updated_at":"2019-05-13T07:10:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c731b2e-0c78-4015-8787-f35a3e452dd9","html_url":"https://github.com/VaporExamplesLab/QuicWebbServer","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/VaporExamplesLab%2FQuicWebbServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaporExamplesLab%2FQuicWebbServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaporExamplesLab%2FQuicWebbServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaporExamplesLab%2FQuicWebbServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VaporExamplesLab","download_url":"https://codeload.github.com/VaporExamplesLab/QuicWebbServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937702,"owners_count":19721482,"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":[],"created_at":"2024-11-08T12:07:18.540Z","updated_at":"2025-10-18T02:03:13.109Z","avatar_url":"https://github.com/VaporExamplesLab.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [QuicWebbUpdater][t]\n[t]:https://github.com/VaporExamplesLab/QuicWebbUpdater\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"http://docs.vapor.codes/3.0/\"\u003e\n        \u003cimg src=\"http://img.shields.io/badge/read_the-docs-2196f3.svg\" alt=\"Documentation\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\n        \u003cimg src=\"http://img.shields.io/badge/license-MIT-brightgreen.svg\" alt=\"MIT License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://swift.org\"\u003e\n        \u003cimg src=\"http://img.shields.io/badge/swift-4.2-brightgreen.svg\" alt=\"Swift 4.2\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ca id=\"toc\"\u003e\u003c/a\u003e\n[Getting Started](#GettingStarted) •\n[Original Setup](#OriginalSetup) •\n[Resources](#Resources) \n\n## Getting Started \u003ca id=\"GettingStarted\"\u003e\u003c/a\u003e[▴](#toc)\n\n**Prerequisites**\n\n* [Install Xcode 10 ⇗](https://itunes.apple.com/us/app/xcode/id497799835?mt=12)\n* [Install homebrew ⇗](https://brew.sh/)\n* [Install vapor toolbox ⇗](https://docs.vapor.codes/3.0/install/macos/)\n\n**Download|Clone \u0026 Run**\n\nSteps to download repository:\n\n``` bash\n## go to your working directory\ncd \u003cyour-choosen-directory-path\u003e\n\n## download and unzip\nwget https://github.com/VaporExamplesLab/QuicWebbUpdater/archive/master.zip\nunzip master.zip -d QuicWebbUpdater\nrm master.zip     # remove download\n\ncd QuicWebbUpdater-master\n\n# update dependencies \n# with `-y` yes to generate and open Xcode project\nvapor update -y\n```\n\nOr, alternate steps to clone repository instead of download:\n\n``` bash\n## go to your working directory\ncd \u003cyour-choosen-directory-path\u003e\n\n## either clone\n##    add --bare option for an unattached instance\ngit clone git@github.com:VaporExamplesLab/QuicWebbUpdater.git \n\ncd QuicWebbUpdater\n\n# update dependencies \n# with `-y` yes to generate and open Xcode project\nvapor update -y\n```\n\n**Directory Structure**\n\n``` bash\nblog_content_original/\n  html/\n  # markdown/…/*.md pages map to blog_content_processed/leaf/_m/…/*.leaf\n  # markdown/…/*_files/*  map to blog_content_processed/public/_m/…/*.leaf\n  markdown/   \n    yyyy/\n      MM/\n        article_files\n        article.md\n  paprika/\n#\nblog_content_processed/\n  leaf/\n    _h/\n    _m/\n      yyyy/\n        mm/\n          article.leaf\n    _r/\n  public/\n    _h/\n    _m/\n      yyyy/\n        mm/\n          article_files/*\n    _r/\n\nQuicWebbUpdater/\n  Public/   # must match URL for relative addressing\n     _h → blog_content_processed/public/_h\n     _m → blog_content_processed/public/_m\n     _r → blog_content_processed/public/_r\n  Resources/\n    Views/  # path to leaf can be revised by router ?\n      _h → blog_content_processed/leaf/_h\n      _m → blog_content_processed/leaf/_m\n      _r → blog_content_processed/leaf/_r\n```\n\n_route_\n\n``` swift\n```\n\n_leaf template_\n\n``` leaf\n```\n\n``` bash\ncd QuicWebbUpdater\nln -s ../../blog_content_processed/public/_h Public/_h \nls -l Public/_h/\nln -s ../../blog_content_processed/public/_m Public/_m \nls -l Public/_m/\nln -s ../../blog_content_processed/public/_r Public/_r \nls -l Public/_r/\nls -l Public\n\nln -s ../../../blog_content_processed/leaf/_h Resources/Views/_h \nls -l Resources/Views/_h/\nln -s ../../../blog_content_processed/leaf/_m Resources/Views/_m \nls -l Resources/Views/_m/\nln -s ../../../blog_content_processed/leaf/_r Resources/Views/_r \nls -l Resources/Views/_r/\nls -l Resources/Views\n```\n\nSet Xcode scheme to \"Run \u003e My Mac\".\n\n![](README_files/XcodeScheme.png)\n\nClick the run button and check the results in a browser at `http://localhost:8080`.\n\n![TBD:LandingPage](README_files/LandingPage.png)\n\n## Original Setup \u003ca id=\"OriginalSetup\"\u003e\u003c/a\u003e[▴](#toc)\n\nThe following steps were completed to create the `QuicWebbUpdater` example. \n\n\n**Create Vapor Website Project**\n\nCreate a `QuicWebbUpdater` project from the command line terminal:\n\n``` bash\nvapor new QuicWebbUpdater --web\ncd QuicWebbUpdater\n# add directory for README.md assets\nmkdir README_files \ntouch README_files/.git_keep # create file so folder is not empty for `git`  \n\n# update dependencies \n# with `-y` yes to generate and open Xcode project\nvapor update -y\n```\n\n\n\n## Resources \u003ca id=\"Resources\"\u003e\u003c/a\u003e[▴](#toc)\n\n* [Bootstrap ⇗](https://getbootstrap.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaporexampleslab%2Fquicwebbserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaporexampleslab%2Fquicwebbserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaporexampleslab%2Fquicwebbserver/lists"}