{"id":16824435,"url":"https://github.com/sambhav/cookies","last_synced_at":"2025-03-23T15:31:32.190Z","repository":{"id":38182040,"uuid":"277653801","full_name":"sambhav/CookieS","owner":"sambhav","description":"Cookiecutter as a Service","archived":false,"fork":false,"pushed_at":"2022-12-08T11:30:43.000Z","size":381,"stargazers_count":21,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T21:52:27.898Z","etag":null,"topics":["cookiecutter","service","ui","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambhav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-06T21:36:13.000Z","updated_at":"2024-10-26T18:02:53.000Z","dependencies_parsed_at":"2023-01-25T05:31:23.381Z","dependency_job_id":null,"html_url":"https://github.com/sambhav/CookieS","commit_stats":null,"previous_names":["sambhav/cookies"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2FCookieS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2FCookieS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2FCookieS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2FCookieS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambhav","download_url":"https://codeload.github.com/sambhav/CookieS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122821,"owners_count":20564381,"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":["cookiecutter","service","ui","web"],"created_at":"2024-10-13T11:11:00.480Z","updated_at":"2025-03-23T15:31:31.314Z","avatar_url":"https://github.com/sambhav.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![image](https://user-images.githubusercontent.com/16130816/87261930-09725f00-c4b0-11ea-986b-fef3a4d1b529.png) CookieS ![image](https://user-images.githubusercontent.com/16130816/87261894-e3e55580-c4af-11ea-9d60-49dee1b35b21.png)\n\n\nCookieS is a Cookiecutter as a Service platform. It can dynamically generate forms mirroring the inputs required for the cookiecutter creation and finally create a Github repository with the output. It also supports default values\nfor cookiecutters based on user specified organizations.\n\n# Demo\nHere is a demo of the web UI with the pypackage cookiecutter. Notice how it loaded the defaults from the .github repository\nof the user-specified org.\n\n![cookiecutter-demo](https://user-images.githubusercontent.com/16130816/87864056-13d2a400-c95b-11ea-9452-9bc64f3d3a1a.gif)\n\n## Server Docs\n\n### Development setup\n\n1. Install [poetry.](https://python-poetry.org/docs/)\n2. Change the directory to `server` and run the following commands.\n3. Run `poetry env use python3.7` in this directory.\n4. Run `poetry install`\n5. Start the server with `uvicorn server.api:app --reload`\n\n### Server documentation\n\nYou can view the documentation and play with the auto-generated\nswagger UI at - `http://localhost:8000/docs`\n\n### User configuration variables\n\nCookieS back-end is configured via environment variables. The configurable options are -\n\n```python\n# USER CONFIG\n# Github API host name. Useful for GHE usage.\nWEB_CC_GITHUB_HOST_NAME\n# Github base url. Useful for GHE usage.\nWEB_CC_GITHUB_BASE_URL\n# See https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/\n# On how to create an OAuth app\n# Github OAuth App Client ID.\nWEB_CC_OAUTH_CLIENT_ID\n# Github OAuth App Client Secret.\nWEB_CC_OAUTH_CLIENT_SECRET\n# A secret key generated via Fernet.generate_key().decode()\n# Please replace the default one below to ensure that the\n# tokens are passed securely between the frontend and the\n# backend.\nWEB_CC_APP_KEY\n```\n\n## Client Docs\n\nIn the project directory, you can run:\n\n#### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n#### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n#### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n#### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n---\n\nIcon made by Freepik from www.flaticon.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambhav%2Fcookies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambhav%2Fcookies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambhav%2Fcookies/lists"}