Visitor Badge for your Web or Github repository

Overview

visitor-badge

Visitor Badge untuk Website atau Github repository, Dibuat dengan dan PHP native oleh Saya

Demo Langsung

Visitor Badge

Anda bisa me-refresh halaman ini jika ingin membuktikannya 😄

Penggunaan

Untuk menggunakannya sangat mudah, Anda hanya perlu melakukannya seperti berikut:

Markdown : ![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPO_ID) ">
HTML : "https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPO_ID" alt="Visitor Badge" />
Markdown : ![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPO_ID)

Anda juga bisa membuat badge dengan menggunakan Generator/Maker yang telah kami sediakan.

Maker

Paramter Standar

Parameter ini adalah URL parameter yang dibutuhkan (required)

Parameter Deskripsi
username Diisi dengan username repository github Anda
repo Diisi dengan ID atau NAMA repository anda

Parameter Opsional

Menyamakan Angka Visitor Sesuai dengan Views Repository

Jika Anda ingin menyamakan atau melakukan restart angka pada badge menjadi angka dari views yang ada di Insight > traffic > views repository Anda.

Maka, Anda perlu menambahkan parameter baru di URL yaitu token, yang nilainya adalah akses token pribadi Anda, oleh karena itu Anda perlu membuat akses token pribadi, Caranya silahkan baca di Creating a personal access token

Info:
Untuk langkah ke-8 yang ada dipanduan Creating a personal access token, anda hanya perlu mencentang 1 permission yaitu public_repo

Contoh Penggunaan Token :

![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&token=YOUR_PERSONAL_ACCESS_TOKEN)

Tipe Konten

Secara default badge yang dikembalikan adalah sebuah gambar PNG yang bisa saja buram, oleh karena itu, untuk saat ini telah disediakan tipe konten kedua yaitu SVG. Bagaimana mengatur tipe konten?

Untuk mengatur tipe konten Anda hanya perlu menambah parameter baru di URL, yaitu contentType.

Contoh Penggunaan ContentType :

![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&contentType=svg)

Info:
Jika tipe konten yang Anda masukan tidak ada dalam daftar tipe konten yang di sediakan, maka secara default tipe konten yang akan diberikan kembali ke tipe konten PNG

Tampilan

Berikut adalah daftar parameter untuk mengatur tampilan badge

Paramter Deskripsi
label Ini untuk mengganti label default (VISITOR) dengan label lain
color Ini untuk mengganti warna badge, anda bisa menggunakan nama warna (bahasa inggris), kode HEX, RGB, HSL
style Ini untuk tampilan badge, untuk info lebih lanjut silahkan lihat style pada shield.io
logo Jika anda ingin memberi logo, anda bisa lihat daftar logo di simple-icons

Contoh Kustomisasi

Label

Label : VIEWS
![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&style=for-the-badge&label=VIEWS)

Label : PENGUNJUNG
![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&style=for-the-badge&label=PENGUNJUNG)

Color

