Skip to content

Commit f3c84aa

Browse files
committed
docs: present cstudy as a study app
1 parent 9739710 commit f3c84aa

9 files changed

Lines changed: 94 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![cstudy: practice coding interviews in your own editor](docs/images/readme-header.png)](https://coding-study.com/?utm_source=github&utm_medium=readme&utm_campaign=coding-study&utm_content=header)
1+
[![cstudy: Learn it. Practice it. Prove it.](docs/images/readme-header.png)](https://coding-study.com/?utm_source=github&utm_medium=readme&utm_campaign=coding-study&utm_content=header)
22

33
[![CI](https://github.com/bkuberek/coding-study/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/bkuberek/coding-study/actions/workflows/ci.yml)
44
[![Release](https://img.shields.io/github/v/release/bkuberek/coding-study)](https://github.com/bkuberek/coding-study/releases/latest)
@@ -7,7 +7,7 @@
77

88
# coding-study
99

10-
coding-study is a local, IDE-first study tool for everyone who writes code, from beginners to experts, covering algorithms, backend design, interview practice, and security and AI problems. You solve original problems in your own editor in Python, TypeScript, Java, Kotlin, Go, or Rust, and the `cstudy` command line tests your code, checks whether it is optimal, shows reference solutions, and schedules reviews with spaced repetition. Everything runs on your machine; there is no account and no service.
10+
**The free study app for engineers: algorithms to system design, graded by real tests, on your own machine.** coding-study is a local, IDE-first study tool for everyone who writes code, from beginners to experts, covering algorithms, backend design, concurrency, code review, and security and AI problems. You solve original problems in your own editor in Python, TypeScript, Java, Kotlin, Go, or Rust, and the `cstudy` command line tests your code, checks whether it is optimal, shows reference solutions, and schedules reviews with spaced repetition. Everything runs on your machine; there is no account and no service.
1111

1212
The website, [coding-study.com](https://coding-study.com/?utm_source=github&utm_medium=readme&utm_campaign=coding-study&utm_content=intro), has the [install guide](https://coding-study.com/install?utm_source=github&utm_medium=readme&utm_campaign=coding-study&utm_content=intro) and the [usage docs](https://coding-study.com/docs?utm_source=github&utm_medium=readme&utm_campaign=coding-study&utm_content=intro).
1313

‎cli/src/coding_study/entrypoints/cli.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
app = typer.Typer(
1717
cls=CsGroup,
1818
name="cstudy",
19-
help="Local, IDE-first interview practice.",
19+
help="The free study app for engineers: learn it, practice it, prove it.",
2020
no_args_is_help=True,
2121
add_completion=False,
2222
)

‎docs/images/readme-header.png‎

-10.2 KB
Loading

‎packaging/homebrew/cstudy.rb.template‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class Cstudy < Formula
44
include Language::Python::Virtualenv
55

6-
desc "Local, IDE-first practice for coding interviews"
6+
desc "Free study app for engineers, with problems graded by real tests"
77
homepage "https://github.com/bkuberek/coding-study"
88
url "${wheel_url}"
99
sha256 "${wheel_sha256}"

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[project]
55
name = "coding-study"
66
version = "0.54.1"
7-
description = "Local, IDE-first interview practice: the cstudy command-line interface"
7+
description = "The free study app for engineers: algorithms to system design, graded by real tests, on your own machine"
88
readme = "README.md"
99
license = "MIT"
1010
license-files = ["LICENSE"]

‎tools/brand/readme-header.html‎

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>cstudy README header</title>
6+
<style>
7+
html, body { margin: 0; background: transparent; }
8+
.card {
9+
position: relative;
10+
width: 1200px;
11+
height: 300px;
12+
box-sizing: border-box;
13+
border-radius: 24px;
14+
background: #111110;
15+
overflow: hidden;
16+
}
17+
.icon {
18+
position: absolute;
19+
left: 72px;
20+
top: 86px;
21+
width: 128px;
22+
height: 128px;
23+
border-radius: 30px;
24+
background: #ede6d8;
25+
}
26+
.icon svg { display: block; }
27+
.name {
28+
position: absolute;
29+
left: 228px;
30+
top: 58px;
31+
margin: 0;
32+
font: 700 94px/1.2 "JetBrains Mono", "DejaVu Sans Mono", "Liberation Mono", monospace;
33+
color: #ede6d8;
34+
letter-spacing: 0;
35+
}
36+
.tagline {
37+
position: absolute;
38+
left: 232px;
39+
top: 176px;
40+
margin: 0;
41+
font: italic 400 44px/1.2 "EB Garamond", "Cormorant Garamond", "P052", "Palatino Linotype", Palatino, Charter, Georgia, serif;
42+
color: #ff8050;
43+
}
44+
</style>
45+
</head>
46+
<body>
47+
<div class="card">
48+
<div class="icon">
49+
<svg width="128" height="128" viewBox="0 0 128 128" fill="none">
50+
<path d="M30 40 L56 63 L30 86" stroke="#111110" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
51+
<rect x="68" y="83" width="28" height="9" rx="2" fill="#ff8050"/>
52+
</svg>
53+
</div>
54+
<p class="name">cstudy</p>
55+
<p class="tagline">Learn it. Practice it. Prove it.</p>
56+
</div>
57+
</body>
58+
</html>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"""Render tools/brand/readme-header.html to docs/images/readme-header.png.
2+
3+
Run from the repository root:
4+
5+
uv run --group browser python tools/brand/render_readme_header.py
6+
7+
The card is 1200x300 pixels with transparent rounded corners.
8+
"""
9+
10+
from pathlib import Path
11+
12+
from playwright.sync_api import sync_playwright
13+
14+
ROOT = Path(__file__).resolve().parents[2]
15+
TEMPLATE = ROOT / "tools" / "brand" / "readme-header.html"
16+
OUTPUT = ROOT / "docs" / "images" / "readme-header.png"
17+
18+
19+
def main() -> None:
20+
with sync_playwright() as playwright:
21+
browser = playwright.chromium.launch()
22+
page = browser.new_page(viewport={"width": 1200, "height": 300}, device_scale_factor=1)
23+
page.goto(TEMPLATE.as_uri())
24+
page.locator(".card").screenshot(path=str(OUTPUT), omit_background=True)
25+
browser.close()
26+
27+
28+
if __name__ == "__main__":
29+
main()

‎user-docs/planning.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Plan your practice
3-
summary: What cstudy next picks and why, problem sets for an interview or a topic, timed mock interviews, and your progress in numbers.
3+
summary: What cstudy next picks and why, problem sets for a goal or a topic, timed mock interviews, and your progress in numbers.
44
section: Practice
55
order: 90
66
---

‎user-docs/problem-kinds.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ order: 55
77

88
# Kinds of problems
99

10-
Every problem has a **track**, the interview round it practices, and a **kind**, the shape of what you write. How it is checked follows from its kind, and three **labels** say what it is about, who it is for and how big it is. `cstudy list` shows each, and filters by each:
10+
Every problem has a **track**, the area of engineering it practices, and a **kind**, the shape of what you write. How it is checked follows from its kind, and three **labels** say what it is about, who it is for and how big it is. `cstudy list` shows each, and filters by each:
1111

1212
```bash
1313
cstudy list --track concurrency

0 commit comments

Comments
 (0)