{"id":16446495,"url":"https://github.com/edoardottt/go-readingtime","last_synced_at":"2025-10-27T06:30:25.332Z","repository":{"id":212299219,"uuid":"730752282","full_name":"edoardottt/go-readingtime","owner":"edoardottt","description":"Estimate how long it takes to read a text","archived":false,"fork":false,"pushed_at":"2024-11-25T08:57:06.000Z","size":42,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T03:09:53.455Z","etag":null,"topics":["go-library","go-module","go-package","golang","golang-library","golang-module","golang-tools","read-time","read-time-estimator","reading-time","reading-time-estimator"],"latest_commit_sha":null,"homepage":"https://edoardoottavianelli.it","language":"Go","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/edoardottt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"edoardottt","liberapay":"edoardottt","patreon":"edoardottt","ko_fi":"edoardottt","open_collective":"edoardottt","custom":"https://www.paypal.me/edoardottt"}},"created_at":"2023-12-12T15:42:39.000Z","updated_at":"2025-01-06T23:22:10.000Z","dependencies_parsed_at":"2024-05-11T08:41:47.430Z","dependency_job_id":null,"html_url":"https://github.com/edoardottt/go-readingtime","commit_stats":null,"previous_names":["edoardottt/go-readingtime"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2Fgo-readingtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2Fgo-readingtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2Fgo-readingtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2Fgo-readingtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edoardottt","download_url":"https://codeload.github.com/edoardottt/go-readingtime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238445911,"owners_count":19473835,"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":["go-library","go-module","go-package","golang","golang-library","golang-module","golang-tools","read-time","read-time-estimator","reading-time","reading-time-estimator"],"created_at":"2024-10-11T09:47:49.039Z","updated_at":"2025-10-27T06:30:25.039Z","avatar_url":"https://github.com/edoardottt.png","language":"Go","funding_links":["https://github.com/sponsors/edoardottt","https://liberapay.com/edoardottt","https://patreon.com/edoardottt","https://ko-fi.com/edoardottt","https://opencollective.com/edoardottt","https://www.paypal.me/edoardottt"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  go-readingtime\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eEstimate how long it takes to read a text\u003c/h4\u003e\n\n\u003ch6 align=\"center\"\u003e Coded with 💙 by edoardottt \u003c/h6\u003e\n\n\u003cp align=\"center\"\u003e\n\n  \u003ca href=\"https://github.com/edoardottt/go-readingtime/actions\"\u003e\n      \u003cimg src=\"https://github.com/edoardottt/go-readingtime/actions/workflows/go.yml/badge.svg\" alt=\"go action\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://goreportcard.com/report/github.com/edoardottt/go-readingtime\"\u003e\n      \u003cimg src=\"https://goreportcard.com/badge/github.com/edoardottt/go-readingtime\" alt=\"go report card\"\u003e\n  \u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#install-\"\u003eInstall\u003c/a\u003e •\n  \u003ca href=\"#usage-\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#changelog-\"\u003eChangelog\u003c/a\u003e •\n  \u003ca href=\"#contributing-\"\u003eContributing\u003c/a\u003e •\n  \u003ca href=\"#license-\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\nInstall 📡\n----------\n\n```console\ngo install github.com/edoardottt/go-readingtime/cmd/readt@latest\n```\n\nUsage 💡\n----------\n\nCLI tool\n\n```console\nreadt \u003cfilepath\u003e\n```\n\nGolang module\n\n```go\npackage main\n\nimport (\n \"fmt\"\n\n reading \"github.com/edoardottt/go-readingtime\"\n)\n\nfunc main() {\n s := reading.RawEstimate(`Lorem ipsum dolor sit amet, consectetur...`)\n fmt.Println(s) // 130\n\n d := reading.Estimate(`Lorem ipsum dolor sit amet, consectetur...`)\n fmt.Println(d) // 2m10s\n\n h := reading.HumanEstimate(`Lorem ipsum dolor sit amet, consectetur...`)\n fmt.Println(h) // 2 minutes\n}\n```\n\nRead the [`package documentation here`](https://pkg.go.dev/github.com/edoardottt/go-readingtime).\n\nChangelog 📌\n-------\n\nDetailed changes for each release are documented in the [release notes](https://github.com/edoardottt/go-readingtime/releases).\n\nContributing 🛠\n-------\n\nJust open an [issue](https://github.com/edoardottt/go-readingtime/issues) / [pull request](https://github.com/edoardottt/go-readingtime/pulls).\n\nBefore opening a pull request, download [golangci-lint](https://golangci-lint.run/usage/install/) and run\n\n```bash\ngolangci-lint run\n```\n\nIf there aren't errors, go ahead :)\n\nLicense 📝\n-------\n\nThis repository is under [MIT License](https://github.com/edoardottt/go-readingtime/blob/main/LICENSE).  \n[edoardottt.com](https://edoardottt.com/) to contact me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedoardottt%2Fgo-readingtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedoardottt%2Fgo-readingtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedoardottt%2Fgo-readingtime/lists"}