{"id":23754150,"url":"https://github.com/ellie-sleightholm/vercel-rust","last_synced_at":"2025-09-10T14:41:57.080Z","repository":{"id":224371601,"uuid":"763103666","full_name":"ellie-sleightholm/vercel-rust","owner":"ellie-sleightholm","description":"This project is a Rust API deployed on Vercel. It is designed for users to build Rust code which can then be called using POST requests. This repository is an easy to use Rust-Vercel API that can be amended for your own requirements.","archived":false,"fork":false,"pushed_at":"2024-03-13T21:05:57.000Z","size":35,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T21:34:29.629Z","etag":null,"topics":["api","rust","rust-lang","rust-vercel","vercel","vercel-deployment","vercel-rust","vercel-rust-runtime"],"latest_commit_sha":null,"homepage":"https://vercel-rust-two.vercel.app","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/ellie-sleightholm.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":"2024-02-25T15:14:15.000Z","updated_at":"2024-10-24T07:16:00.000Z","dependencies_parsed_at":"2024-03-03T23:29:04.863Z","dependency_job_id":"502010f2-6d61-4606-8367-7a0e07781df0","html_url":"https://github.com/ellie-sleightholm/vercel-rust","commit_stats":null,"previous_names":["ellie-sleightholm/vercel-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ellie-sleightholm/vercel-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellie-sleightholm%2Fvercel-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellie-sleightholm%2Fvercel-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellie-sleightholm%2Fvercel-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellie-sleightholm%2Fvercel-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ellie-sleightholm","download_url":"https://codeload.github.com/ellie-sleightholm/vercel-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellie-sleightholm%2Fvercel-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273702215,"owners_count":25152849,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","rust","rust-lang","rust-vercel","vercel","vercel-deployment","vercel-rust","vercel-rust-runtime"],"created_at":"2024-12-31T18:51:56.829Z","updated_at":"2025-09-05T02:32:46.416Z","avatar_url":"https://github.com/ellie-sleightholm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Vercel API\n\n## Introduction\nThis project is a Rust API deployed on Vercel. It is designed for users to build Rust code which can then be called using POST requests. This repository is an easy to use Rust-Vercel API that can be amended for your own requirements.\n\n## Example \nThere are 3 API calls in the repository and they are outlined below:\n\n1) A basic indexing call:\n    ```http\n    POST https://vercel-rust-two.vercel.app/api/user/[1]\n    Content-Type: application/json\n\n    {}\n    ```\n\n    This returns the number received at the end of the url. In this case we have `1`.\n    ```bash\n    [\n    1\n    ]\n    ```\n\n2) A random planet generator.\n    ```http\n    POST https://vercel-rust-two.vercel.app/api/simple\n    Content-Type: application/json\n\n    {}\n    ```\n    This returns a randomly generated planet in our Solar System.\n    ```bash\n    {\n        \"message\": \"I choose the planet, Earth!\"\n    }\n    ```\n\n3) A random planet generator with a specified input.\n    ```http\n    POST https://vercel-rust-two.vercel.app/api/complex\n    Content-Type: application/json\n\n    {\n        \"name\": \"Ellie\"\n    }\n    ```\n    This returns a randomly generated planet in our Solar System.\n    ```bash\n    {\n        \"message\": \"Ellie says: I choose the planet, Uranus!\"\n    }\n    ```\n\n## Using this Rust API for Your Own Projects\nThis repository can be cloned and used for your own personal projects. To clone the repository:\n```bash\ngit clone https://github.com/ellie-sleightholm/vercel-rust.git\n```\n\nOnce cloned, you can use the contents of this repository in your own personal repository. It is important that you have your repository linked to Vercel ready for deployment. Then you're ready to go! Make changes and push to GitHub which will create your own personal URL. You can use this when making POST requests (see [here](request.http).)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellie-sleightholm%2Fvercel-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fellie-sleightholm%2Fvercel-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellie-sleightholm%2Fvercel-rust/lists"}