imagecount banner

imagecount

8 devlogs
8h 44m 5s

A visit counter in the style of sheilds.io and made in python

Demo Repository

Loading README...

gavhu10

Shipped this project!

Hours: 8.73
Cookies: 🍪 85
Multiplier: 9.76 cookies/hr

I used typed python. However, I did not enjoy it. I think that python works much better not typed. The uv tool, though, was very nice, and I hope to continue with it.

gavhu10

I added a new style. It took a lot of fine tuning, but now it looks like the for-the-badge style offered by shields.io.

Attachment
0
gavhu10

I made so that the site creates it’s own demo counter. Now when you run flask init, then it will set itself up. I also put back the old graph theme.

Attachment
Attachment
0
gavhu10

I added a page to the site. The css is github-markdown-css by sindresorhus. 1200+ lines of css is probably overkill for 40 lines of html, but whatever.

Attachment
0
gavhu10

I just spent a lot of time learning how to create a histogram. I wrote some code that separated the timestamps and counted them, and then slowly cut away chunks of redundant code until I had one line left that made the histogram. Live and learn I guess lol.

Attachment
0
gavhu10

I made graphs! Now you can see how many times, and at what times, your site has been visited.

Attachment
0
gavhu10

I added a bunch of configuration options and fixed the mime type. I had issues with github caching the icons, so the count on the readme might not be accurate, but I think I fixed it. I also wrote the readme. Check it out and add to the count!

Attachment
0
gavhu10

I added the actual images part and ratelimiting. I used the anybadge project so that the project is entirely in python. I also added type hints to my functions.

Attachment
0
gavhu10

I started to implement this project! I going to make this with astral’s tools, as I have not used them before.

Attachment
0