{"id":26148999,"url":"https://github.com/codedynasty-dev/credence","last_synced_at":"2025-03-11T05:22:34.624Z","repository":{"id":279325863,"uuid":"938439960","full_name":"CodeDynasty-dev/Credence","owner":"CodeDynasty-dev","description":"Credence, the Markdown-powered static site generator designed for blogs and project documentation.","archived":false,"fork":false,"pushed_at":"2025-03-01T04:25:11.000Z","size":479,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-01T05:21:29.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/CodeDynasty-dev.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}},"created_at":"2025-02-25T00:45:11.000Z","updated_at":"2025-03-01T04:25:15.000Z","dependencies_parsed_at":"2025-03-01T05:21:36.553Z","dependency_job_id":null,"html_url":"https://github.com/CodeDynasty-dev/Credence","commit_stats":null,"previous_names":["codedynasty-foo/credence","codedynasty-dev/credence"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FCredence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FCredence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FCredence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDynasty-dev%2FCredence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDynasty-dev","download_url":"https://codeload.github.com/CodeDynasty-dev/Credence/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242975441,"owners_count":20215459,"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":[],"created_at":"2025-03-11T05:22:33.979Z","updated_at":"2025-03-11T05:22:34.586Z","avatar_url":"https://github.com/CodeDynasty-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- @credence-[/docs/introduction.html]-[Credence] --\u003e\n\n# Credence - markdown compiler for blogs \u0026 project Documentation 🚀  \n\n**Credence** is a  **Markdown-powered** static site generator designed for **modern blogs and project documentation**. It integrates **the simplicity of Markdown and Tailwind CSS** to generate sites with minimal effort.  \n\n## **Why Choose Credence?**  \n\n✅ **Markdown-First** – Write Markdown, and let Credence handle the rest.  \n✅ **Tailwind CSS Integration** – inbuilt tailwind css compiler. \u003cbr\u003e\n✅ **Ultra-Fast Builds** – Optimized for speed.  \n✅ **Pluggable UI** – Use Tailwind, CSS, or custom themes—**your choice**.  \n✅ **Live Reload \u0026 Watch Mode** – Instant preview while editing.\n \n### **Get Started**    \n\n```sh\nnpm i -g credence\nmkdir my-blog\ncd my-blog\ncredence\n```\n\u003cbr\u003e\n\u003cbr\u003e \n\n**How Credence works** 🚀\n\n#### Credence parses the credence headers on every text based files in your input folder, recursively to extracts md and html text.\n\n**Parts of  a credence header**\n\n@credence --- output file ---- page title\n\n syntax\n ```\n/*@credence-[/index.html]-[Credence]\n```\n\n# Usage\n\n### Using inline-docs (comments style)\n\n```markdown\n/**\n * @title   Add Function\n * @type    function\n * @description Adds two numbers and returns the result.\n * @tags    math, utility\n\n * @param {number} a The first number.\n * @param {number} b The second number.\n * @returns {number} The sum of `a` and `b`.\n */\nfunction add(a, b) {\n  return a + b;\n}\n\n```\n\n```markdown\n/*@credence-[/index.html]-[Credence]\n\n### first clone the repo\n  git clone credence\n  ### running build command\n  npm run build\n*/\n```\n\n\n### Using md files (comment header)\n\n```markdown\n\u003c!-- @credence-[/docs/introduction.html]-[documentation] --\u003e\n\n# Credence Command-Line Interface (CLI) Documentation\n\nThe **Credence CLI** is a robust tool designed to streamline and automate tasks associated with the Credence application suite. This document details its installation, usage, available commands, and developer guidelines.\n\n## Table of Contents\n```\n\n### **About credence 🚀**  \n\n1. **Markdown-Powered, But Smarter** 📝  \n   - Unlike most static site generators, **Credence** doesn't just convert Markdown to HTML—it **understands context**.  \n   - It allows **nested Markdown inside HTML elements**, solving limitations seen in other generators like Hugo and Docusaurus.  \n\n2. **Tailwind, But on Your Terms** 🎨  \n   - You’re not **forced** into Tailwind, but if you enable it, **Credence intelligently processes styles** while avoiding unnecessary bloat.  \n   - It scans **Markdown, HTML, and even component files** to ensure only the needed styles make it into your final build.  \n\n3. **Live Reload That Actually Works** 🔄  \n   - Credence’s **watch mode** goes beyond just reloading pages—it can **retry connections**, detect stale caches, and ensure that **your development experience is smooth** even when working with large projects.  \n\n4. **No More Ugly Typography** 🎭  \n   - By default, **Credence applies optimized typography settings** so Markdown-based content looks **professional and polished** right out of the box.  \n   - No need for **extra CSS** just to make text readable like in other generators.  \n\n5. **Intelligent Asset Handling** 📦  \n   - Automatically **copies, optimizes, and references assets** like images, fonts, and stylesheets, ensuring they’re efficiently bundled.  \n   - Works even when running in a serverless environment or blob storage.  \n\n6. **Code Highlighting That Feels Right** 💻  \n   - Uses **highlight.js with custom themes**, ensuring code snippets are **visually pleasing and readable**.  \n\n7. **CLI That Doesn’t Get in Your Way** 🛠️  \n   - Runs in **zero-config mode** by default but lets **power users tweak every aspect** via an easy-to-use CLI.  \n   - Supports **auto-detection of project structures**, so **you don’t have to manually set up folders** every time.  \n\n8. **Fast, Even at Scale** ⚡  \n   - **Batch processes file changes** to avoid unnecessary rebuilds.  \n   - Can **handle thousands of Markdown files** without slowing down, making it a solid choice for **large-scale documentation**.  \n\n9. **SEO \u0026 Accessibility Built-In** 🌍  \n   - Generates **clean, semantic HTML** optimized for search engines.  \n\n\u003e Designed to be focused on **speed, developer experience, and flexibility**.  \n \n \n\n8. **Fast, Even at Scale** ⚡  \n   - **Batch processes file changes** to avoid unnecessary rebuilds.  \n   - Can **handle thousands of Markdown files** without slowing down, making it a solid choice for **large-scale documentation**.  \n\n9. **SEO \u0026 Accessibility Built-In** 🌍  \n   - Generates **clean, semantic HTML** optimized for search engines.  \n\n\u003e Designed to be focused on **speed, developer experience, and flexibility**.  \n \n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedynasty-dev%2Fcredence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedynasty-dev%2Fcredence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedynasty-dev%2Fcredence/lists"}