{"id":30188054,"url":"https://github.com/samwda/srt","last_synced_at":"2025-08-12T16:13:57.890Z","repository":{"id":307681831,"uuid":"1025147357","full_name":"samwda/srt","owner":"samwda","description":"Sam Reading Time (SRT) is a super lightweight WordPress plugin that calculates and displays the estimated reading time for your posts and pages using a simple shortcode.","archived":false,"fork":false,"pushed_at":"2025-08-01T15:03:40.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T16:03:16.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samwda.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":"2025-07-23T19:53:33.000Z","updated_at":"2025-08-01T15:03:43.000Z","dependencies_parsed_at":"2025-08-01T16:03:19.730Z","dependency_job_id":"e9f236f6-0fd6-40dd-82b2-fd6a74d45433","html_url":"https://github.com/samwda/srt","commit_stats":null,"previous_names":["samwda/srt"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/samwda/srt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwda%2Fsrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwda%2Fsrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwda%2Fsrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwda%2Fsrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samwda","download_url":"https://codeload.github.com/samwda/srt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwda%2Fsrt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270093611,"owners_count":24525658,"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-08-12T02:00:09.011Z","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":[],"created_at":"2025-08-12T16:13:55.366Z","updated_at":"2025-08-12T16:13:57.869Z","avatar_url":"https://github.com/samwda.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⏱️ Sam Reading Time (SRT) – WordPress Plugin\n[![WordPress Plugin](https://img.shields.io/wordpress/plugin/v/sam-reading-time.svg?style=flat-square)](https://wordpress.org/plugins/sam-reading-time/)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/samwda/srt?style=flat-square)](https://github.com/samwda/srt/releases)\n[![Active Installs](https://img.shields.io/wordpress/plugin/installs/sam-reading-time.svg?style=flat-square)](https://wordpress.org/plugins/sam-reading-time/)\n[![License](https://img.shields.io/github/license/samwda/srt?style=flat-square)](https://github.com/samwda/srt/blob/main/LICENSE)\n\n**Sam Reading Time (SRT)** is a super lightweight WordPress plugin that calculates and displays the estimated reading time for your posts and pages using a simple shortcode.\n\n---\n\n## ✨ Features\n\n- Estimate reading time based on word count\n- Lightweight and easy to use\n- Works via `[sam_reading_time]` shortcode\n- No settings page or database queries\n- Clean output – fully theme-compatible\n- Translation-ready and extendable\n\n---\n\n## 🔧 Installation\n\n1. Download the plugin ZIP or clone the repository into your WordPress plugin directory:  \n   `/wp-content/plugins/sam-reading-time/`\n\n2. Activate the plugin from the WordPress admin dashboard.\n\n---\n\n## 🧩 Usage\n\nTo display the reading time anywhere in your post, simply add the following shortcode:\n\n```\n[sam_reading_time]\n```\n\nThis will output something like:\n\n\u003e Reading Time: 4 minutes\n\nYou can place this shortcode in:\n\n- Post or page content\n- Custom post types\n- Template files (using `do_shortcode()`)\n\nExample for PHP templates:\n\n```php\necho do_shortcode('[sam_reading_time]');\n```\n\n---\n\n## 🧠 How Reading Time Is Calculated\n\n- The plugin counts all words in the current post or page content.\n- Default reading speed is **200 words per minute**.\n- The number of words is divided by 200, then rounded up to the nearest full minute.\n\nFor example:\n\n- 765 words / 200 = 3.825\n- Rounded = 4 minutes\n\n---\n\n## 🌍 WordPress.org Repository\n\nSam Reading Time is officially listed in the [WordPress Plugin Directory](https://wordpress.org/plugins/sam-reading-time/).\n\n### 📦 Install from WordPress Admin\n\n1. Navigate to **Plugins → Add New**.\n2. Search for **Sam Reading Time**.\n3. Click **Install Now**, then **Activate**.\n\n---\n\n## 🛡 License\n\nReleased under the **GPLv2 License**  \n\n---\n\n## 👨‍💻 Author\n\n**SAM Web Design Agency**  \n🔗 Website: [samwda.ir](https://samwda.ir)  \n📦 GitHub: [github.com/samwda](https://github.com/samwda)\n\n---\n\n## 💬 Feedback \u0026 Contributions\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n---\n\nEnjoy fast, clean reading time calculation with **SRT** ⏱✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwda%2Fsrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamwda%2Fsrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwda%2Fsrt/lists"}