{"id":19880507,"url":"https://github.com/vinceh121/git-swears","last_synced_at":"2025-10-06T15:01:59.575Z","repository":{"id":42769178,"uuid":"287947640","full_name":"vinceh121/git-swears","owner":"vinceh121","description":"Counts swear words over time in a git repository","archived":false,"fork":false,"pushed_at":"2025-07-13T06:03:10.000Z","size":189,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T08:23:12.741Z","etag":null,"topics":["git","java","service","vertx"],"latest_commit_sha":null,"homepage":"https://swear.vinceh121.me/count.png?width=1024\u0026height=500\u0026type=timelinecum\u0026branch=v2-dev\u0026uri=https://github.com/powercord-org/powercord","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinceh121.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-08-16T13:20:13.000Z","updated_at":"2024-11-07T11:03:18.000Z","dependencies_parsed_at":"2025-07-13T08:16:59.549Z","dependency_job_id":"706e1e5f-e41e-44ef-bea1-4a3933e0cbce","html_url":"https://github.com/vinceh121/git-swears","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vinceh121/git-swears","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinceh121%2Fgit-swears","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinceh121%2Fgit-swears/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinceh121%2Fgit-swears/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinceh121%2Fgit-swears/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinceh121","download_url":"https://codeload.github.com/vinceh121/git-swears/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinceh121%2Fgit-swears/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265291911,"owners_count":23741941,"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":["git","java","service","vertx"],"created_at":"2024-11-12T17:11:39.421Z","updated_at":"2025-10-06T15:01:59.504Z","avatar_url":"https://github.com/vinceh121.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-swears\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/vinceh121/git-swears/Java%20CI%20with%20Maven)\n![Most used swear](https://img.shields.io/badge/dynamic/json?color=yellow\u0026label=Most%20used%20swear\u0026query=%24.mostUsed.word\u0026url=https%3A%2F%2Fswear.vinceh121.me%2Fcount.json%3Furi%3Dhttps%3A%2F%2Fgithub.com%2Fvinceh121%2Fgit-swears)\n\nCounts swear words over time in a git repository. Available as a standalone executable and as a service.\n\n## Examples\n\nCummulative timeline of Powercord:\n![Swear count timeline of Powercord](https://swear.vinceh121.me/count.png?width=1024\u0026height=500\u0026type=timelinecum\u0026branch=v2-dev\u0026uri=https://github.com/powercord-org/powercord)\n\nHistogram word count of South Park episode descriptions:\n![Swear count histogram of South Park episode descriptions](https://swear.vinceh121.me/count.png?width=600\u0026height=500\u0026uri=https://github.com/wargio/plugin.video.southpark_unofficial\u0026type=histogram\u0026branch=addon-data)\n\n## How to use the service\n\nThe JSON endpoint returning the count of swears is the following:\n\n```\nhttps://swear.vinceh121.me/count.json?uri=repo_uri[\u0026branch=branch_name]\n```\n\nThe endpoint returning PNG images of graphs is the following:\n\n```\nhttps://swear.vinceh121.me/count.png?type=timeline\u0026uri=repo_uri[\u0026branch=branch_name]\n```\n\nTo know more on the endpoints, see the [wiki](https://github.com/vinceh121/git-swears/wiki/Endpoints)\n\n### Using with shields.io\n\nUsing shields.io's dynamic json endpoint you can interface with the service to get beautiful badges, for example:\n\n`https://img.shields.io/badge/dynamic/json?color=yellow\u0026label=Most%20used%20swear\u0026query=%24.mostUsed.word\u0026url=https%3A%2F%2Fswear.vinceh121.me%2Fcount.json%3Furi%3Dhttps%3A%2F%2Fgithub.com%2Fvinceh121%2Fgit-swears`\n\n## How to use the command line\n\n```\nusage: git-swears\n -a,--list-graphs        Lists available graph types\n -b,--branch \u003carg\u003e       Git branch to count in\n -g,--graph \u003carg\u003e        Outputs a graph\n -i,--image-type \u003carg\u003e   Image type\n -r,--repo \u003carg\u003e         Path to the git repository\n -s,--swears \u003carg\u003e       Swear list. Either a comma-separated list, or\n                         fully qualified URL to a newline-separated list\n -t,--list-image-types   Image type\n```\n\n## Build instructions\n\n`mvn compile assembly:single -P \u003cprofiles\u003e`\n\nThe following Maven profiles are available:\n\n - `\u003cnone\u003e` builds what's needed to use git-swears as a library\n - `cli` builds the base + the CLI\n - `service` builds the base + the Vert.x service\n\n## Why is the code running this ugly?\nYou think this is supposed to be a serious project?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinceh121%2Fgit-swears","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinceh121%2Fgit-swears","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinceh121%2Fgit-swears/lists"}