- Notifications
You must be signed in to change notification settings - Fork0
The easiest way to get started generating an SDK with Fern! Supported languages: TypeScript, Python, Go, Java, C#, PHP, Ruby
fern-api/sdk-starter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Get inspired by SDKs built with Fern:Merge |Square |ElevenLabs |Flatfile |
- Node 18 or higher
- AGitHub account
- TheFern GitHub App installed
- Click on theUse this template button (found at the top right of this page). You must be logged into GitHub.
- Choose the option tocreate a new repository. Name it whatever you'd like.
- Clone your newly created repository and open it in your favorite code editor (e.g., VS Code).
- Open
fern.config.jsonand update theorganizationfield with your organization name.
{"organization":"your-organization-name","version":"0.65.32"}- Install the Fern CLI globally:
npm install -g fern-api
- Log in to Fern:
fern login
The repository comes pre-configured for TypeScript and Python SDK generation ingenerators.yml. You'll need to:
- Create a GitHub repository for each SDK you want to generate
- Install theFern GitHub App in your target repository.
- Uncomment and update the GitHub section in
generators.ymlwith your repository information:
# For Python SDKgithub:repository:your-org/your-python-sdk-repo# For TypeScript SDKgithub:repository:your-org/your-typescript-sdk-repo
To generate and publish your SDKs:
fern generate --group python-sdk
AND
fern generate --group ts-sdk
The generated SDKs will be:
- Committed to your specified GitHub repositories
- Published to npm (TypeScript) and PyPI (Python) if configured
- Version-controlled using semantic versioning
The starter comes with some pre-configured options ingenerators.yml:
You can modify these configurations or add additional options by editinggenerators.yml.
Need help?Set up a call with an expert or email us atsupport@buildwithfern.com.
About
The easiest way to get started generating an SDK with Fern! Supported languages: TypeScript, Python, Go, Java, C#, PHP, Ruby
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors8
Uh oh!
There was an error while loading.Please reload this page.