<commit_before># Plugin repository

This is and SSH based and command line controlled plugin repository.

## Rationale

Most plugin repositories are web-first, while this is usually overkill.
SSH is powerful enough to perform authentication and easy to build authorization around it.
Easy to install. No database or fancy tools required.

## Synopsis

As collaborator:

    $ pr publish tcsh colorize-output https://github.com/pirj/tcsh-colorize-output.git
    $ pr rm tcsh colorize-output

As user:

    $ pr add tcsh tcsh.plug-repo.net
    $ pr info tcsh
    $ pr ls tcsh
    $ pr fetch tcsh colorize-output
    $ pr register tcsh

As owner:

    $ pr collab <EMAIL>
    $ pr uncollab <EMAIL>-you-thought-you-<EMAIL>

## Installation

    $ scp ~/.ssh/id_rsa.pub your-plugin-repo-host:~
    $ ssh your-plugin-repo-host
    $ sudo useradd -mU plug-repo
    $ sudo mv id_rsa.pub /home/plug-repo/owner.pub
    $ sudo chown plug-repo:plug-repo /home/plug-repo/owner.pub
    $ sudo su - plug-repo
    $ curl https://raw.githubusercontent.com/pirj/plug-repo/master/install.sh | bash -s
    $ edit info

## Is it any good?

[Yes](https://news.ycombinator.com/item?id=3067434).

## Author

<NAME>
pirjsuka at gmail com<commit_msg>fix script name<commit_after># Plugin repository

This is and SSH based and command line controlled plugin repository.

## Rationale

Most plugin repositories are web-first, while this is usually overkill.
SSH is powerful enough to perform authentication and easy to build authorization around it.
Easy to install. No database or fancy tools required.

## Synopsis

As collaborator:

    $ pr publish tcsh colorize-output https://github.com/pirj/tcsh-colorize-output.git
    $ pr rm tcsh colorize-output

As user:

    $ pr add tcsh tcsh.plug-repo.net
    $ pr info tcsh
    $ pr ls tcsh
    $ pr fetch tcsh colorize-output
    $ pr register tcsh

As owner:

    $ pr collab <EMAIL>
    $ pr uncollab <EMAIL>

## Installation

    $ scp ~/.ssh/id_rsa.pub your-plugin-repo-host:~
    $ ssh your-plugin-repo-host
    $ sudo useradd -mU plug-repo
    $ sudo mv id_rsa.pub /home/plug-repo/owner.pub
    $ sudo chown plug-repo:plug-repo /home/plug-repo/owner.pub
    $ sudo su - plug-repo
    $ curl https://raw.githubusercontent.com/pirj/plug-repo/master/init.sh | bash -s
    $ edit info

## Is it any good?

[Yes](https://news.ycombinator.com/item?id=3067434).

## Author

<NAME>
<EMAIL>jsuka at gmail com
{'fraction_non_alphanumeric': 0.10218376596621344, 'fraction_numerical': 0.0057684384013185, 'mean_word_length': 3.053422370617696, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7598565', 'n_tokens_mistral': 859, 'n_tokens_neox': 821, 'n_words': 251}