{"id":13616912,"url":"https://github.com/jerry-git/thug-memes","last_synced_at":"2025-09-25T14:12:41.625Z","repository":{"id":57475337,"uuid":"125567991","full_name":"jerry-git/thug-memes","owner":"jerry-git","description":"Command line Thug Meme generator written in Python","archived":false,"fork":false,"pushed_at":"2018-09-01T18:08:20.000Z","size":2457,"stargazers_count":219,"open_issues_count":6,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-20T14:07:34.844Z","etag":null,"topics":["dlib","image-processing","meme-driven-development","opencv","python"],"latest_commit_sha":null,"homepage":null,"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/jerry-git.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-16T20:44:48.000Z","updated_at":"2024-12-31T04:06:18.000Z","dependencies_parsed_at":"2022-09-07T13:51:03.581Z","dependency_job_id":null,"html_url":"https://github.com/jerry-git/thug-memes","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/jerry-git/thug-memes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry-git%2Fthug-memes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry-git%2Fthug-memes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry-git%2Fthug-memes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry-git%2Fthug-memes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerry-git","download_url":"https://codeload.github.com/jerry-git/thug-memes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry-git%2Fthug-memes/sbom","scorecard":{"id":516085,"data":{"date":"2025-08-11","repo":{"name":"github.com/jerry-git/thug-memes","commit":"925b1282f7bf60bf0e70f4f0387dd90a8ce91fce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-3448-vrgh-85xr","Warn: Project is vulnerable to: GHSA-83rh-hx5x-q9p5","Warn: Project is vulnerable to: GHSA-8849-5h85-98qw","Warn: Project is vulnerable to: GHSA-89rj-5ggj-3p9p","Warn: Project is vulnerable to: GHSA-9g8h-pjm4-q92p","Warn: Project is vulnerable to: GHSA-fm39-cw8h-3p63","Warn: Project is vulnerable to: GHSA-fw99-f933-rgh8","Warn: Project is vulnerable to: GHSA-hxfw-jm98-v4mq","Warn: Project is vulnerable to: GHSA-jggw-2q6g-c3m6","Warn: Project is vulnerable to: GHSA-m6vm-8g8v-xfjh","Warn: Project is vulnerable to: GHSA-q799-q27x-vp7w","Warn: Project is vulnerable to: GHSA-qr4w-53vh-m672","Warn: Project is vulnerable to: GHSA-x3rm-644h-67m8","Warn: Project is vulnerable to: PYSEC-2023-183"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T01:51:41.050Z","repository_id":57475337,"created_at":"2025-08-20T01:51:41.050Z","updated_at":"2025-08-20T01:51:41.050Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276929648,"owners_count":25730216,"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-09-25T02:00:09.612Z","response_time":80,"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":["dlib","image-processing","meme-driven-development","opencv","python"],"created_at":"2024-08-01T20:01:34.709Z","updated_at":"2025-09-25T14:12:41.575Z","avatar_url":"https://github.com/jerry-git.png","language":"Python","readme":"Thug Memes\n==========\n|build|\n|pypi|\n|python_versions|\n|codecov|\n\nCommand line Thug Meme generator written in Python.\n\nInstallation\n------------\n\nRequirements\n^^^^^^^^^^^^\n - Python 3.4+\n\n.. code:: bash\n\n    pip3 install thug-memes\n\nThis installs the core version which supports `opencv \u003chttps://pypi.python.org/pypi/opencv-python\u003e`__ haarcascade based detector. If you are serious with your thug memes (like you definitely should), there is also support for \n`dlib \u003chttp://dlib.net/\u003e`__ based detector which, in general, provides better results. If you want to enjoy dlib's accuracy, please follow `dlib's own installation instructions \u003chttps://pypi.python.org/pypi/dlib\u003e`__. Some additional dlib installation guides for macOS and Ubuntu can be found in: `[1] \u003chttps://gist.github.com/ageitgey/629d75c1baac34dfa5ca2a1928a7aeaf\u003e`__  `[2] \u003chttps://www.pyimagesearch.com/2018/01/22/install-dlib-easy-complete-guide/\u003e`__.\nThug memes can be installed with dlib's Python bindings included:\n\n.. code:: bash\n\n    pip3 install \"thug-memes[dlib]\"\n\nUsage\n-----\n.. code:: bash\n\n    thug path/to/the/original/image 'JUST CASUALLY LIFTING' '20KGs HERE'\n\nWill store something like this in your current directory:\n\n|img1|\n\nIf you have installed dlib and want to use it instead of opencv detector, add option:\n\n.. code:: bash\n\n    --detector dlib\n\nIf you want to see the results of the detection, add *--debug* option:\n \n\nOpencv (*--debug*):\n\n|img2|\n\nDlib (*--detector dlib --debug*):\n\n|img3|\n\nAlmost everything is configurable. You can see the used configuration with: \n\n.. code:: bash\n\n    --show-config\n\nThe default configuration is in `src/thug/defaul.conf`. You can override this by defining environment variable `THUG_CONF` and pointing it to a file which contains overrides. In addition, you can override any of the configuration variables from command line with *--override* or *-o* options. For example:\n\n.. code:: bash\n\n    thug path/to/original/img.jpg 'WE HAVE HUGE CIGARS' 'BUT ALSO PINK TEXT' --detector dlib -o cigar_length 2 -o glasses_width 5 -o font_bgr '[180,105,255]'\n\n|img4|\n\nFor all available options, see:\n\n.. code:: bash\n\n    thug --help\n\n\n\nIf you don't want to have awesome Thug elements in your meme, there is also 'a plain meme' alternative:\n\n.. code:: bash\n\n    meme path/to/the/original/image 'THIS IS A NORMAL MEME' 'WITHOUT THUG STUFF :(' -o font_bgr '[255,255,255]'\n\n|img5|\n\nExample images are from `pexels \u003chttps://www.pexels.com/photo-license/\u003e`__.\n\nContributing\n------------\nSee `contributing \u003chttps://github.com/jerry-git/thug-memes/blob/master/CONTRIBUTING.md\u003e`__ guide.\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/thug-memes.svg\n   :target: https://pypi.python.org/pypi/thug-memes\n\n\n.. |build| image:: https://travis-ci.org/jerry-git/thug-memes.svg?branch=master\n   :target: https://travis-ci.org/jerry-git/thug-memes\n\n.. |python_versions| image:: https://img.shields.io/pypi/pyversions/thug-memes.svg\n   :target: https://pypi.python.org/pypi/thug-memes\n\n.. |codecov| image:: https://codecov.io/gh/jerry-git/thug-memes/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/jerry-git/thug-memes\n\n\n.. |img1| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/1_face_out_thug.jpg\n\t:height: 600pt\n\n.. |img2| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/1_face_debug_opencv.jpg\n\t:height: 600pt\n\n.. |img3| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/1_face_debug_dlib.jpg\n\t:height: 600pt\n\n.. |img4| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/3_faces_thug_custom.jpeg\n\t:width: 600pt\n\n.. |img5| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/normal_meme_out.jpg\n\t:width: 600pt","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerry-git%2Fthug-memes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerry-git%2Fthug-memes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerry-git%2Fthug-memes/lists"}