{"id":18328368,"url":"https://github.com/thorstenhans/spin-url-shortener","last_synced_at":"2026-02-17T06:01:35.605Z","repository":{"id":233140262,"uuid":"705196437","full_name":"ThorstenHans/spin-url-shortener","owner":"ThorstenHans","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-15T10:33:44.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T08:41:39.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/ThorstenHans.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}},"created_at":"2023-10-15T10:25:19.000Z","updated_at":"2023-10-15T10:33:47.000Z","dependencies_parsed_at":"2024-04-14T04:44:11.204Z","dependency_job_id":"2427263c-845e-4841-b343-fd37d5a40726","html_url":"https://github.com/ThorstenHans/spin-url-shortener","commit_stats":null,"previous_names":["thorstenhans/spin-url-shortener"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThorstenHans/spin-url-shortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fspin-url-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fspin-url-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fspin-url-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fspin-url-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThorstenHans","download_url":"https://codeload.github.com/ThorstenHans/spin-url-shortener/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fspin-url-shortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29535934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-05T19:13:55.465Z","updated_at":"2026-02-17T06:01:35.571Z","avatar_url":"https://github.com/ThorstenHans.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener\n\nThe _URL Shortener_ is a fairly simple app to demonstrate and teach the fundamentals of Fermyon Spin. \n\nThe app consists of two Spin components\n\n- Frontend (static file server) for serving the web app\n- Backend (Rust) a set of APIs required for the _URL Shortener_\n\n## How to run the app locally\n\nTo run the app locally, you must have `spin` CLI installed on your machine. Clone the repo and navigate to the root folder of the project. From here you can use `spin` CLI to build and run the app:\n\n```bash\n# Build the app\nspin build\n\n# Run the app\nspin up --direct-mounts\n```\n\nBy providing `--direct-mounts`, the frontend will pick up modifications to the frontend, without having to restart the app itself.\n\n## How to deploy the app to Fermyon Cloud\n\nYou can deploy the app to Fermyon Cloud using `spin` CLI. First, you have to authenticate `spin` CLI with your Fermyon Cloud account:\n\n```bash\n# Authenticate with Fermyon Cloud\nspin cloud login\n\n# Deploy the app\nspin cloud deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fspin-url-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorstenhans%2Fspin-url-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fspin-url-shortener/lists"}