{"id":15892678,"url":"https://github.com/yurijmikhalevich/rtag","last_synced_at":"2025-03-20T12:33:41.452Z","repository":{"id":224664036,"uuid":"759368580","full_name":"yurijmikhalevich/rtag","owner":"yurijmikhalevich","description":"AI-Powered Command-Line Photo Tagging Tool","archived":false,"fork":false,"pushed_at":"2024-04-13T15:12:09.000Z","size":110,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-16T03:15:19.978Z","etag":null,"topics":["artificial-intelligence","computer-vision","image-tagging","photography","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/yurijmikhalevich.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}},"created_at":"2024-02-18T12:02:14.000Z","updated_at":"2024-04-09T04:56:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e65aa2c-b546-4185-b5a6-24ce3e52b386","html_url":"https://github.com/yurijmikhalevich/rtag","commit_stats":null,"previous_names":["yurijmikhalevich/rtag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurijmikhalevich%2Frtag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurijmikhalevich%2Frtag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurijmikhalevich%2Frtag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurijmikhalevich%2Frtag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yurijmikhalevich","download_url":"https://codeload.github.com/yurijmikhalevich/rtag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221763696,"owners_count":16877015,"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":["artificial-intelligence","computer-vision","image-tagging","photography","python"],"created_at":"2024-10-06T08:02:33.260Z","updated_at":"2024-10-28T02:02:30.942Z","avatar_url":"https://github.com/yurijmikhalevich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtag - AI-Powered Command-Line Photo Tagging Tool\n\n### NOTICE: rtag is under active development. Expect bugs and changes.\n\n**rtag** is a command-line photo tagging tool based on [rclip](https://github.com/yurijmikhalevich/rclip) and powered by the awesome OpenAI's [CLIP](https://github.com/openai/CLIP) neural network.\n\n## Usage\n\nWhen run without arguments, **rtag** tags all of the images in the current directory, including\nsubdirectories, with the most relevant tags out of [the imagenet-1k tag list](https://github.com/yurijmikhalevich/rtag/blob/main/rtag/data/imagenet-labels.txt). **rtag** writes the tags to the\nimages' metadata, in a format supported by most photo management software. **rtag** supports JPG\nimages only.\n\n```bash\ncd photos \u0026\u0026 rtag\n```\n\n### How do I use my own tag list?\n\nYou can use your own tag list by providing a path to a file with tags as an argument to **rtag**.\n\n```bash\ncd photos \u0026\u0026 rtag --tags-filepath /path/to/your/tag/list.txt\n```\n\nThe tag list file should contain one tag per line.\n\nYou can also adjust a `--threshold` used to filter out tags with a lower\nconfidence score. Run **rtag** in the `--dry-run` mode to see the confidence\nscores for each tag that passes the threshold.\n\n## Help\n\n```bash\nrtag --help\n```\n\n## Contributing\n\nThis repository follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard.\n\n### Running locally from the source code\n\nTo run **rtag** locally from the source code, you must have [Python](https://www.python.org/downloads/) and [Poetry](https://python-poetry.org/) installed.\n\nThen do:\n```bash\n# clone the source code repository\ngit clone git@github.com:yurijmikhalevich/rtag.git\n\n# install dependencies and rtag\ncd rtag\npoetry install\n\n# activate the new poetry environment\npoetry shell\n```\n\nIf the poetry environment is active, you can use **rtag** locally, as described in the [Usage](#usage) section above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurijmikhalevich%2Frtag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyurijmikhalevich%2Frtag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurijmikhalevich%2Frtag/lists"}