Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nyaa8/codestats-fish

🐟 A simple Fish shell plugin for Code::Stats
https://github.com/nyaa8/codestats-fish

Last synced: about 2 months ago
JSON representation

🐟 A simple Fish shell plugin for Code::Stats

Awesome Lists containing this project

README

        

🐟 codestats-fish
=================

A simple [Fish shell](https://fishshell.com/) *plugin* for [Code::Stats](https://codestats.net/).
Currently only counts characters from executed commands (sheesh)

Inspired a bit by the [Code::Stats plugin for ZSH](https://gitlab.com/code-stats/code-stats-zsh)

Installation
------------

Using [fisher](https://github.com/jorgebucaran/fisher):

```sh
fisher install nyaa8/codestats-fish
```

With [fundle](https://github.com/danhper/fundle):

```sh
fundle plugin nyaa8/codestats-fish
```

Requirements
------------
* cURL
* fish 🙂

Configuration
-------------

Set `CODESTATS_API_KEY` to a token:
```sh
set -Ux CODESTATS_API_KEY "SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ"
```

Set `CODESTATS_API_URL` if you want to use a different instance:
```sh
set -Ux CODESTATS_API_URL "https://beta.codestats.net/api"
```