Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nyaa8/codestats-fish
- Owner: nyaa8
- License: mit
- Created: 2021-01-10T20:23:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-17T11:36:50.000Z (almost 4 years ago)
- Last Synced: 2023-03-10T11:11:34.825Z (almost 2 years ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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"
```