Skip to main content

Star A Repository on Github

In this example, we will use Cloudflare Worker AI to star a repository on Github using Composio Tools
1

Install Packages

JavaScript
2

Setup wrangler in wrangler.toml file

wrangler.toml
3

Import Libraries & Initialize Hono

worker.js
4

Create an endpoint & get GitHub Tools

You can get all the tools for a given app as shown below, but you can get specific actions and filter actions using usecase & tags. Learn more here
worker.js
5

Start the Worker

CLI