{"id":19272277,"url":"https://github.com/sdslabs/nymeria","last_synced_at":"2025-02-23T20:26:23.543Z","repository":{"id":164231602,"uuid":"506762701","full_name":"sdslabs/nymeria","owner":"sdslabs","description":"Complete reimplementation of `Login` in Go using ory.sh in our applications.","archived":false,"fork":false,"pushed_at":"2025-02-03T17:42:07.000Z","size":370,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-02-03T18:44:56.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/sdslabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-06-23T19:14:27.000Z","updated_at":"2025-01-01T10:57:28.000Z","dependencies_parsed_at":"2023-12-28T22:34:12.674Z","dependency_job_id":"9f40ef5b-ff68-40a3-ab6f-fd333e0a91ba","html_url":"https://github.com/sdslabs/nymeria","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/sdslabs%2Fnymeria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdslabs%2Fnymeria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdslabs%2Fnymeria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdslabs%2Fnymeria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdslabs","download_url":"https://codeload.github.com/sdslabs/nymeria/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240374025,"owners_count":19791330,"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-09T20:36:05.812Z","updated_at":"2025-02-23T20:26:23.514Z","avatar_url":"https://github.com/sdslabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nymeria (accounts-v2)\n\nComplete reimplementation of `Login` in Go using ory.sh in our applications.\n\n# Getting Started\n## To setup Nymeria\nClone the repository\n\n```sh\n git clone git@github.com:sdslabs/nymeria.git\n```\n\nEnter the directory and download the vendor files\n\n```sh\n cd nymeria/\n make vendor\n```\n\nCopy the contents of `config.sample.yaml` to `config.yaml`\n\n```sh\ncp config.sample.yaml config.yaml\n```\n\nBuild the binary using the command.\n\n```sh\n make build\n```\n\nRun the binary using the command\n\n```sh\n make run\n```\n\nTo perform lint and formatting of the code, install golangci-lint using the command\n\n```sh\n make install-golangci-lint\n```\n\nTo lint the code, run the command\n\n```sh\n make lint\n```\n\nTo format the code, run the command\n\n```sh\n make format\n```\n\nAdd new packages to the repository using the command\n\n```sh\n go get -u \u003cpackage_path\u003e\n```\n\nHot reloading support\n- run the following command to install `air` (hot reload support)\n\n```sh\n make install-air\n```\n\n- run the following command to run nymeria with `air` (hot reload support)\n\n```sh\n make dev\n```\n\n## To setup Ory Kratos\n\nClone the ory/kratos repository \n\n```sh\n git clone https://github.com/ory/kratos.git\n```\n\nEnter the Kratos directory and  Change the Kratos Version to v0.10.0\n\n```sh\n cd kratos\n git checkout v1.3.1\n```\n\nDownload the dependencies\n\n```sh\n go mod download\n go install -tags sqlite,json1,hsm .\n```\n\nAdd the kratos binary to your Path\n\n```sh\n $(go env GOPATH)/bin/kratos help\n```\n\nCopy the Kratos config file and identity schema from nymeria\n\n```sh\n cp ../nymeria/config/kratos_config.yaml ./contrib/quickstart/kratos/email-password/kratos.yml\n cp ../nymeria/config/identity.schema.json ./contrib/quickstart/kratos/email-password/identity.schema.json\n```\n\nRun the following command to use Kratos in containerized form\n\n```sh\n docker compose -f quickstart.yml -f quickstart-standalone.yml -f quickstart-postgres.yml up --build --force-recreate\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdslabs%2Fnymeria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdslabs%2Fnymeria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdslabs%2Fnymeria/lists"}