{"id":14959270,"url":"https://github.com/pyrrolizin/astro-api-request","last_synced_at":"2026-01-19T09:02:26.032Z","repository":{"id":61160271,"uuid":"531918796","full_name":"pyrrolizin/astro-api-request","owner":"pyrrolizin","description":"Starting platform for a Astro project that pulls data from an external API and caches the result. (includes responsive template with Bootstrap)","archived":false,"fork":false,"pushed_at":"2022-10-11T10:46:18.000Z","size":223,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T16:52:32.516Z","etag":null,"topics":["api","astro","astro-build","cache","memory-cache","openweathermap-api"],"latest_commit_sha":null,"homepage":"","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyrrolizin.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}},"created_at":"2022-09-02T12:35:05.000Z","updated_at":"2022-10-10T10:50:05.000Z","dependencies_parsed_at":"2022-10-12T15:06:42.456Z","dependency_job_id":null,"html_url":"https://github.com/pyrrolizin/astro-api-request","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyrrolizin/astro-api-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fastro-api-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fastro-api-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fastro-api-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fastro-api-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrrolizin","download_url":"https://codeload.github.com/pyrrolizin/astro-api-request/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fastro-api-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"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":["api","astro","astro-build","cache","memory-cache","openweathermap-api"],"created_at":"2024-09-24T13:19:18.230Z","updated_at":"2026-01-19T09:02:26.013Z","avatar_url":"https://github.com/pyrrolizin.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to Astro-api-request 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-0.1-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003ca href=\"https://github.com/pyrrolizin/astro-api-request/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-green.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003eThis project is a starting platform for a Astro project that pulls data from an external API and caches the result. \n\u003eThe project includes a responsive Bootstrap template.\n\n## 🏠 [Homepage](https://github.com/pyrrolizin/astro-api-request)\n\n## ✨ Demo (OpenWeatherMap-Api - Current weather in Stuttgart, Germany)\n\ntbd\n\n![screenshot of the demo application](screenshot.png)\n\n## Prerequisit\n\n* Node.js \u003e= 16\n* npm\n\n## Install\n\n```sh\nnpm i\n```\n\n### Environment varaibles\n\nYou can set the following environment variables:\n\n| NAME        |  *required*  |  Comment  |\n| ----------- | ------------ | --------- |\n| `API_KEY`   | **yes**      |  You can get your own free OpenWeatherApi key on this website: https://home.openweathermap.org/users/sign_up  |\n\nYou can either set the environment variables or use the `.env` file:\nMake your own copy of the `.env` file and specify the `.env` and add the keys. \n\n```sh\ncp ./.env_default ./.env\n```\n\nLearn more about the OpenWeatherMap API: https://openweathermap.org/api\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## 🚀 Project Structure\n\nInside of your Astro project, you'll see the following folders and files:\n\n```\n/\n├── public/\n│   └── favicon.svg\n├── src/\n│   ├── components/\n│   │   └── Card.astro\n│   ├── layouts/\n│   │   └── Layout.astro\n│   └── pages/\n│       └── index.astro\n└── package.json\n```\n\nAstro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.\n\nThere's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.\n\nAny static assets, like images, can be placed in the `public/` directory.\n\n## 🧞 Commands\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command                | Action                                             |\n| :--------------------- | :------------------------------------------------- |\n| `npm install`          | Installs dependencies                              |\n| `npm run dev`          | Starts local dev server at `localhost:3000`        |\n| `npm run build`        | Build your production site to `./dist/`            |\n| `npm run preview`      | Preview your build locally, before deploying       |\n| `npm run astro ...`    | Run CLI commands like `astro add`, `astro preview` |\n| `npm run astro --help` | Get help using the Astro CLI                       |\n\n## 👀 Want to learn more about astro?\n\nFeel free to check [the astro documentation](https://docs.astro.build).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrrolizin%2Fastro-api-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyrrolizin%2Fastro-api-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrrolizin%2Fastro-api-request/lists"}