open-index/open-npm huggingface dataset:
npm package: @gitton-dev/cli
Description: CLI tool for managing Gitton plugins
Author: godai
Latest version: 0.0.20

# @gitton-dev/cli

CLI tool for managing Gitton plugins.

## Installation

```bash
npm install -g @gitton-dev/cli
```

## Usage

### Install a plugin

```bash
# Install by full package name
gitton install @gitton-dev/plugin-github-actions

# Or use shorthand (automatically expands to @gitton-dev/plugin-{name})
gitton install github-actions
```

### List installed plugins

```bash
gitton list
```

### Uninstall a plugin

```bash
gitton uninstall github-actions
```

## Options

- `--dev` - Use development plugins directory (for plugin developers)

## Plugin Directory

Plugins are installed to:

- **macOS**: `~/Library/Application Support/gitton/plugins/`
- **Windows**: `%APPDATA%/gitton/plugins/`
- **Linux**: `~/.config/gitton/plugins/`

## License

MIT
npm package: @gitton-dev/plugin-dependency-graph
Description: Visualize file dependencies in your project
Author: godai
Latest version: 0.0.20

# Gitton Plugin: Dependency Graph

Visualize import/require dependencies between files in your project.

## Features

- **Interactive Graph**: View your project's file dependencies as an interactive node graph
- **Click to Focus**: Click on any file node to highlight its dependencies and dependents
- **Search**: Filter files by name or path
- **Layout Toggle**: Switch between horizontal and vertical layouts
- **Dark Mode Support**: Automatically adapts to your system theme

## Supported File Types

- TypeScript (`.ts`, `.tsx`)
- JavaScript (`.js`, `.jsx`, `.mjs`, `.cjs`)
- Vue (`.vue`)
- Svelte (`.svelte`)

## Import Detection

The analyzer detects the following import patterns:

- ES6 imports: `import x from './path'`
- Named imports: `import { x } from './path'`
- Type imports: `import type { x } from './path'`
- Dynamic imports: `import('./path')`
- CommonJS: `require('./path')`

## Settings

Configure the analyzer in Settings > Dependency Graph:

- **Include Paths**: Directories to analyze (default: `src`)
- **Exclude Paths**: Directories to skip (default: `node_modules, dist, build, .git`)
- **Show External Dependencies**: Include npm packages in the graph

## Installation

1. Download the plugin or clone this repository
2. In Gitton, go to Settings > Plugins
3. Click "Install from Folder" and select the plugin directory
4. Enable the plugin

## Development

```bash
npm install
npm run dev
```

## Build

```bash
npm run build
```

## License

MIT
npm package: @gitton-dev/plugin-github-actions
Description: View and trigger GitHub Actions workflows from Gitton
Author: godai
Latest version: 0.0.20

# Gitton GitHub Actions Plugin

View and trigger GitHub Actions workflows directly from Gitton.

![GitHub Actions Plugin](./github-actions-plugin.png)

## Features

- View all workflows in your repository
- See recent run status (success, failure, pending)
- Trigger workflow_dispatch enabled workflows
- Quick access to run logs on GitHub

## Installation

1. Download the latest release ZIP file
2. In Gitton, go to Settings > Plugins
3. Click "Upload ZIP" and select the downloaded file

## Configuration

1. Go to Settings > Plugins > GitHub Actions tab
2. Enter your GitHub Personal Access Token
   - Required scopes: `repo`, `workflow`
   - [Create a new token](https://github.com/settings/tokens/new?scopes=repo,workflow&description=Gitton%20GitHub%20Actions)
3. Enter your repository owner and name
4. Click "Save Settings"

## Usage

1. Open a repository in Gitton
2. Click the "GitHub Actions" item in the sidebar
3. View your workflows and their status
4. Click "Run Workflow" to trigger a workflow

## Development

```bash
# Clone the repository
git clone https://github.com/example/gitton-plugin-github-actions

# Create ZIP for distribution
zip -r gitton-plugin-github-actions.zip gitton-plugin-github-actions
```

## License

MIT
npm package: @gittrends-app/core
Description: `@gittrends-app/core` is a core library for interacting with GitHub's API, providing caching mechanisms and other utilities to simplify the process of fetching and managing data from GitHub.
Latest version: 3.2.0

# @gittrends-app/core

`@gittrends-app/core` is a core library for interacting with GitHub's API, providing caching mechanisms and other utilities to simplify the process of fetching and managing data from GitHub.

## Installation

To install the package, use npm or yarn:

```bash
npm install @gittrends-app/core
# or
yarn add @gittrends-app/core
```

## Usage

Here is an example of how to use the `@gittrends-app/core` package to fetch resources from a GitHub repository:

```typescript
import { Cache, GithubClient, GithubService, Service } from '@gittrends-app/core';

class MyCache implements Cache {
  // Implement cache methods here
}

(async function main() {
  console.log('Creating Github client ...');
  const client = new GithubClient('https://api.github.com', { apiToken: '<your_access_token>' });

  console.log('Fetching resources from GitHub ...');
  let service: Service = new GithubService(client);

  console.log('Wraps base services with caching capabilities');
  service = new CacheService(service, new MyCache());

  console.log('Fetching resources from GitHub ...');
  const repo = await service.repository('owner', 'repo');

  if (!repo) throw new Error('Repository not found!');

  console.log(`Fetching tags of repository owner/repo ...`);
  const it = service.resources(resource, { repository: repo.id });
  for await (const res of it) console.log(res.data);

  console.log('Done!');
})();
```

## Features

- Interact with GitHub's API
- Simple caching mechanisms
- Utility functions for managing data

## License

MIT