{"id":46160904,"url":"https://github.com/carolyn-sun/simple-lang-stats","last_synced_at":"2026-03-02T11:01:44.266Z","repository":{"id":322498047,"uuid":"1089697518","full_name":"carolyn-sun/simple-lang-stats","owner":"carolyn-sun","description":"Enjoy simplicity. A GitHub Action that automatically generates and updates language statistics in your README profile.","archived":false,"fork":false,"pushed_at":"2026-02-23T00:10:56.000Z","size":818,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-23T05:46:16.894Z","etag":null,"topics":["readme-profile","statistics","stats"],"latest_commit_sha":null,"homepage":"","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/carolyn-sun.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-04T17:31:39.000Z","updated_at":"2026-02-23T00:11:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/carolyn-sun/simple-lang-stats","commit_stats":null,"previous_names":["carolyn-sun/simple-lang-stats"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/carolyn-sun/simple-lang-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carolyn-sun%2Fsimple-lang-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carolyn-sun%2Fsimple-lang-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carolyn-sun%2Fsimple-lang-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carolyn-sun%2Fsimple-lang-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carolyn-sun","download_url":"https://codeload.github.com/carolyn-sun/simple-lang-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carolyn-sun%2Fsimple-lang-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29999218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: 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":["readme-profile","statistics","stats"],"created_at":"2026-03-02T11:01:43.312Z","updated_at":"2026-03-02T11:01:44.192Z","avatar_url":"https://github.com/carolyn-sun.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Language Stats\n\nEnjoy simplicity. A GitHub Action that automatically generates and updates language statistics in your README profile.\n\n\u003c!-- simple-lang-stats --\u003e\n```\n57.72% ===   JavaScript\n 31.6% ==    Fluent\n 4.74% =     CSS\n 1.77% =     MDX\n  1.3% =     Astro\n 1.09% =     HTML\n 0.55% =     TypeScript\n 0.43% =     Swift\n 0.35% =     Julia\n 0.18% =     Shell\n  0.1% =     Typst\n 0.08% =     XSLT\n 0.05% =     Ruby\n 0.04% =     PowerShell\n```\n*Based on 13 non-forked repositories for Carolyn Sun (carolyn-sun)\u003cbr/\u003ePowered by [carolyn-sun/simple-lang-stats](https://github.com/carolyn-sun/simple-lang-stats)*\n\u003c!-- /simple-lang-stats --\u003e\n\n## Usage\n\nSet a `PAT` secret in your repository settings in case you reach the API rate limit. `Repo` scope is sufficient.\n\nAdd this marker to your README.md where you want the language statistics to appear:\n\n```markdown\n\u003c!-- simple-lang-stats --\u003e\n\u003c!-- /simple-lang-stats --\u003e\n```\n\nThe action will automatically insert your language statistics between these markers.\n\nThen, add it to your workflow file (e.g., `.github/workflows/update-stats.yml`):\n\n```yaml\nname: Update language stats\n\non:\n  push:\n  schedule:\n    - cron: '0 */48 * * *'  # Run every 48 hours\n  workflow_dispatch:  # Allow manual trigger\n\njobs:\n  update-stats:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write  # Allow writing to repository contents\n      \n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n        \n      - name: Update Language Stats\n        uses: carolyn-sun/simple-lang-stats@latest\n        with:\n          PAT: ${{ secrets.PAT }}\n          username: ${{ github.repository_owner }}\n          \n      - name: Commit changes\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add README.md\n          git diff --staged --quiet || git commit -m \"Update language statistics\"\n          git push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarolyn-sun%2Fsimple-lang-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarolyn-sun%2Fsimple-lang-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarolyn-sun%2Fsimple-lang-stats/lists"}