{"id":21570146,"url":"https://github.com/lucifer1004/dioxus-vercel-demo","last_synced_at":"2025-04-10T14:12:31.711Z","repository":{"id":43340983,"uuid":"444417366","full_name":"lucifer1004/dioxus-vercel-demo","owner":"lucifer1004","description":"Deploy dioxus-web to Vercel.","archived":false,"fork":false,"pushed_at":"2023-12-15T02:44:53.000Z","size":15,"stargazers_count":27,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T12:56:19.756Z","etag":null,"topics":["dioxus","vercel"],"latest_commit_sha":null,"homepage":"https://dioxus-demo.gabriel-wu.com","language":"Rust","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/lucifer1004.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":"2022-01-04T12:50:52.000Z","updated_at":"2025-03-17T04:01:13.000Z","dependencies_parsed_at":"2024-11-24T11:11:57.301Z","dependency_job_id":"777e9f40-1497-41f5-beef-4b42caff117e","html_url":"https://github.com/lucifer1004/dioxus-vercel-demo","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/lucifer1004%2Fdioxus-vercel-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucifer1004%2Fdioxus-vercel-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucifer1004%2Fdioxus-vercel-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucifer1004%2Fdioxus-vercel-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucifer1004","download_url":"https://codeload.github.com/lucifer1004/dioxus-vercel-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248232636,"owners_count":21069488,"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":["dioxus","vercel"],"created_at":"2024-11-24T11:11:47.517Z","updated_at":"2025-04-10T14:12:31.675Z","avatar_url":"https://github.com/lucifer1004.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dioxus demo\n\nThis demo shows how to use [Dioxus](https://github.com/DioxusLabs/dioxus) to build a static web application and deploy it to Vercel.\n\n## Local development\n\nTo run the demo locally, you would need the Rust toolchain and `trunk` installed.\n\nThen you can simply run:\n\n```bash\ntrunk serve\n```\n\nAnd you can visit the demo at `http://localhost:8080` (or aother port if you have specified some using `trunk serve --port \u003cport\u003e`).\n\n## Build for production\n\nTo build for production, you can simply run:\n\n```bash\ntrunk build --release\n```\n\nThe default output path is `./dist`.\n\n## Deploy to Vercel\n\nTo deploy the application to vercel, you would need to first run `vercel` locally to get the `PROJECT_ID` and `ORG_ID` from the generated `./vercel/project.json` file.\n\nThen you need to set up the following secrets in your GitHub repo:\n\n- `PROJECT_ID`\n- `ORG_ID`\n- `VERCEL_TOKEN`\n\nYou can modify `vercel.json` to specify your alias.\n\nThen you can deploy the application to Vercel via your GitHub workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucifer1004%2Fdioxus-vercel-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucifer1004%2Fdioxus-vercel-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucifer1004%2Fdioxus-vercel-demo/lists"}