Scroll to the bottom and click "Generate token".Visit this link to create a new Personal Access Token (no scopes required).Create your repository by filling in a Repository Name and clicking "Create".□ Click here for a video tutorial on how to self-host on Vercel Instructions for deploying to Vercel Step-by-step instructions for deploying to Vercel Option 1: Deploy to Vercel quickly with the Deploy button (recommended) Note PNG mode is not supported since Inkscape will not be installed but the default SVG mode will work. Watch the video below or expand the instructions to learn how to deploy to Vercel. Vercel is the recommended option for hosting the files since it is free and easy to set up. ![]() If using Heroku, the buildpacks will install these for you automatically. The Inkscape dependency is required for PNG rendering, as well as Segoe UI font for the intended rendering. You can deploy the PHP files on any website server with PHP installed including Heroku and Vercel. It is preferable to host the files on your own server and it takes less than 2 minutes to set up.ĭoing this can lead to better uptime and more control over customization (you can modify the code for your usage). You may need to wait up to 24 hours for new contributions to show up ( Learn how contributions are counted) □ Deploying it on your own If you have made a contribution today, it will be counted towards the current streak, however, if you have not made a contribution today, the streak will only count days before today so that your streak will not be zero. The current streak is the number of consecutive days ending with the current day on which you have made at least one contribution. ![]() The longest streak is the highest number of consecutive days on which you have made at least one contribution. To include contributions in private repositories, turn on the setting for "Private contributions" from the dropdown menu above the contribution graph on your profile page.Ĭontributions include commits, pull requests, and issues that you create in standalone repositories. This tool uses the contribution graphs on your GitHub profile to calculate which days you have contributed. ( n.j )] ( ) ℹ️ How these stats are calculated When the contribution year is equal to the current year, the characters in brackets will be omitted. The required format is to use format string characters from PHP's date function with brackets around the part representing the year. If date_format is not provided or is empty, the PHP Intl library is used to determine the date format based on the locale specified in the locale query parameter.Ī custom date format can be specified by passing a string to the date_format parameter. If you would like to help translate the Streak Stats cards, please see Issue #236 for more information. The locale provided will be used for the date format and number format even if translations are not yet available. The locale query parameter accepts any ISO language or locale code, see here for a list of valid locales. The following are the locales that have labels translated in Streak Stats. If you have come up with a new theme you'd like to share with others, please see Issue #32 for more information on how to contribute. To enable a theme, append &theme= followed by the theme name to the end of the source URL: By default, your account creation year is used. Hide the total contributions (Default: false) Positive integer, minimum width is 100px per column Width of the card in pixels (Default: 495) List of days of the week to exclude from streaksĬomma-separated list of day abbreviations (Sun, Mon, Tue, Wed, Thu, Fri, Sat) e.g. Locale for labels and numbers (Default: en)ĭaily (contribute daily) or weekly (contribute once per Sun-Sat week) Hex code without #, css color, or gradient in the form angle,start_color.,end_colorĬolor of the ring around the current streakĭate format pattern or empty for locale format Number 0 (sharp corners) to 248 (ellipse)īackground color (eg. Set the roundness of the edges (Default: 4.5) Make the border transparent (Default: false) If the theme parameter is specified, any color customizations specified will be applied on top of the theme, overriding the theme's values. The user field is the only required option. Here you can customize your Streak Stats card with a live preview. See Deploying it on your own for more details. It is recommended to self-host the project more better reliability. ![]() Check out the Demo Site or Options below for available customizations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |