更新 README.md

This commit is contained in:
晴月 2025-04-02 16:10:15 +08:00
parent b0c7c66936
commit bcb425a870

View File

@ -9,7 +9,7 @@ This repository hosts the source code for [https://webvm.io](https://webvm.io),
Try out the new Alpine / Xorg / i3 graphical environment: [https://webvm.io/alpine.html](https://webvm.io/alpine.html)
<img src="/assets/welcome_to_WebVM_alpine_2024.png" width="90%">
<img src="./assets/welcome_to_WebVM_alpine_2024.png" width="90%">
WebVM is a server-less virtual environment running fully client-side in HTML5/WebAssembly. It's designed to be Linux ABI-compatible. It runs an unmodified Debian distribution including many native development toolchains.
@ -27,7 +27,7 @@ Modern browsers do not provide APIs to directly use TCP or UDP. WebVM provides n
# Fork, deploy, customize
<img src="/assets/fork_deploy_instructions.gif" alt="deploy_instructions_gif" width="90%">
<img src="./assets/fork_deploy_instructions.gif" alt="deploy_instructions_gif" width="90%">
- Fork the repository.
- Enable Github pages in settings.
@ -43,7 +43,7 @@ Modern browsers do not provide APIs to directly use TCP or UDP. WebVM provides n
- After a few seconds a new `Deploy` workflow will start, click on it to see details.
- After the workflow completes, which takes a few minutes, it will show the URL below the `deploy_to_github_pages` job.
<img src="/assets/result.png" width="70%" >
<img src="./assets/result.png" width="70%" >
You can now customize `dockerfiles/debian_mini` to suit your needs, or make a new Dockerfile from scratch. Use the `Path to Dockerfile` workflow parameter to select it.
@ -158,21 +158,21 @@ To access Claude AI, you need an API key. Follow these steps to get started:
- Once logged in, navigate to **Get API keys**.
- Purchase the amount of credits you need. After completing the purchase, you'll be able to generate the key through the API console.
<img src="/assets/anthropic_api_payment.png" width="90%">
<img src="./assets/anthropic_api_payment.png" width="90%">
3. Log in with your API key
- Navigate to your WebVM and hover over the robot icon. This will show the Claude AI Integration tab. For added convenience, you can click the pin button in the top right corner to keep the tab in place.
- You'll see a prompt where you can insert your Claude API key.
- Insert your key and press enter.
<img src="/assets/insert_key.png" width="90%">
<img src="./assets/insert_key.png" width="90%">
4. Start using Claude AI
- Once your API key is entered, you can begin interacting with Claude AI by asking questions such as:
__"Solve the CTF challenge at `/home/user/chall1.bin.` Note that the binary reads from stdin."__
<img src="/assets/webvm_claude_ctf.gif" alt="deploy_instructions_gif" width="90%">
<img src="./assets/webvm_claude_ctf.gif" alt="deploy_instructions_gif" width="90%">
**Important:** Your API key is private and should never be shared. We do not have access to your key, which is not only stored locally in your browser.