{"id":23707025,"url":"https://github.com/in-rich/uservice-subscription","last_synced_at":"2026-04-29T10:34:34.070Z","repository":{"id":269651078,"uuid":"829476976","full_name":"in-rich/uservice-subscription","owner":"in-rich","description":"Manage user subscriptions and tiers-based authorizations.","archived":false,"fork":false,"pushed_at":"2025-02-23T20:37:10.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-30T02:46:29.329Z","etag":null,"topics":["golang","grpc","inrich","server"],"latest_commit_sha":null,"homepage":"","language":"Go","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/in-rich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2024-07-16T14:00:36.000Z","updated_at":"2025-02-23T20:37:10.000Z","dependencies_parsed_at":"2024-12-25T07:27:30.349Z","dependency_job_id":"5965d3a3-14a0-4433-bccc-4786793b9e34","html_url":"https://github.com/in-rich/uservice-subscription","commit_stats":null,"previous_names":["in-rich/uservice-subscription"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/in-rich/uservice-subscription","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in-rich%2Fuservice-subscription","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in-rich%2Fuservice-subscription/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in-rich%2Fuservice-subscription/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in-rich%2Fuservice-subscription/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/in-rich","download_url":"https://codeload.github.com/in-rich/uservice-subscription/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in-rich%2Fuservice-subscription/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["golang","grpc","inrich","server"],"created_at":"2024-12-30T16:02:42.247Z","updated_at":"2026-04-29T10:34:34.051Z","avatar_url":"https://github.com/in-rich.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# U-Service Subscriptions\r\n\r\nManage users subscriptions and tiers-based authorizations\r\n\r\n## Requirements\r\n\r\n- Git: Version control system\r\n  - macOS:\r\n    ```bash\r\n    brew install git\r\n    ```\r\n  - Ubuntu:\r\n    ```bash\r\n    sudo apt install git-all\r\n    ```\r\n  - Windows: Try [Git bash](https://git-scm.com/downloads)\r\n- [Go](https://go.dev/doc/install): The main development language\r\n- (Optional, recommended) [direnv](https://direnv.net/docs/installation.html): environment variable manager\r\n- [Docker](https://www.docker.com/products/docker-desktop/): Run the application locally\r\n- (Optional, recommended) Make: Automated scripts for local development\r\n  - macOS:\r\n    ```bash\r\n    brew install make\r\n    ```\r\n  - Ubuntu:\r\n    ```bash\r\n    sudo apt-get install make\r\n    ```\r\n  - Windows: Install [chocolatey](https://chocolatey.org/install) (from a PowerShell with admin privileges), then run:\r\n    ```bash\r\n    choco install make\r\n    ```\r\n- [Mockery](https://github.com/vektra/mockery): Generates mocks for Go interfaces. Requires Go.\r\n  ```bash\r\n  go install github.com/vektra/mockery/v2@v2.43.2\r\n  ```\r\n- [gotestsum](https://github.com/gotestyourself/gotestsum): Pretty test output. Requires Go.\r\n  ```bash\r\n  go install gotest.tools/gotestsum@latest\r\n  ```\r\n\r\n## Installation\r\n\r\nEnsure you have [SSH configured on GitHub](https://docs.github.com/en/authentication/connecting-to-github-with-ssh)\r\nfor your machine.\r\n\r\nMake sure you are using git in SSH mode.\r\n\r\n```bash\r\ngit config --global url.ssh://git@github.com/.insteadOf https://github.com/\r\n```\r\n\r\nEnsure the `GOPRIVATE` variable is set in your local terminal:\r\n\r\n```bash\r\n# You can skip this step if you have direnv configured.\r\nexport GOPRIVATE=github.com/in-rich/*\r\n```\r\n\r\nInstall the project dependencies:\r\n\r\n```bash\r\ngo mod download\r\n```\r\n\r\nMake sure Docker is running, and available as a command:\r\n\r\n```bash\r\ndocker ps -a\r\n```\r\n\r\n✅ Congrats, you're ready to go!\r\n\r\nCheck your environment:\r\n\r\n```bash\r\ngo version\r\n# go version go1.23rc1 darwin/amd64\r\ndocker -v\r\n# Docker version 24.0.7, build afdd53b\r\nmake -v\r\n# GNU Make 3.81\r\necho $GOPRIVATE\r\n# github.com/in-rich/*\r\n```\r\n\r\n## Usage\r\n\r\nRun the server:\r\n\r\n```bash\r\nmake run\r\n```\r\n\r\nRun tests:\r\n\r\n```bash\r\nmake test\r\n```\r\n\r\n## For Windows Users\r\n\r\nWe recommend using a bash terminal emulator. One such example is [Git bash](https://git-scm.com/downloads).\r\n\r\nYou may also use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).\r\n\r\nIn both cases, make sure the dependencies you install are available under your bash\r\nenvironment. This is automatic for Git Bash, but might require a separate setup\r\nfor WSL.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin-rich%2Fuservice-subscription","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fin-rich%2Fuservice-subscription","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin-rich%2Fuservice-subscription/lists"}