🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

llml

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

llml

CLI tool for cloning and symlinking GitHub repositories

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

llml

A CLI tool for cloning GitHub repositories and creating local symlinks in the current working directory. This is used by LLMs to reference code from GitHub repositories in thier generated code.

Installation

npx llml <repository>

Usage

You can use llml with either a full GitHub URL or a shorthand owner/repo format:

# Using full URL
npx llml https://github.com/owner/repo

# Using shorthand format
npx llml owner/repo

# Update existing repositories
npx llml --update

What it does

  • Creates a .llml-src directory in your home folder to store cloned repositories
  • Creates a .llml directory in your current working directory
  • Clones the specified repository to .llml-src (if it doesn't exist)
  • Creates a symlink from the cloned repository to .llml/[repo-name]

When using --update:

  • Shows an interactive list of all repositories in .llml-src
  • Allows you to select repositories using spacebar
  • Runs git pull on each selected repository to update them

Example

# Clone and link a repository
npx llml facebook/react

# This will:
# 1. Clone https://github.com/facebook/react to ~/.llml-src/react
# 2. Create a symlink at ./.llml/react pointing to ~/.llml-src/react

# Update existing repositories
npx llml --update

# This will:
# 1. Show a list of all repositories in ~/.llml-src
# 2. Let you select which ones to update using spacebar
# 3. Run git pull on the selected repositories

Keywords

github

FAQs

Package last updated on 21 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts