๋น์ ์ ๊นํ๋ธ ํ๋ ๋ด์ญ์ FATALDRAW์ ํ์์๋ฐฐ ํฌ์คํฐ ์คํ์ผ์ ํฝ์
์ํธ๋ก ๋ง๋ค์ด์ฃผ๋ ์ก์
์
๋๋ค.
์ปค๋ฐ, ์คํ, PR ์์ ๋ฐ๋ผ ๋น์ ์ ํ์๊ธ(Bounty) ์ด ์ฑ
์ ๋๊ณ , ๊ทธ์ ๋ง๋ ์ํ ๋ฑ๊ธ(Rank) ๋์ฅ์ด ์ฐํ๋๋ค!
-
ํ์๊ธ ์์คํ :ํ๋๋์ ๋ฐ๋ผ ํ์๊ธ์ด ์ต๋ $99,999,999๊น์ง ์ฌ๋ผ๊ฐ๋๋ค. -
๋ฑ๊ธ ์์คํ :ํ์๊ธ ์ก์์ ๋ฐ๋ผ S+ ๋ถํฐ D ๊น์ง ๋ฑ๊ธ์ด ๋งค๊ฒจ์ง๋๋ค. -
๋นํฐ์ง ํจ๊ณผ:์ข ์ด ์ง๊ฐ๊ณผ ์ํฌ ๋ฒ์ง ํจ๊ณผ๊ฐ ์๋์ผ๋ก ์ ์ฉ๋ฉ๋๋ค. -
๋ฉํฐ ์บ๋ฆญํฐ:Juno์Rosalyn์ค ์ํ๋ ์บ๋ฆญํฐ๋ฅผ ์ ํํ ์ ์์ต๋๋ค.
| Juno | Rosalyn |
|---|---|
![]() |
![]() |
๋ณต์กํ ์ค์ ์์ด ๋ฐ๋ก ์ ์ฉํด ๋ณด์ธ์!
- ๋ณธ์ธ์ ๋ฆฌํฌ์งํ ๋ฆฌ์์
.github/workflowsํด๋๋ก ์ด๋ํฉ๋๋ค. (์์ผ๋ฉด ์์ฑํด์ฃผ์ธ์) profile-card.ymlํ์ผ์ ์๋ก ๋ง๋ค๊ณ ์๋ ์ฝ๋๋ฅผ ๊ทธ๋๋ก ๋ณต์ฌํด ๋ถ์ฌ๋ฃ์ต๋๋ค.
name: FATALDRAW Profile Card
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Generate Wanted Poster
uses: DevBawky/FATALDRAW_Github_Profile_Card@main
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GITHUB_TOKEN }} # ๋น๊ณต๊ฐ ์ปค๋ฐ๊น์ง ํฉํ๋ ค๋ฉด Configuration์ ์ฐธ๊ณ ํด์ฃผ์ธ์
character: 'Juno' # Choose Character you want (Juno / Rosalyn)
- name: Move to dist
run: |
mkdir -p dist
mv stats.svg dist/
- name: Push to Output Branch
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- ํ์ผ์
Commitํฉ๋๋ค. - ๋ฆฌํฌ์งํ ๋ฆฌ ์๋จ
[Actions]ํญ์ ํด๋ฆญํฉ๋๋ค. - ์ผ์ชฝ ๋ฉ๋ด์์
FATALDRAW Profile Card๋ฅผ ํด๋ฆญํ๊ณ , ์ค๋ฅธ์ชฝRun workflow๋ฒํผ์ ๋๋ฌ ์๋์ผ๋ก ์คํํด์ค๋๋ค. - ์ฝ 10์ด ํ ์ด๋ก์ ์ฒดํฌ๊ฐ ๋จ๋ฉด ์ฑ๊ณต์ ๋๋ค!
์ด์ ์์ฑ๋ ์ด๋ฏธ์ง๋ฅผ ๋ณธ์ธ์ ํ๋กํ(README.md) ์ ๋ถ์ฌ๋ฃ์ผ์ธ์!
๋ฐ๋์ ๋ณธ์ธ ์์ด๋ ์ ๋ฆฌํฌ์งํ ๋ฆฌ๋ช
์ผ๋ก src ๋ฅผ ์์ ํด์ผ ํฉ๋๋ค!!
<div align="center">
<a href="https://github.com/DevBawky/FATALDRAW_Github_Profile_Details.git">
<img src="https://github.com/{YOUR_GITHUB_ID}/{YOUR_REPOSITORY_NAME}/raw/output/stats.svg" width="600" alt="FATALDRAW" />
</a>
</div>profile-card.yml ์์ character ๊ฐ์ ๋ณ๊ฒฝํ๋ฉด ์บ๋ฆญํฐ๊ฐ ๋ฐ๋๋๋ค!
steps:
- uses: actions/checkout@v3
- name: Generate Wanted Poster
uses: DevBawky/FATALDRAW_Github_Profile_Card@main
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GITHUB_TOKEN }}
character: 'Juno' # (Juno / Rosalyn)๊ธฐ๋ณธ ์ค์ (secrets.GITHUB_TOKEN) ์ ๊ณต๊ฐ(Public) ๋ฆฌํฌ์งํ ๋ฆฌ ์ ํ๋๋ง ์ง๊ณํฉ๋๋ค.
๋น๊ณต๊ฐ ์ปค๋ฐ๊น์ง ๋ชจ๋ ํฉ์ณ์ "์ง์ง ํ์๊ธ"์ ๋ณด๊ณ ์ถ๋ค๋ฉด ์๋ ๋จ๊ณ๋ฅผ ๋ฐ๋ผํ์ธ์.
-
Personal access tokens (classic) ์ผ๋ก ์ด๋ํ์ฌ
Generate new token->Generate new token(classic)์ ๋ฐ๊ธ๋ฐ์ต๋๋ค.(๊ผญ ghp_ ๋ก ์์ํ๋ ํค๋ฅผ ๊ธฐ์ตํด๋์ธ์!) -
์๋์ ์ฌ์ง๊ณผ ๊ฐ์ด ๊ถํ์ ์ฒดํฌํด์ฃผ์ธ์.
- ๋ฆฌํฌ์งํ ๋ฆฌ
Settings->Secrets and variables->Actions๋ก ์ด๋ํฉ๋๋ค.
New repository secret์ ๋๋ฆ ๋๋ค.
- ์ด๋ฆ์
GH_TOKEN์ผ๋ก ํ์ฌ ์๊น ์ ์ฅํด๋ghp_xxxxx๋ก ์์ํ๋ ๊ฐ์ ๋ถ์ฌ๋ฃ์ ํAdd secret๋ฒํผ์ ๋๋ฌ ํ ํฐ์ ์ ์ฅํฉ๋๋ค.
profile-card.yml์ผ๋ก ์ด๋ํ์ฌ ์๋์ ๊ฐ์ด ์ฝ๋๋ฅผ ์์ ํฉ๋๋ค.
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GH_TOKEN }} # GITHUB_TOKEN -> GH_TOKEN
character: 'Juno'- ๊ถํ ๋ฌธ์ ์
๋๋ค.
๋ฆฌํฌ์งํ ๋ฆฌ Settings -> Actions -> General๋ก ์ด๋ํด์,
Workflow permissionํญ๋ชฉ์Read and write permissions๋ก ์ฒดํฌ ํ ์ ์ฅํด์ฃผ์ธ์!
- ์ก์
์ด ์์ง ์คํ๋์ง ์์
output๋ธ๋์น์ ํ์ผ์ด ์๋ ์ํ์ ๋๋ค.
Actionsํญ์์Run workflow๋ฅผ ๋๋ฌ ์ ๋์ผ๋ก ์คํํด์ฃผ์ธ์!
Art & Code:DevBawkyFont:Press Start 2P (Google Fonts)
This GitHub Action turns your GitHub activity into a FATALDRAW-style wanted poster rendered in pixel art.
Based on your commits, stars, and pull requests, your personal Bounty is calculated and stamped with a matching Danger Rank!
Bounty System:Your bounty increases with activity, up to $99,999,999.Rank System:Ranks are assigned from S+ down to D based on your bounty.Vintage Effect:Paper texture and ink-bleed effects are automatically applied.Multiple Characters:Choose your preferred character betweenJunoandRosalyn.
| Juno | Rosalyn |
|---|---|
![]() |
![]() |
Get started instantly with minimal setup.
- Navigate to the
.github/workflowsdirectory in your repository (create it if it does not exist). - Create a new file named
profile-card.ymland paste the following code.
name: FATALDRAW Profile Card
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Generate Wanted Poster
uses: DevBawky/FATALDRAW_Github_Profile_Card@main
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GITHUB_TOKEN }} # See Configuration to include private activity
character: 'Juno' # Choose Character you want (Juno / Rosalyn)
- name: Move to dist
run: |
mkdir -p dist
mv stats.svg dist/
- name: Push to Output Branch
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}Committhe file.- Open the
[Actions]tab in your repository. - Select
FATALDRAW Profile Cardfrom the left menu. - Click the
Run workflowbutton to execute it manually. - If you see a green checkmark after about 10 seconds, you are good to go!
Now paste the generated image into your profile README.md
Make sure to replace the GitHub ID and Repository Name in the src attribute.
<div align="center">
<a href="https://github.com/DevBawky/FATALDRAW_Github_Profile_Details.git">
<img src="https://github.com/{YOUR_GITHUB_ID}/{YOUR_REPOSITORY_NAME}/raw/output/stats.svg" width="600" alt="FATALDRAW" />
</a>
</div>You can switch characters by changing the character value in profile-card.yml!
steps:
- uses: actions/checkout@v3
- name: Generate Wanted Poster
uses: DevBawky/FATALDRAW_Github_Profile_Card@main
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GITHUB_TOKEN }}
character: 'Juno' # (Juno / Rosalyn)By default, secrets.GITHUB_TOKEN only counts activity from public repositories.
If you want to include private commits and see your real bounty, follow the steps below.
-
Go to Personal access tokens (classic)
ClickGenerate new token->Generate new token (classic).
(Make sure to save the token that starts with ghp_) -
Enable the permissions as shown in the image below.
- Navigate to your repository
Settings->Secrets and variables->Actions.
- Click
New repository secret.
- Set the name to
GH_TOKEN, paste the saved token that starts withghp_xxxxx,
then clickAdd secret.
- Open
profile-card.ymland update it as shown below.
with:
username: ${{ github.repository_owner }}
token: ${{ secrets.GH_TOKEN }} # GITHUB_TOKEN -> GH_TOKEN
character: 'Juno'- This is a permission issue.
Go toRepository Settings -> Actions -> Generaland set
Workflow permissionstoRead and write permissions, then save.
- The Action has not been executed yet, so the file does not exist in the
outputbranch.
Go to theActionstab and manually clickRun workflow.
- Art & Code: DevBawky
- Font: Press Start 2P (Google Fonts)

