{"id":15433656,"url":"https://github.com/aeecleclair/calypsso","last_synced_at":"2025-08-15T22:09:42.610Z","repository":{"id":237634363,"uuid":"794175124","full_name":"aeecleclair/CalypSSO","owner":"aeecleclair","description":"A small and static Next.js frontend for Hyperion's SSO","archived":false,"fork":false,"pushed_at":"2025-04-10T13:51:41.000Z","size":83622,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-10T14:57:15.038Z","etag":null,"topics":["myecl","nextjs","python","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/CalypSSO","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/aeecleclair.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-30T15:45:07.000Z","updated_at":"2024-11-16T16:31:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"21c151b4-700a-4d5b-9311-10e1186114e6","html_url":"https://github.com/aeecleclair/CalypSSO","commit_stats":{"total_commits":119,"total_committers":6,"mean_commits":"19.833333333333332","dds":"0.47058823529411764","last_synced_commit":"9ccf72541b16e60b30e8cc05e7b576895f920655"},"previous_names":["aeecleclair/calypsso"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeecleclair%2FCalypSSO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeecleclair%2FCalypSSO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeecleclair%2FCalypSSO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeecleclair%2FCalypSSO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeecleclair","download_url":"https://codeload.github.com/aeecleclair/CalypSSO/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250663544,"owners_count":21467366,"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":["myecl","nextjs","python","shadcn-ui"],"created_at":"2024-10-01T18:34:55.320Z","updated_at":"2025-08-15T22:09:42.599Z","avatar_url":"https://github.com/aeecleclair.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CalypSSO\n\nNode project build as a Python module for Hyperion.\nCalypSSO is composed of:\n\n- A small and static Next.js frontend for Hyperion\n\n## Next.js development\n\nYou can set Hyperion base url in a dotenv `/web/.env`\n\n```bash\nyarn install\nyarn dev:web\n```\n\n### Pages\n\nThe base url of this project is `/calypsso`.\n\nYou will find:\n\n- http://localhost:3000/calypsso/register\n- http://localhost:3000/calypsso/activate?activation_token=12345\n- http://localhost:3000/calypsso/activate?activation_token=12345\u0026external=true\n- http://localhost:3000/calypsso/recover\n- http://localhost:3000/calypsso/reset-password?reset_token=12345\n- http://localhost:3000/calypsso/login?client_id=Titan\u0026response_type=code\u0026scope=API\u0026redirect_uri=https://localhost:8000/static.html\u0026code_challenge=3sMJwwv1xfZK6yay-HkpseTGMUrmwWx5B9zVAxGfrb0=\u0026code_challenge_method=S256\n- http://localhost:3000/calypsso/change-password/?email=prenom.nom%40etu.ec-lyon.fr\n- http://localhost:3000/calypsso/asset/?path=myeclpay_terms_of_service\n\n## Maizzle emails template\n\nEmail templates are build using [Maizzle](https://maizzle.com/).\n\nTo preview mails during development use:\n\n```bash\nyarn install\nyarn dev:mail\n```\n\nEmail contains escaped template strings:`@{{ variable_name }}` will be rendered by Maizzle as `{{ variable_name }}`. Then the Python module will process these expressions using Jinja2\n\nEmails, layout and components are based on [maizzle base template repository and design](https://github.com/maizzle/maizzle).\n\nYou can set the frontmatter `preheader` of a mail to customize the text preview of the email. See [preview-text](https://maizzle.com/glossary#preview-text)\n\nVariable starting with an underscore (ex: `_logo_url`) will be set globally by CalypSSO Python module.\n\n## Build Python module\n\nFirst you need to compile the Next.js project\n\n```bash\nyarn install\nyarn build\n```\n\nThe build pages will be located in the [/out](./out/) directory. The small Python package sources are located in [/python](./python/).\n\nYou can install it locally in an other python project using\n\n```bash\npip install \"path/to/calypsso\"\n```\n\nTo use it, you need to mount CalypSSO at the subpath `/calypsso`\n\nFor exemple with FastAPI, you could do:\n\n```python\nfrom fastapi import FastAPI\n\n# Define your app\napp = FastAPI(\n    title=\"MyFastAPIApp\",\n)\n# ...\n# Mount CalypSSO app at the subpath /calypsso\ncalypsso = get_calypsso_app()\napp.mount(\"/calypsso\", calypsso)\n```\n\n## Make a release on Pypi\n\nYou **need** to edit CalypSSO version in [python/calypsso/\\_\\_about\\_\\_.py](./python/calypsso/__about__.py).\nThen make a release on GitHub and add a tag. The tag should match `v*.*.*`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeecleclair%2Fcalypsso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeecleclair%2Fcalypsso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeecleclair%2Fcalypsso/lists"}