Skip to content

Instantly share code, notes, and snippets.

View gosuri's full-sized avatar

Greg Osuri gosuri

View GitHub Profile
---
version: "2.0"
services:
service-1:
image: winglian/axolotl:main-py3.11-cu121-2.2.1
expose:
- port: 80
as: 80
to:
- global: true
@gosuri
gosuri / screenshot.ts
Created December 9, 2024 16:51
screenshot.ts
import Anthropic from '@anthropic-ai/sdk';
const anthropic = new Anthropic();
const system_prompt = `
You are using a Mac running MacOS 15.1.1 with internet access.
You are a helpful assistant that can help with tasks on a computer.
`
async function takeKindleScreenshot(anthropic: Anthropic, pageNum: number) {