{"id":21500725,"url":"https://github.com/lost22git/test_happyx","last_synced_at":"2025-03-17T13:18:39.223Z","repository":{"id":192427967,"uuid":"686704121","full_name":"lost22git/test_happyx","owner":"lost22git","description":"test happyx","archived":false,"fork":false,"pushed_at":"2023-10-06T20:03:22.000Z","size":595,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T22:46:40.505Z","etag":null,"topics":["debby","docker","docker-compose","happyx","jsony","mapster","nim","sqlite3","static-linking","zig-cc"],"latest_commit_sha":null,"homepage":"","language":"Nim","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/lost22git.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}},"created_at":"2023-09-03T17:14:06.000Z","updated_at":"2023-10-05T01:00:08.000Z","dependencies_parsed_at":"2023-10-05T04:43:58.968Z","dependency_job_id":null,"html_url":"https://github.com/lost22git/test_happyx","commit_stats":null,"previous_names":["lost22git/test_happyx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lost22git%2Ftest_happyx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lost22git%2Ftest_happyx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lost22git%2Ftest_happyx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lost22git%2Ftest_happyx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lost22git","download_url":"https://codeload.github.com/lost22git/test_happyx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244039231,"owners_count":20387835,"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":["debby","docker","docker-compose","happyx","jsony","mapster","nim","sqlite3","static-linking","zig-cc"],"created_at":"2024-11-23T17:43:40.887Z","updated_at":"2025-03-17T13:18:39.201Z","avatar_url":"https://github.com/lost22git.png","language":"Nim","readme":"# test-happyx\n\nan example of happyx\n\n- sqlite\n- static linking\n- docker multi-stage build\n\n## Installation\n\nTODO: Write installation instructions here\n\n## Usage\n\n### zig cc\n\n- write a shell script and copy to /usr/local/bin\n\nzigcc content\n\n```shell\n#!/usr/bin/env bash\n\nzig cc $@\n\n```\n\n```shell\ncp zigcc /usr/local/bin\n```\n\n- build app with zigcc\n\n```shell\nnimble zigcc\n\n```\n\n- run app\n\n```shell\n./bin/test_happyx_release_zigcc\n```\n\n### Docker\n\n- build docker image `test-happyx`\n\n```shell\ndocker build -t test-happyx --build-arg http_proxy=$HTTP_PROXY  .\n```\n\n- create docker network `mnet`\n\n```shell\ndocker network create -o com.docker.network.bridge.name=mnet mnet\n```\n\n- run docker container `test-happyx` in network `mnet`\n\n```shell\ndocker run -dit --name test-happyx --net mnet -p 5000:5000/tcp test-happyx\n```\n\n### Docker compose\n\n```shell\ndocker compose up -d\n```\n\n## Development\n\nTODO: Write development instructions here\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/lost22git/test_happyx/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [lost22git](https://github.com/lost22git) - creator and maintainer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flost22git%2Ftest_happyx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flost22git%2Ftest_happyx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flost22git%2Ftest_happyx/lists"}