Skip to content
remrearasPublic

About

Github Personal Profile

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

remrearas Profile (.github) Repository

Profile and shared configurations for remrearas.

Overview

This repository contains:

  • Profile — Neofetch-style terminal animation and ARTEK logo displayed on the profile page
  • Workflows — GitHub Actions for automated content generation

Pipeline

flowchart TD
    T{"Trigger"} -->|manual dispatch| R
    R["runner.sh<br>(asciinema, jq, bc, curl, agg image)"] --> A
    A["workspace-intro.sh<br>(Bash + GitHub API)"] -->|terminal output| B
    B["asciinema rec<br>120 cols x 24 rows"] -->|recording.cast| C
    C["agg (Docker)<br>solarized-dark + solarized-light<br>1.5x, 15fps"] -->|assets/intro-dark.gif<br>assets/intro-light.gif| D
    D["git commit & push<br>github-actions bot"] --> E
    E["Profile<br>github.com/remrearas"]
Loading

Structure

.github/
├── profile/
│   └── README.md                ← Profile
├── assets/
│   ├── intro-dark.gif           ← Dark mode animation (auto-generated)
│   ├── intro-light.gif          ← Light mode animation (auto-generated)
│   ├── artek-logo-dark.svg      ← Dark mode logo (white)
│   └── artek-logo-light.svg     ← Light mode logo (#414042)
├── scripts/
│   └── workspace-intro.sh       ← Animation script
└── .github/
    ├── main/
    │   └── scripts/
    │       └── runner.sh        ← Workflow dependency setup
    └── workflows/
        └── generate-intro.yml   ← Animation workflow

Animation

The script simulates running neofetch in a terminal and prints two columns side by side:

Column Content
Left Arch Linux ASCII art (derived from neofetch)
Right Name, location, company, website, member since, pinned repositories, color palette

The color palette shows the six ANSI hues (red, green, yellow, blue, magenta, cyan) in normal and bright rows. Black and white are omitted because they blend into the solarized dark and light backgrounds.

Profile data is fetched from the GitHub REST API and pinned repositories (up to 6) from the GraphQL API using gh. In the workflow, gh is authenticated with GH_TOKEN.

Configuration

Editable constants in scripts/workspace-intro.sh:

# GitHub
GITHUB_USER="remrearas"

# ASCII art left-column width (visible chars, padded with spaces)
ART_WIDTH=42

# Animation Timing
LINE_DELAY=0.06            # Delay between output lines (seconds)
TYPING_SPEED=0.04          # Base typing speed (seconds)
TYPING_VARIANCE=0.02       # Random variance per keystroke
COMMAND_PAUSE=0.3          # Pause after typing a command
END_PAUSE=3                # Final prompt duration (seconds)

Workflow

The generate-intro.yml workflow runs on a GitHub-hosted runner (ubuntu-latest). It installs dependencies via runner.sh, records the terminal animation using asciinema and converts it to GIF using agg.

Trigger: Manual dispatch

A single recording is converted into both variants and committed together:

Output Theme Used in profile
assets/intro-dark.gif solarized-dark #gh-dark-mode-only
assets/intro-light.gif solarized-light #gh-light-mode-only

The recording is 120 × 24. The output uses 23 rows; since pinned repositories are limited to 6, it always fits without scrolling.

Profile Layout

profile/README.md shows the intro animation with the ARTEK logo directly below it. The logo is rendered at width="100%", matching the intro width. Each pair (dark/light) is wrapped in a single <p> so the hidden variant leaves no extra spacing in either theme.

License

This project is licensed under the MIT License — see the LICENSE file for details.

Third-party software licenses are documented in THIRD_PARTY_LICENSES.

About

Github Personal Profile

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages