Skip to content

HutchyBen/maifetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maifetch

a really lazy fetch tool for maitea written in go
also contains a little api wrapper for maitea too :D

image

configuration

variable description default environment variable cli argument
access token token for your MaiTea account (REQUIRED) N/A MAITEA_TOKEN --access-token -a
logo size size of the ASCII logo (zero or negative disables) 20 MAITEA_LOGO_SIZE --logo-size -l
score count amount of scores to display (max 12) 4 MAITEA_SCORE_COUNT --score-count -s
config file json file to store config variables refer to below MAITEA_CONFIG_FILE --config-file -c

Default config location

obtained from os.UserConfigDir

platform location
Windows %APPDATA%/maifetch.json
Linux $XDG_CONFIG_HOME/maifetch.json ~/.config/maifetch.json
OSX ~/Library/Application Support/maifetch.json

how to build

  1. clone the project with git clone https://github.com/HutchyBen/maifetch
  2. build with go build maifetch/cmd/maifetch
  3. run outputted executable ensuring access token is either
    • in config file
    • in environment variables
    • in command line options

todo

  • test it properly
  • add friendly errors

About

Command line tool to show your MaiTea profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages