{"id":13508162,"url":"https://github.com/KazuCocoa/revision_plate_ex","last_synced_at":"2025-03-30T09:33:27.830Z","repository":{"id":57543811,"uuid":"49138998","full_name":"KazuCocoa/revision_plate_ex","owner":"KazuCocoa","description":"Plug application and middleware that serves endpoint returns application's REVISION.","archived":false,"fork":false,"pushed_at":"2018-10-27T13:46:05.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T11:05:11.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/KazuCocoa.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}},"created_at":"2016-01-06T14:10:13.000Z","updated_at":"2025-01-03T14:57:16.000Z","dependencies_parsed_at":"2022-08-27T18:51:57.445Z","dependency_job_id":null,"html_url":"https://github.com/KazuCocoa/revision_plate_ex","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Frevision_plate_ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Frevision_plate_ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Frevision_plate_ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Frevision_plate_ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KazuCocoa","download_url":"https://codeload.github.com/KazuCocoa/revision_plate_ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"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":[],"created_at":"2024-08-01T02:00:49.104Z","updated_at":"2025-03-30T09:33:27.561Z","avatar_url":"https://github.com/KazuCocoa.png","language":"Elixir","funding_links":[],"categories":["Framework Components"],"sub_categories":[],"readme":"[![](https://img.shields.io/hexpm/v/revision_plate_ex.svg?style=flat)](https://hex.pm/packages/revision_plate_ex)\n[![Build Status](https://travis-ci.org/KazuCocoa/revision_plate_ex.svg?branch=support_over_elixir_13)](https://travis-ci.org/KazuCocoa/revision_plate_ex)\n\n# RevisionPlateEx\n\nPlug application and middleware that serves endpoint returns application's REVISION.\n\nSee also [revision_plate](https://github.com/sorah/revision_plate) which is implemented with Ruby.\n\nDocument is [here](http://hexdocs.pm/revision_plate_ex/api-reference.html).\n\n## Requirement\n\nElixir ~\u003e 1.4\n\n## Quick use as standalone server\n\n  1. Add revision_plate_ex to your list of dependencies in `mix.exs`:\n  ```elixir\n        def deps do\n          [{:revision_plate_ex, \"~\u003e 0.4.1\"}]\n        end\n  ```\n\n  2. Ensure revision_plate_ex is started before your application:\n  ```elixir\n        def application do\n          [applications: [:revision_plate_ex]]\n        end\n  ```\n\n  3. Create `REVISION` file in root path.\n  4. Start application\n  5. Access to `http://localhost:4000/hello/revision` via browser, then the server return binary written in `REVISION`\n\n## Use with Phoenix\n\nRead document associated with `RevisionPlateEx.Hello.revision/1`\n\n## Configurations\n\nCan use two configurations.\n\n```elixir\nuse Mix.Config\n\nconfig :revision_plate_ex,\n  http_port: 8000,         # Used only standalone mode. Default is `4000`.\n  file_path: \"REVISION\"    # Used anyone would like to customize path to revision file. Default is \"REVISION\".\n```\n\n# LICENSE\nMIT. Read LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKazuCocoa%2Frevision_plate_ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKazuCocoa%2Frevision_plate_ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKazuCocoa%2Frevision_plate_ex/lists"}