{"id":15668397,"url":"https://github.com/lostkobrakai/minio_server","last_synced_at":"2026-02-28T23:31:08.670Z","repository":{"id":47139705,"uuid":"250568707","full_name":"LostKobrakai/minio_server","owner":"LostKobrakai","description":"Elixir package to manage minio server instances.","archived":false,"fork":false,"pushed_at":"2024-11-20T18:23:52.000Z","size":88,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-01T03:04:56.662Z","etag":null,"topics":["elixir","elixir-lang","minio","minio-server"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LostKobrakai.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,"zenodo":null}},"created_at":"2020-03-27T15:19:20.000Z","updated_at":"2024-11-20T18:23:56.000Z","dependencies_parsed_at":"2024-10-23T09:54:44.678Z","dependency_job_id":"97ed6768-8ea1-48b1-856c-1f3cb5cbd4fb","html_url":"https://github.com/LostKobrakai/minio_server","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.1428571428571429,"last_synced_commit":"f251431197819818f445a910cb9f3d6d551f7570"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LostKobrakai/minio_server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostKobrakai%2Fminio_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostKobrakai%2Fminio_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostKobrakai%2Fminio_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostKobrakai%2Fminio_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LostKobrakai","download_url":"https://codeload.github.com/LostKobrakai/minio_server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostKobrakai%2Fminio_server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265251003,"owners_count":23734840,"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":["elixir","elixir-lang","minio","minio-server"],"created_at":"2024-10-03T14:08:31.411Z","updated_at":"2026-02-28T23:31:08.623Z","avatar_url":"https://github.com/LostKobrakai.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minio Server\n\nElixir wrapper around [Minio](https://min.io/). It starts the minio server alongside\nyour elixir application.\n\n```elixir\n# Config can be used directly with :ex_aws/:ex_aws_s3\ns3_config = [\n  access_key_id: \"minio_key\",\n  secret_access_key: \"minio_secret\",\n  scheme: \"http://\",\n  region: \"local\",\n  host: \"127.0.0.1\",\n  port: 9000,\n  # Minio specific\n  minio_path: \"data\" # Defaults to ./minio in your mix project\n]\n\n# In a supervisor\nchildren = [\n  {MinioServer, s3_config}\n]\n\n# or manually\n{:ok, _} = MinioServer.start_link(s3_config)\n```\n\n## Minio binary\n\nThe minio binary is not included in the package to save on space. But you can\neasily download them using a mix task:\n\n```sh\n# with menu to select arch / version\nmix minio_server.download\n\n# download the latest SERVER binary matching the current machine\nmix minio_server.download --arch auto --version latest\n\n# download the latest SERVER binary for darwin-amd64\nmix minio_server.download --arch darwin-amd64 --version latest\n\n# download the latest CLIENT binary for darwin-amd64\nmix minio_server.download --client --arch darwin-amd64 --version latest\n```\n\n## Minio Versions (dev)\n\nTo simplify updating available versions for client / server binaries, there are following commands available:\n\n```elixir\nMinioServer.Versions.create_versions_file(:client)\nMinioServer.Versions.create_versions_file(:server)\n```\n\n## Livecycle Configuration\n\nMinio does support lifecycle configuration, which I'm using to expire abandoned\nuploads / multipart chunks.\n\n### Example\n\nSetup of a new bucket with `temp/` folder.\n\n```elixir\nconfig = s3()\n\n{:ok, _} =\n  ExAws.S3.put_bucket(\"default\", Keyword.fetch!(config, :region))\n  |\u003e ExAws.request(config)\n\nlivecycle_rules = [\n  %{\n    id: \"temp-folder-cleanup\",\n    enabled: true,\n    filter: %{\n      prefix: \"temp/\"\n    },\n    actions: %{\n      expiration: %{\n        trigger: {:days, 1},\n        expired_object_delete_marker: true\n      },\n      abort_incomplete_multipart_upload: %{\n        trigger: {:days, 1}\n      }\n    }\n  }\n]\n\n{:ok, _} =\n  ExAws.S3.put_bucket_lifecycle(\"default\", livecycle_rules)\n  |\u003e ExAws.request(config)\n```\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `minio_server` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:minio_server, \"~\u003e 0.4.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/minio_server](https://hexdocs.pm/minio_server).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostkobrakai%2Fminio_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostkobrakai%2Fminio_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostkobrakai%2Fminio_server/lists"}