vladkens / ghstats

🤩📈 Self-hosted dashboard for tracking GitHub repos traffic history longer than 14 days.
MIT License
113 stars 1 forks source link

Page title #6

Closed modem7 closed 1 month ago

modem7 commented 1 month ago

To make things appear neater, is it possible to add a page title for tabs?

Currently, it's just showing as ghstats.mydomain.com in the tab.

My thiking is:

Homepage: GHStats (or similar)
Repo: Repoowner/reponame

Low priority I know.

101br03k commented 1 month ago

Taking a quick look it seams that because there is no title set in src/main.rs it pickes the default wich in my case is the LAN IPv4 adres and port inluding the repowner and repo name with slashes.

Static should be easy to do, dynamic a little harder but not to hard since the var that sets the repo name in the page sould be able to put in there. Will try it localy but can't push it to gh because I already have a brance for #3 in order to order pr and issues / feature requests using github templates.

Also would like to point out there is no icon set. Will just set one in there, will just be the owner icon for now. Also no rust for long time, this can take some time.

edit: typo's

vladkens commented 1 month ago

@modem7 nice catch. I will include this into next release.

vladkens commented 1 month ago

Released in v0.3.0