Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# create-kernel-app

<p align="left">
<img alt="GitHub License" src="https://img.shields.io/github/license/onkernel/create-kernel-app">
<a href="https://discord.gg/FBrveQRcud"><img src="https://img.shields.io/discord/1342243238748225556?logo=discord&logoColor=white&color=7289DA" alt="Discord"></a>
<a href="https://x.com/juecd__"><img src="https://img.shields.io/twitter/follow/juecd__" alt="Follow @juecd__"></a>
<a href="https://x.com/rfgarcia"><img src="https://img.shields.io/twitter/follow/rfgarcia" alt="Follow @rfgarcia"></a>
</p>

A CLI tool to create the scaffolding for a new Kernel applications. This tool helps you get started with building browser automation applications using Kernel's platform.

## Features
Expand Down
9 changes: 3 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ function copyTemplateFiles(
filter: (src, dest) => {
const filename = path.basename(src);
if (filename === '_gitignore') {
console.log("Copying _gitignore");
fs.copyFileSync(src, dest);
// Rename it to .gitignore
fs.renameSync(dest, path.join(path.dirname(dest), '.gitignore'));
Expand Down Expand Up @@ -368,16 +367,14 @@ function printNextSteps(
🎉 Kernel app created successfully!

Next steps:
brew install onkernel/tap/kernel
cd ${appName}
# Request early access for an API key: https://waitlist.onkernel.com/r/mZW2zz
export KERNEL_API_KEY=<YOUR_API_KEY>
${
language === LANGUAGE_PYTHON
? "uv venv && source .venv/bin/activate && uv sync"
: ""
}
${deployCommand}
${INVOKE_SAMPLES[language][template]}
# Do this in a separate tab
export KERNEL_API_KEY=<YOUR_API_KEY>
kernel logs ${REGISTERED_APP_NAMES[language][template]} --follow
`)
);
Expand Down