{"id":28204559,"url":"https://github.com/moo-w/geasty","last_synced_at":"2025-06-14T06:30:33.963Z","repository":{"id":285555991,"uuid":"958543741","full_name":"moo-w/geasty","owner":"moo-w","description":"Simple and easy to use Gist API client","archived":false,"fork":false,"pushed_at":"2025-04-18T10:25:18.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T06:11:25.762Z","etag":null,"topics":["api","api-client","gist","github","typescript-library"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moo-w.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-01T11:20:35.000Z","updated_at":"2025-04-21T14:44:29.000Z","dependencies_parsed_at":"2025-04-16T11:10:52.682Z","dependency_job_id":null,"html_url":"https://github.com/moo-w/geasty","commit_stats":null,"previous_names":["moo-w/geasty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moo-w/geasty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moo-w%2Fgeasty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moo-w%2Fgeasty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moo-w%2Fgeasty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moo-w%2Fgeasty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moo-w","download_url":"https://codeload.github.com/moo-w/geasty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moo-w%2Fgeasty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259773848,"owners_count":22909159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","gist","github","typescript-library"],"created_at":"2025-05-17T06:11:58.419Z","updated_at":"2025-06-14T06:30:33.957Z","avatar_url":"https://github.com/moo-w.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geasty\n\nSimple and easy to use TypeScript library for interacting with GitHub [Gist](https://gist.github.com) API.\n\n## Features\n\n- Full CRUD operations for gists\n- Support for forks, stars, and commits\n- Type-safe API with proper TypeScript definitions\n- Error handling with custom error classes\n- Authentication via GitHub access tokens\n\n## Installation\n\n```bash\nnpm install geasty\n```\n\n## Usage\n\n```typescript\nimport Geasty from 'geasty'\n\n// Initialize with your GitHub access token\nconst geasty = new Geasty({ access_token: 'your-github-token' })\n\n// Example: Create a gist\nconst newGist = await geasty.createAGist({\n  files: {\n    'hello.txt': { content: 'Hello World!' }\n  },\n  public: true,\n  description: 'My first gist'\n})\n\n// Example: Get all gists\nconst myGists = await geasty.getAllGists()\n```\n\n## API Methods\n\n### Gist Management\n- `createAGist(options)`\n- `deleteAGist(gistId)`\n- `updateAGist(options)`\n- `getAGist(gistId)`\n- `getAllGists(options)`\n- `getPublicGists(options)`\n- `getStarredGists(options)`\n\n### User Gists\n- `getGistsForUser(options)`\n\n### Forks \u0026 Commits\n- `getGistForks(options)`\n- `getGistCommits(options)`\n- `forkAGist(gistId)`\n\n### Stars\n- `isGistStarred(gistId)`\n- `starAGist(gistId)`\n- `unstarAGist(gistId)`\n\n## Error Handling\n\nThe library throws custom `GeastyError` for authentication issues and wraps GitHub API errors.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoo-w%2Fgeasty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoo-w%2Fgeasty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoo-w%2Fgeasty/lists"}