{"id":24770520,"url":"https://github.com/open-southeners/mok","last_synced_at":"2025-06-28T17:08:09.171Z","repository":{"id":273787013,"uuid":"920875861","full_name":"open-southeners/mok","owner":"open-southeners","description":"☕️ Mock APIs as files with a NextJS routing directory style","archived":false,"fork":false,"pushed_at":"2025-01-23T01:10:57.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T20:13:07.093Z","etag":null,"topics":["mock-api","mock-api-tool","mock-server","tool"],"latest_commit_sha":null,"homepage":"","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/open-southeners.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-01-22T23:23:23.000Z","updated_at":"2025-01-23T12:15:59.000Z","dependencies_parsed_at":"2025-01-23T00:37:29.235Z","dependency_job_id":null,"html_url":"https://github.com/open-southeners/mok","commit_stats":null,"previous_names":["open-southeners/mok"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/open-southeners/mok","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-southeners%2Fmok","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-southeners%2Fmok/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-southeners%2Fmok/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-southeners%2Fmok/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-southeners","download_url":"https://codeload.github.com/open-southeners/mok/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-southeners%2Fmok/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262465785,"owners_count":23315641,"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":["mock-api","mock-api-tool","mock-server","tool"],"created_at":"2025-01-29T03:47:43.215Z","updated_at":"2025-06-28T17:08:09.152Z","avatar_url":"https://github.com/open-southeners.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mok ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/open-southeners/mok) [![codecov](https://codecov.io/gh/open-southeners/mok/branch/main/graph/badge.svg?token=JGU5oYvMXg)](https://codecov.io/gh/open-southeners/mok) [![Edit on VSCode online](https://img.shields.io/badge/vscode-edit%20online-blue?logo=visualstudiocode)](https://vscode.dev/github/open-southeners/mok)\n===\n\nMock APIs as files with a NextJS routing directory style\n\n## Getting started\n\nDownload the executable from the [latest release](https://github.com/opensoutheners/mok/releases/latest).\n\nRun the following under a folder with some `.json` files:\n\n```sh\nmok\n```\n\nThen you can go to [http://localhost:8080](http://localhost:8080) and check for yourself\n\nYou can specify the address and the port to listen:\n\n```sh\nmok --listen 0.0.0.0 --port 80\n```\n\nOr use a different folder than the current:\n\n```sh\nmok path/to/my/json/files\n```\n\n### Random responses\n\nTo be able to randomise the content of our JSON files we can use all functions from [gofakeit](https://github.com/brianvoe/gofakeit?tab=readme-ov-file#functions) and passed request data.\n\nCheck [example](./example) folder for more info.\n\n## Partners\n\n[![skore logo](https://github.com/open-southeners/partners/raw/main/logos/skore_logo.png)](https://getskore.com)\n\n## License\n\nThis package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-southeners%2Fmok","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-southeners%2Fmok","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-southeners%2Fmok/lists"}