{"id":21463427,"url":"https://github.com/ijustdev/seolytics","last_synced_at":"2026-05-19T17:13:24.937Z","repository":{"id":169281597,"uuid":"287644992","full_name":"IJustDev/seolytics","owner":"IJustDev","description":"CLI that verifies the SEO integrity of content.","archived":false,"fork":false,"pushed_at":"2020-09-01T14:35:49.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T05:15:29.732Z","etag":null,"topics":["analytics","nodejs","seo-optimization","seotools"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IJustDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2020-08-14T23:48:16.000Z","updated_at":"2023-01-17T14:02:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea81ffe2-e327-411f-8c54-bf39a5377e1f","html_url":"https://github.com/IJustDev/seolytics","commit_stats":null,"previous_names":["ijustdev/seolytics"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/IJustDev/seolytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IJustDev%2Fseolytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IJustDev%2Fseolytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IJustDev%2Fseolytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IJustDev%2Fseolytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IJustDev","download_url":"https://codeload.github.com/IJustDev/seolytics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IJustDev%2Fseolytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33225454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T15:49:41.270Z","status":"ssl_error","status_checked_at":"2026-05-19T15:49:22.917Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["analytics","nodejs","seo-optimization","seotools"],"created_at":"2024-11-23T07:22:39.111Z","updated_at":"2026-05-19T17:13:24.919Z","avatar_url":"https://github.com/IJustDev.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/IJustDev"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eSeolytics\u003c/h1\u003e\n\u003ch3\u003eLibrary for SEO analysis\u003c/h3\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![npm](https://img.shields.io/npm/dw/seolytics?style=for-the-badge)\n\n\u003c/div\u003e\n\n## What?\nSeolytics is an library with included CLI that analysis content from a SEO point of view.\n\nBasically it allows you to analyse a text like this:\n```\n# example/test.txt\nDas ist ein einfacher Test.\n```\n\nwith the help of this [config][config]:\n```yaml\n# example/seolytics.yml\nkeyword: \"SEO\"\nactions:\n    - checker.keyword.amount\n```\n\nand this command:\n```sh\n$ seolytics check example/test.txt -js -c example/seolytics.yml\n```\n\nAnd get an analysis like this:\n```json\n[\n  {\n    \"name\": \"Flesch reading ease\",\n    \"result\": {\n      \"errorCode\": 0,\n      \"value\": 99,\n      \"message\": \"Text is perfect\"\n    }\n  },\n  {\n    \"name\": \"Keyword Density\",\n    \"result\": {\n      \"errorCode\": 2,\n      \"value\": 0,\n      \"message\": \"Out of bounds. Keyword density should be between 3% and 1.5%\"\n    }\n  },\n  {\n    \"name\": \"Check LSI Keywords\",\n    \"result\": {\n      \"errorCode\": 0,\n      \"value\": null,\n      \"message\": \"All keywords included\"\n    }\n  }\n]\n```\n\n## Installation\n```sh\n$ npm i -g seolytics\n```\n\n## Support\n\u003ca href=\"https://www.buymeacoffee.com/IJustDev\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n## CLI Usage\n```sh\n$ seolytics --help\n```\n\n```\nseolytics [command]\n\nCommands:\n  seolytics check [filename]  Verifies SEO integrity of the files' content.\n\nOptions:\n  --help         Show help                                             [boolean]\n  --version      Show version number                                   [boolean]\n  --config, -c   Defines a config file that is used throughout the content\n                 check.                                                 [string]\n  --json\n\n  --keyword, -k  The keyword the content checker should look out for.   [string]\n```\n\n```sh\n$ seolytics check example/test.txt -c example/seolytics.yml\n```\n\n### Actions\nActions are certain functions that can be called to determine the SEO rating of your content.\n\nYou can define these actions in your config (check the [example config][example-config])\n\n```\nchecker.keyword.density\nchecker.keyword.amount\nchecker.lsi.amount\nchecker.meta.validity\nchecker.flesch.score\ncounter.words\ncounter.sentences\ncounter.chars\n```\n\n## Getting started\nIf you want to create your own action or your own cli, here is a sample Getting started snippet.\n\n```javascript\n// index.js\nconst {\n    ContentChecker,\n    FleschReadingEase,\n} = require('seolytics');\n\nconst content = 'Das ist ein einfacher Test';\n\nconst actions = [\n    new FleschReadingEase(),\n];\n\nconst params = {\n    content,\n    keyword: 'Test',\n    lsiKeywords: ['einfacher']\n}\n\nconst kwchecker = new ContentChecker(params, actions);\n\nconsole.log(JSON.stringify(kwchecker));\n```\n\nRun it with\n\n```sh\n$ node index.js\n```\n\nand expect following output\n\n```json\n[\n  {\n    \"name\": \"Keyword Density\",\n    \"result\": {\n      \"errorCode\": 2,\n      \"value\": 9.090909090909092,\n      \"message\": \"Out of bounds. Keyword density should be between 3% and 1.5%\"\n    }\n  },\n  {\n    \"name\": \"Check LSI Keywords\",\n    \"result\": {\n      \"errorCode\": 0,\n      \"value\": null,\n      \"message\": \"All keywords included\"\n    }\n  },\n  {\n    \"name\": \"Flesch reading ease\",\n    \"result\": {\n      \"errorCode\": 0,\n      \"value\": 71.625,\n      \"message\": \"Text is perfect\"\n    }\n  }\n]\n```\n\n## Current features\n- check German [Flesch Reading Ease][fre]\n- check keyword density\n- check lsi keyword occourance\n- check meta description\n\n\n[fre]: https://de.ryte.com/wiki/Flesch-Reading-Ease\n[config]: ./example/seolytics.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijustdev%2Fseolytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijustdev%2Fseolytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijustdev%2Fseolytics/lists"}