Name : ![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&color=red)
HEX : ![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&color=#e05d44)
RGB : ![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&color=rgb%28224%2C+93%2C+68%29)
HSL : ![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&color=hsl%2810%2C+72%25%2C+57%25%29)

Info:
Untuk penggunaan warna RGB dan HSL pada markdown maka Anda perlu melakukan url encode

Style

![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&style=STYLE_NAME)

Untuk nama gaya silahkan lihat daftar gaya pada shield.io

Logo

![Visitor Badge](https://visitor-badges.glitch.me?username=YOUR_USERNAME&repo=YOUR_REPOSITORY&logo=LOGO_NAME)

Untuk nama logo, silahkan lihat daftar logo yang di sediakan oleh simple-icons

Dukungan

Dukung projek ini.

Saweria

Semoga bermanfaat, terima kasih.

You might also like...
A Twitter bot powered by Github Actions tweeing Wikidata milestones
A Twitter bot powered by Github Actions tweeing Wikidata milestones

Twitter WikidataMeter Bot I'm the code, and deployment of Twitter bot WikidataMeter. I tweet a few fun things about Wikidata as it grows. Tweets Feel

Issue tracking application extending GitHub's issues and pull requests for the Joomla! project.

Requirements The issue tracker application requires a server running: PHP 7.2 or 7.3 PHP's ext/curl and ext/intl should also be installed MySQL 5.5.3

Laradeploy offers you to automate deployment using a GitHub webhook.

Introduction Laradeploy offers you to automate deployment using a GitHub webhook. Simple and fast just make a git push to GitHub deploy the new modifi

Plant Watering Sensor Project for Zigbee Network (based on the Source Code of the DIYRUZ Flower Project  - https://github.com/diyruz/flower).
Plant Watering Sensor Project for Zigbee Network (based on the Source Code of the DIYRUZ Flower Project - https://github.com/diyruz/flower).

Plant-Watering-Sensor-Zigbee Plant Watering Sensor Project for Zigbee Network (based on the Source Code of the DIYRUZ Flower Project

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitweb, Cgit, Subversion, Mercurial and more

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitweb, Cgit, Subversion, Mercurial and more

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

a robot with github

GitBot github 机器人:这是一个基于Github API的机器人,建立一些项目的规范(如 issue 格式、 pull request 格式、配置一些指定 label 根据的 owner 、统一 git commit log 格式等),基于 github webhooks 和 githu

The goal of this course is to give you a brief introduction to GitHub.
The goal of this course is to give you a brief introduction to GitHub.

👋 The Basics of GitHub 🤓 Course overview and learning outcomes The goal of this course is to give you a brief introduction to GitHub. We’ll also pro

This package is aimed to be a simplistic PHP workflow package that works in a similar fashion to GitHub Actions.

Workflow This package is aimed to be a simplistic PHP workflow package that works in a similar fashion to GitHub Actions. Installation To install this

Owner
Feri Irawan
Bismillahirahmanirahim.
Feri Irawan
This plugin allows you to display code from a repository, such as Github, Gitlab or others in order to use it as a resource in the courses.

Fetch Code This plugin allows you to display code from a repository, such as Github, Gitlab or others in order to use it as a resource in the courses.

Cambá Laboratorio de Tecnología 0 Dec 26, 2021
This repository aims to build a fairly complete CI/CD example using GitHub workflows and actions.

CI/CD example This repository aims to build a fairly complete CI/CD example using GitHub workflows and actions. Keep in mind that the toolset used in

Robin Ingelbrecht 4 Nov 1, 2022
🦭 Just a repository to discover GitHub (or Pokémons)!

Just a repository to discover GitHub (or Pokémons)! ?? Após alguns bons anos trabalhando com Git no Bitbucket, resolvi finalmente colocar um primeiro

Breno Serafini 0 Dec 3, 2022
Create changelogs based on your GitHub milestones

changelog_generator.php This project provides a simple way to create a markdown ordered list of issues and pull requests closed with a given milestone

Rob Allen 3 Aug 30, 2021
Compare your Github followers vs following users

followers-vs-following Compare your Github followers vs following users https://docs.github.com/en/rest/reference/users The code only queries 3k follo

Felix Biego 2 Jan 11, 2022
Discover your ranking on GitHub

Git stars About This project was inspired by Git Awards! Since it apparently isn't supported anymore we thought we'd take the concept back and add our

Pierre Grimaud 35 Dec 25, 2022
Repository untuk kuliah rekayasa web ss 2021

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Sandhika Galih 7 Jul 11, 2022
KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.

KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.

warlee 5.5k Feb 10, 2022
Your private self hosted composer repository with user management

Devliver Your private self-hosted composer repository. Requirements Docker MariaDB/MySQL the running docker container has access to private git reposi

Nikita Loges 53 Dec 30, 2022
[READ-ONLY] CakePHP Utility classes such as Inflector, Text, Hash, Security and Xml. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Utility Classes This library provides a range of utility classes that are used throughout the CakePHP framework What's in the toolbox? Hash A

CakePHP 112 Feb 15, 2022