{"id":32227162,"url":"https://github.com/kakrostropovich/contentus","last_synced_at":"2025-10-22T10:02:42.879Z","repository":{"id":57206501,"uuid":"78868545","full_name":"kakRostropovich/contentus","owner":"kakRostropovich","description":"Simple JS-library (without dependencies) to help fast testing elements during the development of web interfaces.","archived":false,"fork":false,"pushed_at":"2018-03-13T09:38:56.000Z","size":654,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T10:02:12.844Z","etag":null,"topics":["css","frontend","helper","html","js-library","plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/kakRostropovich.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}},"created_at":"2017-01-13T17:05:13.000Z","updated_at":"2017-11-09T14:35:12.000Z","dependencies_parsed_at":"2022-08-30T16:11:27.748Z","dependency_job_id":null,"html_url":"https://github.com/kakRostropovich/contentus","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kakRostropovich/contentus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakRostropovich%2Fcontentus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakRostropovich%2Fcontentus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakRostropovich%2Fcontentus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakRostropovich%2Fcontentus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakRostropovich","download_url":"https://codeload.github.com/kakRostropovich/contentus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakRostropovich%2Fcontentus/sbom","scorecard":{"id":547994,"data":{"date":"2025-08-11","repo":{"name":"github.com/kakRostropovich/contentus","commit":"dc57dc6d673bfeb8e3fad5c83b6dd2e8707a3dc0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/21 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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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"}}]},"last_synced_at":"2025-08-20T10:02:01.762Z","repository_id":57206501,"created_at":"2025-08-20T10:02:01.762Z","updated_at":"2025-08-20T10:02:01.762Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280416602,"owners_count":26327044,"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-10-22T02:00:06.515Z","response_time":63,"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":["css","frontend","helper","html","js-library","plugin"],"created_at":"2025-10-22T10:00:31.369Z","updated_at":"2025-10-22T10:02:42.873Z","avatar_url":"https://github.com/kakRostropovich.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contentus.js\n\nSimple JS-library (without dependencies) to help fast testing elements during the development of web interfaces.\n\n![contentus](https://raw.githubusercontent.com/kakRostropovich/contentus/master/contentus.gif)\n\n## Description (English):\n\n**Contentus.js** is a simple tool that can help designers and frontend developers to accustom themselves to test the robustness of interfaces for different content during layout.\n\n#### Install:\n\nLoad package from npm:\n\n```\n$ npm install contentus\n```\n\nIn the html attach the file library:\n\n```\n\u003cscript src=\"node_modules/contentus/dist/contentus.min.js\"\u003e\u003c/script\u003e\n```\n\nThen run contentus:\n\n```\n\u003cscript\u003e\n  contentus.create({\n    fastClass: 'myClass', # 'ct' by default\n    contents: [\n      'Small text',\n      'Middle text...',\n      '\u003cp\u003eAnd you can add any html. \u003cimg src=\"cat.jpeg\" alt=\"Cat\"/\u003e\u003cp\u003e',\n    ]\n  });\n\u003c/script\u003e\n```\n\nYou can connect the library without any parameters then it will use texts by default.\n\n#### How to use:\n\n1. In a text editor, create an HTML element and add a temporary class `ct` (or specified in the parameter fastClass when connecting libraries).\n2. After a page refresh in the browser the element will be highlighted with bright frame and ready for testing.\n3. left/right Arrows change the options of filling the element with that original content will not be lost (will be part of the list).\n4. If necessary, select another item for testing, Alt (Option) and clicking on the desired item.\n\n---\n\n## Описание (на русском):\n\n**Contentus.js** (или для своих \"Контентус\") - простой инструмент, который может помочь верстальщикам и frontend-разработчикам приучить себя проверять устойчивость интерфейсов на разном контенте еще во время верстки.\n\n#### Как подключить:\n\nЗагрузите пакет из npm:\n\n```\n$ npm install contentus\n```\n\nПодключите скрипт контентуса в html:\n\n```\n\u003cscript src=\"node_modules/contentus/dist/contentus.min.js\"\u003e\u003c/script\u003e\n```\n\nПосле этого запустите контентуса с нужными вам параметрами:\n\n```\n\u003cscript\u003e\n  contentus.create({\n    fastClass: 'myClass', // 'ct' по умолчанию\n    contents: [\n      'Короткий текст для заголовка',\n      'Текст подлиннее для абзаца...',\n      '\u003cp\u003eА еще можно добавлять любую html-разметку. \u003cimg src=\"cat.jpeg\" alt=\"Cat\"/\u003e\u003cp\u003e'\n    ]\n  });\n\u003c/script\u003e\n```\n\nМожно подключить библиотеку без параметров, тогда будут использоваться тексты по-умолчанию.\n\n\n#### Как использовать:\n\n1. В текстовом редакторе сверстайте нужный элемент и добавьте к нему временный класс `ct` (или указанный вами в параметре `fastClass` при подключении библиотеки).\n2. После обновления страницы в браузере этот элемент будет выделен яркой рамкой и готов к быстрому тестированию.\n3. Стрелками влево/вправо переключайте варианты наполнения элемента, при этот изначальное содержимое не будет потеряно (станет частью списка).\n4. При необходимости выберите другой элемент для тестирования, зажав клавишу Alt (Option) и кликнув по нужному элементу.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakrostropovich%2Fcontentus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakrostropovich%2Fcontentus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakrostropovich%2Fcontentus/lists"}