Coder Social home page Coder Social logo

silentsoft / hits Goto Github PK

View Code? Open in Web Editor NEW
89.0 2.0 12.0 2.29 MB

:chart_with_upwards_trend: Hit Counter for Your GitHub or Any Kind of Websites You Want.

Home Page: https://hits.sh

License: MIT License

JavaScript 41.36% Java 56.98% CSS 0.23% HTML 1.43%
hits hit-counter view-counter visitor-counter github counter analytics page-counter github-profile github-counter

hits's Introduction

Hits
Uptime Robot status Uptime Robot ratio (30 days)

Getting Started

Hits supports the following three of the most common use cases: Markdown, HTML and Image Link.

For example, to get a hits badge for https://github.com/silentsoft/hits:

Hits

  • Markdown
    [![Hits](https://hits.sh/github.com/silentsoft/hits.svg)](https://hits.sh/github.com/silentsoft/hits/)
  • HTML
    <a href="https://hits.sh/github.com/silentsoft/hits/"><img alt="Hits" src="https://hits.sh/github.com/silentsoft/hits.svg"/></a>
  • Image Link
    https://hits.sh/github.com/silentsoft/hits.svg
    

Features in Query String

view

  • total (default)
  • today-total

style

  • flat (default)
  • flat-square
  • for-the-badge
  • plastic

label

  • For setting the label text instead of the default hits.

extraCount

  • This is useful if you want to add an extra count to your badge. For example, if you want to add a count of 1000 to your badge, you can set extraCount=1000.
  • When Do I Need This?
    • If the hit counter service you used previously has end-of-service, you can start with any number instead of starting from 1.

color, labelColor

  • Named color by shields.io

  • Any valid CSS color

    • named color
      • etc.
    • hexadecimal numbers
      • etc.
    • rgb[a](red, green, blue[, opacity])
    • cmyk[a](cyan, magenta, yellow, black[, opacity])
    • hsl[a](hue, saturation, lightness[, opacity])

logo

Statistics

You can see the statistics of your website by replacing the .svg with / in the URL you used to get the badge.

For example, to get a statistics for https://github.com/silentsoft/hits then visit https://hits.sh/github.com/silentsoft/hits/

Installation

$ git clone https://github.com/silentsoft/hits.git
$ cd hits
$ mvnw spring-boot:run

Packaging

$ mvnw clean package -P production

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please note we have a CODE_OF_CONDUCT, please follow it in all your interactions with the project.

License

Please refer to LICENSE and NOTICE.

Thanks to

JetBrains Logo (Main) logo.

hits's People

Contributors

inseong-so avatar silentsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hits's Issues

Support statistics feature for specific url

Motivation

Users may want to see the number of hits by date for a specific url that they created through a chart UI such as a dashboard.

This feature could lead users to visit their individual hits url via a hyperlink on the badge to see the details. e.g. https://hits.sh/foo.com/bar/.

Requires

  • DB table for specific urn and date not an entire hits.
  • JSON API for getting hits by date.
    • GET /api/**/* e.g. /api/foo.com/bar
  • Routing pages for individual urls.
  • Link badge svg to that url when creating badge from index page.

Colorpicker를 적용한다.

개요

컬러를 선택할 때 조금 더 사용자 경험을 높이기 위함

  1. react-color를 사용한다.
  2. 컴포넌트 및 커스텀 훅을 만들어 중복된 코드를 제거한다.

관련 이슈

  1. 드래그 이벤트 시 틱 당 서버로 요청이 가서 많은 부하가 걸리므로 이에 대한 이벤트 분리가 필요

    @silentsoft 님 코멘트

Make the color picker code as a component

Description

The color picker code is currently inlined in Content.js, so it consists of duplicate code. It would be nice to make this into a component. Perhaps src/main/react/components/ColorPicker.js would be suitable. Like SimpleDropdown.js.

[Notice] Service maintenance

[Notice] Service maintenance

Schedule

  • On Tuesday, November 28, from 06:00 a.m. to 18:00 p.m. (GMT+9, about 12 hours)

Down time

  • On Tuesday, November 28, from 09:35 a.m. to 15:35 p.m. (GMT+9, about 6 hours)

invisible badge option?

this is my first ever "issue", I write on github. And to be honest - I use git more or less as a backup and versioning-tool.
I looked at the service you provide at hits.sh and this is exactly, what I was looking for.
The only change, I would need is an option for an invisible badge.

what is the best way to proceed? Should I click on "pull request", change the java source code and use the new code on my own server? What if someone else also needs this option?

I am really sorry, if this is a stupid question.
Christian

React 에러 로그

개요

개발자 도구의 콘솔에 에러가 출력

  1. 케밥 케이스로 선언된 속성 에러
  2. 반복 엘리먼트에 key 속성이 없음

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.