Skip to content
Projects

0xku/leetcode-compensation

View on GitHub

About

Software engineering salaries (india) from leetcode compensation

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
Leetcode Compensation dashboard showing software engineer salary data in India

Python License Dashboard Data

Leetcode Compensation

Software engineer salaries in India, parsed from Leetcode compensation posts and refreshed automatically.

Leetcode Compensation fetches salary posts from Leetcode discussion forums, parses and normalizes them into structured data using LLMs, and presents everything in a filterable dashboard. Data stays fresh through automated GitHub Action PRs that sync new posts on a regular cadence.

Getting Started

Install uv from Standalone Installers or from PyPI:

uv sync  # Install all dependencies from pyproject.toml

Updating Data

The project uses LM Studio by default (LLM_PROVIDER=lm_studio) with the openai/gpt-oss-20b model for:

  • Parsing salaries, years of experience (YOE), and other compensation details from posts
  • Normalizing fields like companies, roles, and locations into structured format

Run sync

uv run leetcomp-sync

Choose provider/model at runtime

uv run leetcomp-sync --provider llama_server --model unsloth/Qwen3.5-9B-GGUF

Supported providers:

  • lm_studio (default)
  • llama_server (also supports alias llama-server)
  • github_models (requires GITHUB_TOKEN)
  • zai (requires ZAI_API_KEY)

Optional env overrides:

  • LLM_PROVIDER
  • LLM_MODEL
  • LLM_BASE_URL

Example: llama.cpp server

/opt/homebrew/bin/llama-server \
  --hf-repo unsloth/Qwen3.5-9B-GGUF \
  --hf-file Qwen3.5-9B-Q4_K_M.gguf \
  --port 5000 \
  -c 65536

uv run leetcomp-sync --provider llama-server --model unsloth/Qwen3.5-9B-GGUF

LLM Assistance

I've written all the data parsing logic in python by hand. Most of the prompts have been generated with the assistance of claude-sonnet-4.5 and pretty much all of the html file has been generated by claude-opus-4.5.

Explore related projects

Loading…