hmvg

command module
v0.0.0-...-1bbf1bd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 10 Imported by: 0

README

How-many-views-github

Mini HTTP server, counts GitHub profile views

Usage

  • Go to github.com and create a repo that is the same as your username
  • Add a README file to that repo
  • Start editing the file and add this URL mentioned below
![](https://hmvg.herokuapp.com?username=your_github_username)
  • Now check preview, you should have an image with view counts (if you haven't used this before, the first count will be 0 and increase on each view)

💡 To change colors, try these parameters

To change "Profile views" background color

1

![](https://hmvg.herokuapp.com?username=your_github_username&first_color=b54ed4)

To change counts background color

2

![](https://hmvg.herokuapp.com?username=your_github_username&second_color=d4514e)

If you want to change both sides color

3

![](https://hmvg.herokuapp.com?username=your_github_username&first_color=d4514e&second_color=de7e1f)

Installation

To run it locally
  • Clone the repo git clone https://github.com/kiwimoe/hmvg.git

  • Move there and run go build*

  • Now run the server, should be active at localhost:1337

Note: "*" You must have to install Go before taking furthur steps. To download visit go.dev

To deploy on heroku

To learn how to deploy your own instance, visit Heroku docs

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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