{"id":19175959,"url":"https://github.com/astropy/learn-astropy","last_synced_at":"2025-05-07T19:21:20.902Z","repository":{"id":37918875,"uuid":"237122783","full_name":"astropy/learn-astropy","owner":"astropy","description":"The Learn Astropy homepage","archived":false,"fork":false,"pushed_at":"2025-04-23T21:36:23.000Z","size":147890,"stargazers_count":16,"open_issues_count":26,"forks_count":16,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-29T15:21:17.350Z","etag":null,"topics":["algolia","astropy","learn-astropy"],"latest_commit_sha":null,"homepage":"https://learn.astropy.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astropy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"numfocus","custom":"https://numfocus.org/donate-to-astropy"}},"created_at":"2020-01-30T02:14:48.000Z","updated_at":"2025-04-09T10:15:21.000Z","dependencies_parsed_at":"2025-04-20T01:32:17.517Z","dependency_job_id":"af1d91d5-f660-4b24-8cf5-11d468bc521b","html_url":"https://github.com/astropy/learn-astropy","commit_stats":{"total_commits":130,"total_committers":8,"mean_commits":16.25,"dds":0.07692307692307687,"last_synced_commit":"67bbd71fcfbe02bce8a7c5b7b25af669399ea53f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Flearn-astropy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Flearn-astropy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Flearn-astropy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Flearn-astropy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astropy","download_url":"https://codeload.github.com/astropy/learn-astropy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252941387,"owners_count":21828866,"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":["algolia","astropy","learn-astropy"],"created_at":"2024-11-09T10:26:33.490Z","updated_at":"2025-05-07T19:21:20.879Z","avatar_url":"https://github.com/astropy.png","language":"JavaScript","funding_links":["https://github.com/sponsors/numfocus","https://numfocus.org/donate-to-astropy"],"categories":[],"sub_categories":[],"readme":"# Astropy Learn\n\nThis repository hosts the homepage of the Astropy Learn project, https://learn.astropy.org, and serves the content from the [astropy-tutorials](https://github.com/astropy/astropy-tutorials) repository. The site itself is built with [Gatsby](https://www.gatsbyjs.com/) and the [Algolia](https://www.algolia.com) search service. Records for the Algolia database are curated and formatted by the [learn-astropy-librarian](https://github.com/astropy/learn-astropy-librarian) app.\n\n## Developer guide\n\n### Initial set up\n\nCreate a fork on https://github.com/astropy/learn.\n\n```bash\nnpm install\n```\n\n### Run a development server\n\nYou can run a development server that will serve the site and reload as you develop the app:\n\n```bash\nnpm run develop\n```\n\nBy default the app is hosted at http://localhost:8000. You can also interact with the GraphQL data layer by browsing\n\n### Build for production\n\n```bash\nnpm run build\n```\n\nPreview the built site by running:\n\n```bash\nnpm run serve\n```\n\n### Linting and autoformatting\n\nThis app uses ESLint to lint JavaScript, which in turn runs Prettier to format JavaScript. The configuration is based on [wesbos/eslint-config-wesbos](https://github.com/wesbos/eslint-config-wesbos).\n\nA Git pre-commit hooks runs both ESLint and Prettier and automatically lints and reformats code before every commit. These hooks are run by [husky](https://typicode.github.io/husky/#/) and should already be installed when you ran `npm install`.\n\nTo manually lint the code base:\n\n```bash\nnpm run lint\n```\n\nTo also fix issues and format the code base:\n\n```bash\nnpm run lint:fix\n```\n\nIdeally your editor will also apply eslint/prettier on save, though these commands are handy as a fallback.\n\n### About the node version\n\nThis project is intended to be built with a Node.js version that's encoded in the [`.nvmrc`](./.nvmrc) file. To adopt this Node version, we recommend installing and using the [node version manager](https://github.com/nvm-sh/nvm).\n\nThen you can use the preferred node version by running `nvm` from the project root:\n\n```sh\nnvm use\n```\n\n### Additional resources for developers\n\nLearn more about Gatsby:\n\n- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter\u0026utm_medium=readme\u0026utm_campaign=minimal-starter)\n- [Tutorials](https://www.gatsbyjs.com/tutorial/?utm_source=starter\u0026utm_medium=readme\u0026utm_campaign=minimal-starter)\n- [Guides](https://www.gatsbyjs.com/tutorial/?utm_source=starter\u0026utm_medium=readme\u0026utm_campaign=minimal-starter)\n- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter\u0026utm_medium=readme\u0026utm_campaign=minimal-starter)\n- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter\u0026utm_medium=readme\u0026utm_campaign=minimal-starter)\n- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter\u0026utm_medium=readme\u0026utm_campaign=minimal-starter)\n\nLearn more about Algolia:\n\n- [Documentation](https://www.algolia.com/doc/)\n- [React instantsearch](https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropy%2Flearn-astropy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastropy%2Flearn-astropy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropy%2Flearn-astropy/lists"}