diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..1903f93 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,33 @@ +name: Pages + +# Publishes docs/ to GitHub Pages. Repository settings: Pages > Source: GitHub Actions. + +on: + push: + branches: [main] + paths: ["docs/**", ".github/workflows/pages.yml"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + deploy: + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - uses: actions/checkout@v5 + - uses: actions/configure-pages@v5 + - uses: actions/upload-pages-artifact@v3 + with: + path: docs + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..b869386 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,340 @@ + + + + + +langstats + + + + + + + + + +
+
+ langstats + +
+ +
+

Your languages, from the code Claude writes with you

+

langstats is a Claude Code plugin. It records the programming languages Claude reads and edits while it works for you, and turns them into a block of text bars for your GitHub profile README.

+ +
+ +
+
+

+    
Choose it in Claude Code with /langstats:style bars
+
+

What it measures: the time Claude spends working in each language. It does not measure the time you spend typing in your own editor.

+ +
+

Why langstats

+
+
+

Only real code

+

Screenshots, PDFs and binaries are never recorded. Data, config and prose formats (Markdown, JSON, YAML…) are left out by default.

+
+
+

GitHub is optional

+

Connected, it updates your README by itself. Not connected, it gives you the block to paste by hand.

+
+
+

Does not slow Claude down

+

The hook is asynchronous, takes about 25 ms, and never touches the network or git.

+
+
+

Your own style

+

Bars, flowers 🌸, rockets 🚀, hearts 💖, moons 🌕 or any symbols you like.

+
+
+

Several computers

+

Turn on sharing and the stats of every computer add up instead of replacing each other.

+
+
+

Everywhere

+

macOS, Linux and Windows. Only Python 3.9 or newer is needed.

+
+
+
+ +
+

Get started

+
    +
  1. +

    Install the plugin. In Claude Code:

    +
    /plugin marketplace add codecruz/langstats
    +/plugin install langstats@codecruz
    +

    Then start a new session, or run /reload-plugins.

    +
  2. +
  3. +

    Run the guided setup. It detects whether GitHub is connected and asks a few questions.

    +
    /langstats:setup
    +
  4. +
  5. +

    Work as usual. Check your stats at any time:

    +
    /langstats:stats
    +
  6. +
  7. +

    Publish to your README, or let it publish by itself:

    +
    /langstats:publish
    +
  8. +
+
+ +
+

Privacy

+ +
+
+ + + + + +