{"id":15489278,"url":"https://github.com/ikeikeikeike/apicube","last_synced_at":"2026-05-15T18:02:10.239Z","repository":{"id":66353178,"uuid":"171000854","full_name":"ikeikeikeike/apicube","owner":"ikeikeikeike","description":"A endpoint is requested by any retriever.","archived":false,"fork":false,"pushed_at":"2019-02-28T02:19:39.000Z","size":497,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-10T18:50:34.093Z","etag":null,"topics":["go","grpc"],"latest_commit_sha":null,"homepage":"https://github.com/ikeikeikeike/apicube","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ikeikeikeike.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}},"created_at":"2019-02-16T12:21:35.000Z","updated_at":"2024-06-19T11:12:36.709Z","dependencies_parsed_at":"2023-03-10T23:53:32.794Z","dependency_job_id":null,"html_url":"https://github.com/ikeikeikeike/apicube","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fapicube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fapicube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fapicube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fapicube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikeikeikeike","download_url":"https://codeload.github.com/ikeikeikeike/apicube/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246059336,"owners_count":20717085,"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":["go","grpc"],"created_at":"2024-10-02T07:04:46.225Z","updated_at":"2026-05-15T18:02:05.199Z","avatar_url":"https://github.com/ikeikeikeike.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"apicube\n========\n\n[![GoDoc](https://godoc.org/github.com/ikeikeikeike/apicube?status.svg)](https://godoc.org/github.com/ikeikeikeike/apicube)\n[![Build Status](https://api.travis-ci.org/ikeikeikeike/apicube.svg?branch=master)](https://travis-ci.org/ikeikeikeike/apicube)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ikeikeikeike/apicube)](https://goreportcard.com/report/github.com/ikeikeikeike/apicube)\n\n\nInstall Packages([dep](https://github.com/golang/dep))\n\n```php\n$ make install deps\n```\n\nProtocol generation.\n\n```php\n$ make protocol\n$ make deps  # I think need this cmd when you are going to install with beginning after \"make protocol\"\n```\n\n## Dependencies Library\n\n\n**protoc@3.6+**\n\n ```php\n$ brew install protobuf\n```\n\n## Model migration(Optional)\n\n```php\n$ make modelgen\n```\n\nElasticsearch migration\n\n```php\n$ make reindex\n```\n\n## Development\n\nBuild packages and Run server\n\n```php\n$ make runner  # Auto build when file is edited\n\n$ export GRPC_TRACE=all\n$ export GRPC_VERBOSITY=DEBUG\n$ export GRPC_GO_LOG_VERBOSITY_LEVEL=2\n$ export GRPC_GO_LOG_SEVERITY_LEVEL=info\n$ export APICUBE_ESURL=http://127.0.0.1:9200\n$ (cd ./rpc \u0026\u0026 make run)\n```\n\n## Road to the Goish\n\nThis is completely Goish code if resolved all of errors.\n\n```php\n$ make check\n$ make check-completely\n```\n\n## Environment Variables\n\nFrequency used below\n\n| Key | Default Value | Description |\n|:-----------|:------------|:------------|\n| APICUBE_URI | grpc://0.0.0.0:50001 | APICube server: this var is set grpc server's host and port, which means the same as FQDN |\n| APICUBE_GWURI | http://0.0.0.0:50000 | APICube server: this var is set grpc gateway server's host and port, which means the same as FQDN |\n| APICUBE_RDBURI | redis://127.0.0.1:6379/10 | Redis: this var is set server host and port with db number, that's like DSN |\n| APICUBE_DLMURI | redis://127.0.0.1:6379/9 | Redis: DLMURI is set distributed lock server host and port with db number, that's like DSN |\n| APICUBE_ESURL | http://127.0.0.1:9200 | Elasticsearch: this means is the same as APICUBE_URI |\n| APICUBE_FURI | file://./storage/data.flac | Storage folder: this var is set s3 or file uri |\n| APICUBE_DSN | root:@tcp(127.0.0.1:3306)/apicube?parseTime=true | MySQL: Data source name |\n| APICUBE_MODE | development | Defines project environment mode: development,staging,production |\n| GOOGLE_APPLICATION_CREDENTIALS | None | Google API Credentials Json e.g. apicube-fca6752be359.json |\n\nsee [base/util/env.go](base/util/env.go)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikeikeikeike%2Fapicube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikeikeikeike%2Fapicube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikeikeikeike%2Fapicube/lists"}