{"id":19335741,"url":"https://github.com/buttercms/flask-cms-blog-example","last_synced_at":"2025-07-02T20:05:42.365Z","repository":{"id":15529427,"uuid":"68218369","full_name":"ButterCMS/flask-cms-blog-example","owner":"ButterCMS","description":"Flask CMS-powered blog example https://buttercms.com/flask-cms","archived":false,"fork":false,"pushed_at":"2023-11-03T16:01:47.000Z","size":24,"stargazers_count":7,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-22T17:41:15.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ButterCMS.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":"2016-09-14T15:28:42.000Z","updated_at":"2023-02-09T19:22:06.000Z","dependencies_parsed_at":"2023-02-17T15:00:59.898Z","dependency_job_id":null,"html_url":"https://github.com/ButterCMS/flask-cms-blog-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fflask-cms-blog-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fflask-cms-blog-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fflask-cms-blog-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButterCMS%2Fflask-cms-blog-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ButterCMS","download_url":"https://codeload.github.com/ButterCMS/flask-cms-blog-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441868,"owners_count":19801791,"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-10T03:08:42.092Z","updated_at":"2025-02-24T07:43:25.565Z","avatar_url":"https://github.com/ButterCMS.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ButterCMS Flask Example\n\n## Important Notice\nThis project was created as an example use case of ButterCMS and Flask and will not be actively maintained. \n\nIf you’re interested in exploring the best, most up-to-date way to integrate Butter into Python Frameworks like Flask, you can check out the following resources:\n\n### Starter Projects\n\nThe following turn-key starters are fully integrated with dynamic sample content from your ButterCMS account, including main menu, pages, blog posts, categories, and tags, all with a beautiful, custom theme with already-implemented search functionality. All of the included sample content is automatically created in your account dashboard when you sign up for a free trial of ButterCMS.\n- [Python Starter](https://buttercms.com/starters/python-starter-project/)\n- [Angular Starter](https://buttercms.com/starters/angular-starter-project/)\n- [React Starter](https://buttercms.com/starters/react-starter-project/)\n- [Vue.js Starter](https://buttercms.com/starters/vuejs-starter-project/)\n- Or see a list of all our [currently-maintained starters](https://buttercms.com/starters/). (Over a dozen and counting!)\n\n### Other Resources\n- Check out the [official ButterCMS Docs](https://buttercms.com/docs/)\n- Check out the [official ButterCMS API docs](https://buttercms.com/docs/api/)\n\n## Documentation\n\nFor a comprehensive list of examples, check out our [documentation](https://buttercms.com/docs/).\n\n## Get Started\n\nThis is a sample flask application that uses ButterCMS to power it's blog. \n\n1. Clone this repository.\n2. `pip install -r requirements.txt`\n3. Update `auth_token = \"YOUR_API_TOKEN\"` in `buttercms/blog_blueprint.py`  (Get a free token by registering on https://buttercms.com/)\n4. `export FLASK_APP=app.py`\n5. `flask run`\n\n## Use on your app\n\nSimply copy the `buttercms` folder into your app and register it as a blueprint:\n\n```\n# In app.py\nfrom flask import Flask\nfrom buttercms.blog_blueprint import blog\n\napp = Flask(__name__)\n\napp.register_blueprint(blog, url_prefix='/blog')\n```\n\nConfigure the API key in `buttercms/blog_blueprint.py` and then go to /blog to see your blog posts on ButterCMS appear in your app. \n\nIt's that easy!\n\n### Other\n\nView Flask [Blog engine](https://buttercms.com/flask-blog-engine/) and [Full CMS](https://buttercms.com/flask-cms/) for other examples of using ButterCMS with Flask.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttercms%2Fflask-cms-blog-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuttercms%2Fflask-cms-blog-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttercms%2Fflask-cms-blog-example/lists"}