{"id":19528621,"url":"https://github.com/community-of-python/litestar-offline-docs","last_synced_at":"2025-04-26T11:33:16.425Z","repository":{"id":246902352,"uuid":"824644004","full_name":"community-of-python/litestar-offline-docs","owner":"community-of-python","description":"Offline API docs for Litestar","archived":false,"fork":false,"pushed_at":"2025-02-01T09:24:54.000Z","size":1150,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:01:43.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/community-of-python.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-07-05T15:26:55.000Z","updated_at":"2025-02-01T09:24:57.000Z","dependencies_parsed_at":"2024-07-05T20:36:41.626Z","dependency_job_id":"9e08f110-eb3c-4a86-b06c-4b29f00b0673","html_url":"https://github.com/community-of-python/litestar-offline-docs","commit_stats":null,"previous_names":["community-of-python/litestar-offline-docs"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Flitestar-offline-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Flitestar-offline-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Flitestar-offline-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Flitestar-offline-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/community-of-python","download_url":"https://codeload.github.com/community-of-python/litestar-offline-docs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250980729,"owners_count":21517712,"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":[],"created_at":"2024-11-11T01:19:27.166Z","updated_at":"2025-04-26T11:33:15.546Z","avatar_url":"https://github.com/community-of-python.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# litestar-offline-docs\n\nThis package enables \"offline mode\" for FastAPI (in other words lets you avoid loading assets from CDN).\n\n# Installation\n\n```sh\npoetry add litestar-offline-docs\n```\n\n# Usage\n\nJust construct static file handler and add it to Litestar application during initialization:\n\n```python\nimport litestar\n\nfrom litestar_offline_docs import generate_static_files_config\n\napp = litestar.Litestar(\n    static_files_config=[generate_static_files_config()],\n    ...\n)\n```\n\nThat's it. Now, the assets for API docs are served locally, not from CDN.\n\nSee also: [fastapi-offline-docs](https://github.com/community-of-python/fastapi-offline-docs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommunity-of-python%2Flitestar-offline-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommunity-of-python%2Flitestar-offline-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommunity-of-python%2Flitestar-offline-docs/lists"}