{"id":30091938,"url":"https://github.com/permitio/permit-erlang","last_synced_at":"2025-10-27T07:16:34.923Z","repository":{"id":103960464,"uuid":"595629071","full_name":"permitio/permit-erlang","owner":"permitio","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-09T11:12:24.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-30T01:06:26.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/permitio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2023-01-31T13:39:43.000Z","updated_at":"2025-01-09T11:12:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d54f109a-b45c-4085-99b3-db5cdd8dcd02","html_url":"https://github.com/permitio/permit-erlang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/permitio/permit-erlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-erlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-erlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-erlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-erlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permitio","download_url":"https://codeload.github.com/permitio/permit-erlang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-erlang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269548490,"owners_count":24436109,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-09T07:54:26.550Z","updated_at":"2025-10-27T07:16:29.873Z","avatar_url":"https://github.com/permitio.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Permit Erlang SDK\n\n## Overview\n\nAn Erlang server stub generated by [OpenAPI Generator](https://openapi-generator.tech) given an OpenAPI spec.\n\nDependency: [Cowboy](https://github.com/ninenines/cowboy)\n\n## Getting started\nUse erlang-server with erlang.mk\n\n\t1, Create an application by using erlang.mk\n\t\t$ mkdir http_server\n\t\t$ cd http_server\n\t\t$ wget https://erlang.mk/erlang.mk\n\t\t$ make -f erlang.mk bootstrap bootstrap-rel\n\t\t$ make run\n\n\t2, Modify the Makefile in the http_server directory to the following to introduce the dependency library:\n\t\tPROJECT = http_server\n\t\tPROJECT_DESCRIPTION = New project\n\t\tPROJECT_VERSION = 0.1.0\n\n\t\tDEPS = cowboy jesse jsx\n\t\tdep_cowboy_commit = 2.5.0\n\t\tdep_jesse_commit = 1.5.2\n\t\tdep_jsx_commit = 2.9.0\n\t\tDEP_PLUGINS = cowboy jesse jsx\n\n\t\tPACKAGES += rfc3339\n\t\tpkg_rfc3339_name = rfc3339\n\t\tpkg_rfc3339_description = an erlang/elixir rfc3339 lib\n\t\tpkg_rfc3339_homepage = https://github.com/talentdeficit/rfc3339\n\t\tpkg_rfc3339_fetch = git\n\t\tpkg_rfc3339_repo = https://github.com/talentdeficit/rfc3339\n\t\tpkg_rfc3339_commit = master\n\n\t\t include erlang.mk\n\n\t3, Generate erlang-server project using openapi-generator\n\t\thttps://github.com/OpenAPITools/openapi-generator#2---getting-started\n\n\t4, Copy erlang-server file to http_server project,Don't forget the 'priv' folder.\n\n\t5, Start in the http_server project:\n\t\t1, Introduce the following line in the http_server_app:start(_Type, _Args) function\n\t\t\topenapi_server:start(http_server, #{ip=\u003e{127,0,0,1}, port=\u003e8080, net_opts=\u003e[]})\n\t\t2, Compilation http_server project\n\t\t\t$ make\n\t\t3, Start erlang virtual machine\n\t\t\t$erl -pa ./deps/cowboy/ebin -pa ./deps/cowlib/ebin -pa ./deps/ranch/ebin -pa ./deps/jsx/ebin -pa ./deps/jesse/ebin -pa ./deps/rfc3339/ebin -pa ./ebin\n\t\t4, Start project\n\t\t\tapplication:ensure_all_started(http_server).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fpermit-erlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermitio%2Fpermit-erlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fpermit-erlang/lists"}