{"id":30615668,"url":"https://github.com/justanotherbyte/python-ssr-autumn-template","last_synced_at":"2026-02-11T18:34:07.380Z","repository":{"id":301569595,"uuid":"1009671948","full_name":"justanotherbyte/python-ssr-autumn-template","owner":"justanotherbyte","description":"Python SSR template for Autumn.","archived":false,"fork":false,"pushed_at":"2025-06-27T14:46:29.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T15:35:12.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/justanotherbyte.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,"zenodo":null}},"created_at":"2025-06-27T14:12:36.000Z","updated_at":"2025-06-27T14:46:33.000Z","dependencies_parsed_at":"2025-06-27T15:36:29.671Z","dependency_job_id":"caa81fd1-60d5-494e-ace5-4f214f2e57c1","html_url":"https://github.com/justanotherbyte/python-ssr-autumn-template","commit_stats":null,"previous_names":["justanotherbyte/python-ssr-autumn-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/justanotherbyte/python-ssr-autumn-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fpython-ssr-autumn-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fpython-ssr-autumn-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fpython-ssr-autumn-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fpython-ssr-autumn-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justanotherbyte","download_url":"https://codeload.github.com/justanotherbyte/python-ssr-autumn-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fpython-ssr-autumn-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272821200,"owners_count":24998599,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-30T08:06:29.255Z","updated_at":"2026-02-11T18:34:02.358Z","avatar_url":"https://github.com/justanotherbyte.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python SSR Autumn Starter Template\n\n[Autumn](https://useautumn.com) is an open-source layer between Stripe and your application, allowing you to create any pricing model and embed it with a few lines of code.\n\nThis template demonstrates how you can set up pricing for a simple AI chatbot application using a Python Backend.\n\nView the example app here: https://nextjs-autumn-template.vercel.app/\n\n## Getting Started\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/justanotherbyte/python-ssr-autumn-template.git\n\n# install dependencies\nuv add . --dev\n```\n\n\u003e [!NOTE]\n\u003e Python 3.9+ is required.\n\n2. Create an account at [app.useautumn.com](https://app.useautumn.com)\n\n3. Get your Autumn secret key from the [sandbox environment](https://app.useautumn.com/sandbox/dev) and add it to your environment variables:\n\n```bash\nexport AUTUMN_SECRET_KEY=am_sk_test_OAFUOL0meFCjpMMmFeU13gHnrEOGAHWp2YTLECyY7k\n```\n*or add it to a `.env` file.*\n\n1. Connect your Stripe account in the [integrations page](https://app.useautumn.com/sandbox/integrations/stripe)\n\n2. Run the backend server:\n\n```bash\nuv run --env-file=.env uvicorn app:app --port 8000\n```\n\n## Understanding the Implementation\n\nThis template implements a simple AI chat message app where users can:\n\n- Send messages (with usage limits)\n- Upgrade to a pro or ultra plan\n- View their usage and subscription details\n\n\u003c!-- ### Additional Features\n\nThe template also includes `getOrCreateCustomer` to fetch customer details, entitlements, and subscription status, which is used in the customer details card in the UI:\n\n```typescript\nconst customer = await getOrCreateCustomer(CUSTOMER_ID);\n// Returns: customer details, product subscriptions, and feature entitlements\n``` --\u003e\n\n## Learn More\n\n- [Autumn Documentation](https://docs.useautumn.com)\n- [React Router Documentation](https://reactrouter.com/docs)\n- [Autumn JS](https://github.com/useautumn/autumn-js)\n- [Autumn Py](https://github.com/useautumn/autumn-py)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustanotherbyte%2Fpython-ssr-autumn-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustanotherbyte%2Fpython-ssr-autumn-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustanotherbyte%2Fpython-ssr-autumn-template/lists"}