{"id":13708040,"url":"https://github.com/different-ai/basel","last_synced_at":"2025-04-25T20:12:54.728Z","repository":{"id":192928517,"uuid":"687750040","full_name":"different-ai/basel","owner":"different-ai","description":"OpenAI spec generator powered by AI","archived":false,"fork":false,"pushed_at":"2023-09-06T00:30:18.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-25T20:12:48.804Z","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/different-ai.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}},"created_at":"2023-09-05T23:49:46.000Z","updated_at":"2024-09-10T04:40:39.000Z","dependencies_parsed_at":"2023-09-06T01:37:45.734Z","dependency_job_id":null,"html_url":"https://github.com/different-ai/basel","commit_stats":null,"previous_names":["different-ai/basel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fbasel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fbasel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fbasel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fbasel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/different-ai","download_url":"https://codeload.github.com/different-ai/basel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250887512,"owners_count":21503033,"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-08-02T22:01:54.010Z","updated_at":"2025-04-25T20:12:54.700Z","avatar_url":"https://github.com/different-ai.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Basel\n\nBasel is a tool designed to help developers avoid writing OpenAPI specifications from scratch. It leverages the power of AI to generate and validate OpenAPI 3.0 schemas for your API endpoints.\nInstallation\n\nYou can install Basel using npm:\n`npm i basel-sdk`\n\n## Usage\n\nHere is an example of how to use Basel:\n\n`basel --root ./ --include api --exclude node_modules`\n\nThis command will generate an OpenAPI specification for all files in the api directory (excluding any in the node_modules directory), and write the specification to a file named spec.yaml.\n\nBasel can be used in two ways:\n\n1. By using the Basel API, which requires a `BASEL_API_KEY` and optionally a BASEL_API_URL.\n2. By using the client-side API, which requires an `ANTHROPIC_API_KEY`.\n\nYou can provide either a `BASEL_API_KEY` or an `ANTHROPIC_API_KEY`, but not both.\n\n### Basel API\n\nIf you have a `BASEL_API_KEY`, Basel will use the Basel API to generate and validate your OpenAPI specifications. If you also have a `BASEL_API_URL`, Basel will use this URL as the base URL for the Basel API.\n\n### Client-side API\n\nIf you have an `ANTHROPIC_API_KEY`, Basel will use the client-side API to generate and validate your OpenAPI specifications.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request.\n\n## License\n\nBasel is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifferent-ai%2Fbasel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdifferent-ai%2Fbasel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifferent-ai%2Fbasel/lists"}