wakapi-stats

command module
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README ΒΆ

πŸ“Š Wakapi-Stats

Generator images from Wakapi

Report Bug Β· Request Feature

πŸ“Š Metrics past 30 days
πŸ’¬ Most used programming languages πŸ› οΈ Most used editors

🧐 Features

  • βœ… 100 % free and open-source

  • βœ… No need CI

  • βœ… Generate most used editors

  • βœ… Generate most used programming languages

  • βœ… Generate most used operating systems

  • βœ… Self-hosted

πŸ”§ Endpoint availables

(/stats/editors, /stats/languages, /stats/operatingSystems, /stats/machines, /stats/projects)

Range possibility today, yesterday, week, month, year, 7_days, last_7_days, 30_days, last_30_days, 12_months, last_12_months, any

Please do not forget to put your wakapi endpoint into public

http://localhost:8080/api/v1/editors?url=https://stats-code.thomaslacaze.fr/api/v1/users/thomaslacaze/stats/30_days

☁️ Public instance

https://wakapi-stats.thomaslacaze.fr/api/v1/editors?url=https://stats-code.thomaslacaze.fr/api/v1/users/thomaslacaze/stats/30_days

πŸ› οΈ Installation Steps

🐳 Option 1: Run from Docker run

# Run the container
$ docker run -d \
  -p 8080:8080 \
  -e "ENVIRONMENT=prod" \
  --name wakapi-stats thomaslacaze/wakapi-stats:1.1.0

🐳 Option 2: Run from Docker-compose

See here

πŸ’» Option 3: Run from source

Prerequisites
  • Go >= 1.8 (with $GOPATH properly set)
  1. Clone the repository
git clone https://github.com/LacazeThomas/wakapi-stats.git
  1. Change the working directory
cd wakapi-stats
  1. Setup environnement variables
Environment Variable Default Description
ENVIRONMENT dev Whether to use development or production settings
  1. Run the app
go build -o wakapi-stats && ./wakapi-stats

🌟 You are all set!

πŸ™‡ Special Thanks

Dockerfile

Dockerfile

License

MIT


Developed with ❀️ in France

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 捒网址