Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions cllm-website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
41 changes: 41 additions & 0 deletions cllm-website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# CLLM Documentation Website

This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

### Installation

```
$ npm install
```

### Local Development

```
$ npm run start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ npm run build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Deployment

Using SSH:

```
$ USE_SSH=true npm deploy
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> npm deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
3 changes: 3 additions & 0 deletions cllm-website/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions cllm-website/blog/2024-03-15-welcome/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
slug: welcome
title: Welcome
authors: [chanism]
tags: [welcome]
---

Hello and Welcome to the **CLLM** documentation!

CLLM is a **C**ommand **L**ine **L**arge Language **M**odel tool that is designed to help you write cli-command.
Currently, CLLM is based on **GPT-3.5 Turbo** Model, which is a large language model developed by OpenAI.

Below are the list of commands that you can use to interact with CLLM.
- `help` - To get the list of commands that you can use.
- `search` - To search for a specific command about your query.
- `set key` - To set the OpenAI API key for using CLLM.
- `history` - To get the history of (query, command) that you have used.

If you have any questions or need help, feel free to ask in the [CLLM Discord](https://discord.gg/sy9BhhdbJu).

![cllm-example-1](./cllm-example-1.gif)
5 changes: 5 additions & 0 deletions cllm-website/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
chanism:
name: Chanwoong Kim
title: Owner of CLLM
url: https://github.com/ykdy3951
image_url: https://github.com/ykdy3951.png
21 changes: 21 additions & 0 deletions cllm-website/community/0-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
sidebar_position: 1
---

# Support

## Community

We are building a community around CLLM and we would love for you to join us. You can find us on [Discord](https://discord.gg/8v3Gk3j) and follow us on [Twitter](https://twitter.com/devbackpacks) to stay up to date with the latest news and announcements.

## Issue Tracker

If you encounter a bug or have a question about CLLM, please open an issue on our [GitHub repository](https://github.com/dev-backpack/cllm/issues) and tag it with the `bug` label.

## Feature Requests

If you have an idea for a new feature or improvement to CLLM, please open an issue on our [GitHub repository](https://github.com/dev-backpack/cllm/issues) and tag it with the `improvement` label.

## News

For the latest news about CLLM, follow us on [Twitter](https://twitter.com/devbackpacks) and join our [Discord server](https://discord.gg/8v3Gk3j) and the [CLLM Blog](../blog).
21 changes: 21 additions & 0 deletions cllm-website/community/1-team.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
sidebar_position: 2
---

import {
ActiveTeamRow,
HonoraryAlumniTeamRow,
StudentFellowsTeamRow,
} from '@site/src/components/TeamProfileCards';

# Team

## Owners

The following individuals are responsible for the overall direction and management of the CLLM.

<ActiveTeamRow />




8 changes: 8 additions & 0 deletions cllm-website/community/2-contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Contributing
sidebar_position: 3
---

# Contributing to CLLM

CLLM is an open-source project and we welcome contributions from the community. We are currently working on a contribution guide and will update this page with more information soon. In the meantime, feel free to reach out to us on our [Discord server](https://discord.gg/8v3Gk3j) if you have any questions or would like to get involved.
Binary file added cllm-website/docs/cllm-example-1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions cllm-website/docs/commands/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Commands",
"position": 3,
"link": {
"type": "generated-index",
"description": "Below is a list of CLLM commands and their usages"
}
}
13 changes: 13 additions & 0 deletions cllm-website/docs/commands/describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebar_position: 4
---

# describe

The `describe` command is used to display the description of a command.

## Usage

```bash
cllm describe <command>
```
25 changes: 25 additions & 0 deletions cllm-website/docs/commands/history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
sidebar_position: 3
---

# history

The `history` command is used to display the history of previous searches.

## Usage

```bash
cllm history --limit <limit> --offset <offset> --query <query>
```
or
```bash
cllm history -l <limit> -o <offset> -q <query>
```

## Options
<!-- table -->
| Option | Default | Description |
| --- | --- | -- |
| `--limit` or `-l` | `10` | Limit the number of results to display. |
| `--offset` or `-o` | `0` | Offset the results by a number. |
| `--query` or `-q` | `Optional` | Filter the results by a query. |
13 changes: 13 additions & 0 deletions cllm-website/docs/commands/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebar_position: 2
---

# search

The `search` command is used to search for a command.

## Usage

```bash
cllm search <command>
```
18 changes: 18 additions & 0 deletions cllm-website/docs/commands/set/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
slug: /set
sidebar_position: 1
---

# set

Configure application resources.

These commands help you make changes to existing application resources.
Configure application resources.

These commands help you make changes to existing application resources.

Usage
```bash
$ cllm set <SUBCOMMAND>
```
14 changes: 14 additions & 0 deletions cllm-website/docs/commands/set/key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
sidebar_position: 1
---

# key

The `key` command is used to set the API key for the OpenAI API.

## Usage

### Set Key
```bash
cllm set key <API_KEY>
```
24 changes: 24 additions & 0 deletions cllm-website/docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
sidebar_position: 2
---

# Getting Started

**CLLM** is a Command Line tool that is designed to help you **write & find cli-command** using **Large Language Model**.

## Installation

To install **CLLM**, you can use the following command:

### Homebrew (macOS and Linux)

```bash
brew tap dev-backpack/cllm
brew install cllm
```

### Install Script (macOS and Linux)

```bash
curl -sSL https://raw.githubusercontent.com/dev-backpack/cllm/main/install.sh | sh
```
14 changes: 14 additions & 0 deletions cllm-website/docs/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
sidebar_position: 1
---

# Introduction

### Welcome to the **CLLM** documentation! {#Welcome}

Empower your CLI experience with a command search tool driven by **LLM magic**!

This guide will help you get started with **CLLM** and show you how to use it to improve your CLI experience.

<!-- ./cllm-example-1.gif -->
![cllm-example-1](./cllm-example-1.gif)
Loading