Roll your own Claude in 100 lines

rapiz1 pts0 comments

GitHub - yujqiao/100cc: Roll your own claude code with 100 lines · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

yujqiao

100cc

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>1 Commit<br>1 Commit

docs/screenshot

docs/screenshot

src

src

.env.example

.env.example

.gitignore

.gitignore

README.md

README.md

TODO.md

TODO.md

bun.lock

bun.lock

package.json

package.json

tsconfig.json

tsconfig.json

View all files

Repository files navigation

100cc

Roll your own coding agent with 100 lines

Setup

bun install

Create a .env with:

OPENAI_API_KEY=... # required<br>OPENAI_MODEL=... # required<br>OPENAI_BASE_URL=... # optional, defaults to OpenAI's official endpoint

Run

It starts with the bare minimal. Only non-interactive mode(-p) is implemented

bun start -- -p "review this project and add 3 jokes to README.md"

Ask it to write itself

bun start -- -c -p "implement interactive mode for this project" # -c to continue from the last session

Get some eyecandy

bun start -- -c -p "make this project look nicer"

Going Further

Ask your 100cc to implement TODO.md

Have fun and share with your friends!

About

Roll your own claude code with 100 lines

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

TypeScript<br>100.0%

You can’t perform that action at this time.

reload search commit roll lines 100cc

Related Articles