Skip to content

Commit 898e05e

Browse files
committed
site: product landing page with GitHub Pages deploy
1 parent b0113c2 commit 898e05e

2 files changed

Lines changed: 185 additions & 0 deletions

File tree

.github/index.html

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<meta name="viewport" content="width=device-width,initial-scale=1">
4+
<title>Cursor — AI coding agent</title>
5+
<link rel="icon" href="packaging/brand-cursor.png">
6+
<style>
7+
:root {
8+
--pink: #ff69b4;
9+
--bg: #0d0d0d;
10+
--fg: #e0e0e0;
11+
--dim: #888;
12+
--border: #222;
13+
}
14+
* { margin: 0; padding: 0; box-sizing: border-box; }
15+
body {
16+
background: var(--bg);
17+
color: var(--fg);
18+
font: 16px/1.6 system-ui, -apple-system, sans-serif;
19+
max-width: 720px;
20+
margin: 0 auto;
21+
padding: 2rem 1.5rem 4rem;
22+
}
23+
::selection { background: var(--pink); color: #000; }
24+
a { color: var(--pink); text-decoration: none; }
25+
a:hover { text-decoration: underline; }
26+
h1 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
27+
h1 span { color: var(--pink); }
28+
h2 { font-size: 1.1rem; font-weight: 600; margin: 2em 0 .5em; color: var(--pink); }
29+
p, li { color: var(--dim); }
30+
p { margin: .5em 0; }
31+
ul { list-style: none; }
32+
ul li::before { content: "▸ "; color: var(--pink); }
33+
pre {
34+
background: #151515;
35+
border: 1px solid var(--border);
36+
border-radius: 6px;
37+
padding: .8rem 1rem;
38+
font: 13px/1.5 SF Mono, Consolas, monospace;
39+
overflow-x: auto;
40+
margin: .5em 0;
41+
}
42+
code { font: 13px/1.5 SF Mono, Consolas, monospace; }
43+
pre .cmt { color: #555; }
44+
pre .fn { color: var(--pink); }
45+
.btn {
46+
display: inline-block;
47+
background: var(--pink);
48+
color: #000;
49+
font-weight: 600;
50+
padding: .6rem 1.4rem;
51+
border-radius: 6px;
52+
margin: 1em .5em 1em 0;
53+
}
54+
.btn:hover { opacity: .85; text-decoration: none; }
55+
.btn-outline {
56+
background: none;
57+
border: 1px solid var(--pink);
58+
color: var(--pink);
59+
}
60+
.logo {
61+
display: block;
62+
font-family: SF Mono, Consolas, monospace;
63+
white-space: pre;
64+
line-height: 1.3;
65+
color: var(--pink);
66+
font-size: 12px;
67+
margin: 1rem 0;
68+
}
69+
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; margin: 1em 0; }
70+
.card {
71+
border: 1px solid var(--border);
72+
border-radius: 6px;
73+
padding: 1rem;
74+
background: #111;
75+
}
76+
.card h3 { font-size: .9rem; margin-bottom: .3rem; }
77+
.card p { font-size: .8rem; }
78+
footer {
79+
margin-top: 3rem;
80+
padding-top: 1.5rem;
81+
border-top: 1px solid var(--border);
82+
font-size: .8rem;
83+
color: #555;
84+
}
85+
</style>
86+
87+
<pre class="logo"> ▄▄▄▄▄▄▄▄▄▄▄
88+
█ █
89+
█ ▄▄▄▄▄▄ █
90+
█ █ █ █
91+
█ █ ██ █ █
92+
█ █ █ █ █ █
93+
█ █ █ █ █ █
94+
█ █ ██ █ █
95+
█ █ █ █
96+
█ ▀▀▀▀▀▀ █
97+
█ █
98+
▀▀▀▀▀▀▀▀▀
99+
<span style="font-size:14px;font-weight:700">CURSOR</span></pre>
100+
101+
<h1><span>Cursor</span> — AI coding agent</h1>
102+
<p>Cross-platform CLI agent that works with codebases, files, commands, and repositories. Keyboard-native. Zero-config startup. No bloat.</p>
103+
104+
<a class="btn" href="https://github.com/bniladridas/cursor/releases">Download</a>
105+
<a class="btn btn-outline" href="https://github.com/bniladridas/cursor">GitHub</a>
106+
107+
<h2>Install</h2>
108+
109+
<pre><span class="cmt"># npm</span>
110+
npm i -g @bniladridas/cursor
111+
112+
<span class="cmt"># brew</span>
113+
brew tap palmshed/cursor && brew install palmshed/cursor/cursor
114+
115+
<span class="cmt"># curl (Linux/macOS)</span>
116+
curl -fsSL https://github.com/bniladridas/cursor/raw/main/install.sh | sudo sh
117+
118+
<span class="cmt"># from source</span>
119+
cmake -S . -B build && cmake --build build</pre>
120+
121+
<h2>What it does</h2>
122+
<div class="grid">
123+
<div class="card">
124+
<h3>Chat</h3>
125+
<p>Ask questions about your codebase. AI answers with context-aware responses and markdown rendering.</p>
126+
</div>
127+
<div class="card">
128+
<h3>Commands</h3>
129+
<p>Search web, run git, read files, execute shell commands — all from the prompt.</p>
130+
</div>
131+
<div class="card">
132+
<h3>Agentic</h3>
133+
<p>Set goals, track tasks, and let Cursor work through complex workflows autonomously.</p>
134+
</div>
135+
<div class="card">
136+
<h3>Multi-service</h3>
137+
<p>Ollama, OpenAI-compatible APIs, GitHub, MCP servers — plug in what you need.</p>
138+
</div>
139+
</div>
140+
141+
<h2>Quick start</h2>
142+
<pre><span class="fn">cursor</span>
143+
<span class="cmt"># picks mode (Online/Offline) and model, drops you in</span>
144+
&gt; what does this project do?
145+
<span style="color:var(--pink)">Cursor</span>
146+
│ Cursor is an AI coding agent for the terminal...</pre>
147+
148+
<h2>Platforms</h2>
149+
<p>Pre-built binaries for <strong>Linux</strong> (amd64), <strong>macOS</strong> (arm64), and <strong>Windows</strong> (amd64) — on the <a href="https://github.com/bniladridas/cursor/releases">releases page</a>.</p>
150+
151+
<h2>Design</h2>
152+
<p>Input-first, progressive disclosure, zero-config startup. Every pixel serves one goal: reduce friction between thought and action. Read the full <a href="https://github.com/bniladridas/cursor/blob/main/DESIGN.md">design spec</a>.</p>
153+
154+
<footer>
155+
<a href="https://github.com/bniladridas/cursor">GitHub</a> ·
156+
<a href="https://github.com/bniladridas/cursor/releases">Releases</a> ·
157+
Apache 2.0
158+
</footer>

.github/workflows/pages.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Pages
2+
on:
3+
push:
4+
branches: [main]
5+
paths: ['.github/index.html']
6+
workflow_dispatch:
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
concurrency:
12+
group: pages
13+
cancel-in-progress: false
14+
jobs:
15+
deploy:
16+
runs-on: ubuntu-latest
17+
environment:
18+
name: github-pages
19+
url: ${{ steps.deployment.outputs.page_url }}
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/configure-pages@v5
23+
- uses: actions/upload-pages-artifact@v3
24+
with:
25+
path: .github
26+
- id: deployment
27+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)