{"id":15651617,"url":"https://github.com/crazy-max/docker-linguist","last_synced_at":"2025-04-14T16:23:51.277Z","repository":{"id":39899471,"uuid":"177553920","full_name":"crazy-max/docker-linguist","owner":"crazy-max","description":"GitHub Linguist Docker image","archived":false,"fork":false,"pushed_at":"2024-06-23T15:22:33.000Z","size":161,"stargazers_count":34,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-18T07:32:44.752Z","etag":null,"topics":["alpine-linux","docker","github","linguist"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/crazy-max.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"crazy-max","custom":"https://www.paypal.me/crazyws"}},"created_at":"2019-03-25T09:22:57.000Z","updated_at":"2024-09-12T19:02:59.000Z","dependencies_parsed_at":"2024-06-23T16:38:09.103Z","dependency_job_id":"288ae20b-9a59-44a3-8510-9382af6bd237","html_url":"https://github.com/crazy-max/docker-linguist","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-linguist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-linguist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-linguist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-linguist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazy-max","download_url":"https://codeload.github.com/crazy-max/docker-linguist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248914806,"owners_count":21182504,"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":["alpine-linux","docker","github","linguist"],"created_at":"2024-10-03T12:39:21.894Z","updated_at":"2025-04-14T16:23:51.254Z","avatar_url":"https://github.com/crazy-max.png","language":"HCL","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/linguist/tags?page=1\u0026ordering=last_updated\"\u003e\u003cimg src=\"https://img.shields.io/github/v/tag/crazy-max/docker-linguist?label=version\u0026style=flat-square\" alt=\"Latest Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/crazy-max/docker-linguist/actions?workflow=build\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/crazy-max/docker-linguist/build.yml?branch=master\u0026?label=build\u0026logo=github\u0026style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/linguist/\"\u003e\u003cimg src=\"https://img.shields.io/docker/stars/crazymax/linguist.svg?style=flat-square\u0026logo=docker\" alt=\"Docker Stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/linguist/\"\u003e\u003cimg src=\"https://img.shields.io/docker/pulls/crazymax/linguist.svg?style=flat-square\u0026logo=docker\" alt=\"Docker Pulls\"\u003e\u003c/a\u003e\n  \u003cbr /\u003e\u003ca href=\"https://github.com/sponsors/crazy-max\"\u003e\u003cimg src=\"https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github\u0026style=flat-square\" alt=\"Become a sponsor\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.paypal.me/crazyws\"\u003e\u003cimg src=\"https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal\u0026style=flat-square\" alt=\"Donate Paypal\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nDocker image to run [GitHub Linguist](https://github.com/github/linguist), a\nlibrary used on GitHub.com to detect blob languages.\n\n\u003e [!TIP] \n\u003e Want to be notified of new releases? Check out 🔔 [Diun (Docker Image Update Notifier)](https://github.com/crazy-max/diun)\n\u003e project!\n\n___\n\n* [Build locally](#build-locally)\n* [Image](#image)\n* [Usage](#usage)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Build locally\n\n```shell\ngit clone https://github.com/crazy-max/docker-linguist.git\ncd docker-linguist\n\n# Build image and output to docker (default)\ndocker buildx bake\n\n# Build multi-platform image\ndocker buildx bake image-all\n```\n\n## Image\n\n| Registry                                                                                         | Image                           |\n|--------------------------------------------------------------------------------------------------|---------------------------------|\n| [Docker Hub](https://hub.docker.com/r/crazymax/linguist/)                                            | `crazymax/linguist`                 |\n| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/linguist)  | `ghcr.io/crazy-max/linguist`        |\n\nFollowing platforms for this image are available:\n\n```\n$ docker buildx imagetools inspect crazymax/linguist --format \"{{json .Manifest}}\" | \\\n  jq -r '.manifests[] | select(.platform.os != null and .platform.os != \"unknown\") | .platform | \"\\(.os)/\\(.architecture)\\(if .variant then \"/\" + .variant else \"\" end)\"'\n\nlinux/386\nlinux/amd64\nlinux/arm/v6\nlinux/arm/v7\nlinux/arm64\nlinux/ppc64le\nlinux/s390x\n```\n\n## Usage\n\nThe entrypoint is **github-linguist** itself:\n\n```\n$ docker run -t --rm crazymax/linguist:latest --help\n  Linguist v7.3.1\n  Detect language type for a file, or, given a repository, determine language breakdown.\n\n  Usage: linguist \u003cpath\u003e\n         linguist \u003cpath\u003e [--breakdown] [--json]\n         linguist [--breakdown] [--json]\n```\n\nExample with [this repository](https://github.com/portapps/portapps) cloned and analyzed by linguist:\n\n```\n$ git clone https://github.com/portapps/portapps.git\n$ docker run -t --rm -v \"$(pwd)/portapps:/repo\" crazymax/linguist:latest\n85.51%  Go\n10.00%  Inno Setup\n4.49%   Shell\n```\n\n## Contributing\n\nWant to contribute? Awesome! The most basic way to show your support is to star\nthe project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)\nor by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this\njourney continues indefinitely!\n\nThanks again for your support, it is much appreciated! :pray:\n\n## License\n\nMIT. See `LICENSE` for more details.\n","funding_links":["https://github.com/sponsors/crazy-max","https://www.paypal.me/crazyws"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fdocker-linguist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazy-max%2Fdocker-linguist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fdocker-linguist/lists"}