Skip to content

Instantly share code, notes, and snippets.

View cprima's full-sized avatar

Christian Prior-Mamulyan cprima

  • Germany
View GitHub Profile
@cprima
cprima / !README.md
Last active October 8, 2025 21:16
imap-organizer v0.1.0

imap-organizer

Automatically organize your email inbox by filing messages into yearly folders. Run it once a month and find any email in seconds.

The Problem

Your inbox has thousands of emails. Finding that receipt from last year means scrolling forever or remembering exact search terms. Old emails clutter your view, but deleting them feels risky.

The Solution

@cprima
cprima / !README.md
Last active October 4, 2025 20:21
Toolkit for subtitle fetching in Python. Provides command line and HTTP interfaces. Supports language selection, SRT or VTT output

subxx

Subtitle fetching toolkit for Python - Download, extract, and process subtitles from video URLs with a simple CLI or HTTP API.

Python 3.9+ License: CC BY 4.0 Development Status


@cprima
cprima / !README.md
Last active October 1, 2025 20:31
shadertoy-local-lite

Shadertoy Local Lite

A minimal, browser-based WebGL shader editor with live preview. Edit GLSL fragment shaders locally with instant visual feedback in a clean 16:9 canvas.

Features

  • Live shader editing with instant compilation feedback
  • 16:9 aspect ratio canvas that scales perfectly with flexbox layout
  • Popup viewers for clean OBS recording (sync via BroadcastChannel)
  • Three-state safeguard: Disk → Editor → Viewer (broken shaders never reach viewer)
@cprima
cprima / !README.md
Last active October 4, 2025 20:25
llm.txt

Sitemap Parser

A Python script to parse website sitemaps and extract English internationalized content.

Features

  • Fetches and parses sitemap index files
  • Identifies English-specific sitemaps by language codes
  • Extracts all page URLs from English sitemaps
  • Removes duplicate URLs
@cprima
cprima / !README.md
Last active September 14, 2025 13:09
Manage-WslSshBridge: PowerShell Script for SSH Agent Forwarding to WSL2

WSL SSH Agent Bridge

Securely share Windows SSH keys with WSL without compromising security.

This PowerShell script creates a secure bridge between Windows SSH agent and WSL environments, enabling seamless SSH key usage in WSL without mounting filesystems or enabling risky WSL interop features.

Why Use This?

  • Use existing Windows SSH keys in WSL - No need to copy private keys
  • Maintain security - No filesystem mounts or Windows PATH pollution in WSL
@cprima
cprima / _README.md
Last active April 27, 2025 09:36
GitHub Actions Auto-Onboarding: Based on an Issue Template, Invite users to org, Add to teams, Comment results, Label failures, and Close the issue automatically.

🛠️ Auto-Onboarding via GitHub Issues

This repository automates inviting new members to the GitHub organization and adding them to teams — via simply opening an issue.

🚀 How it Works

  1. A user opens a new issue and fills the onboarding template (GitHub Username + Agreement).
  2. A GitHub Action triggers automatically:
    • Extracts the GitHub username.
@cprima
cprima / Generate-Solarized-Sprites.ps1
Last active April 6, 2025 12:39
Generate Solarized Color SVG Sprites for UI Styling
<#
.SYNOPSIS
Generates SVG sprite files for all 16 Solarized colors.
.DESCRIPTION
Creates rectangular bar and circular icon SVG files in various dimensions, suitable for use in documentation styling, UI mockups, or visual metadata indicators. Output includes:
- Bars: 720x16, 360x8, 8x8, 16x16
- Circles: 4x4, 8x8, 16x16
@cprima
cprima / README.md
Last active April 2, 2025 20:48
Chat Export to JSON: LLM Markdown Extractor

🧾 extract_llm_conversation.py

Extract structured Markdown-formatted conversations from exported LLM chat HTML files (e.g., ChatGPT). Outputs a clean JSON file with user/assistant roles, turns, and content.


📦 Features

  • Parses exported chat .html files
  • Detects roles via visually hidden headings (You said:, ChatGPT said:)
@cprima
cprima / README.md
Last active April 2, 2025 18:26
Extract Graphical Activities from UiPath XAML Workflows

UiPath XAML Graphical Activity Extractor

Author: Christian Prior-Mamulyan
License: CC-BY
Email: [email protected]

📌 Purpose

This script parses a UiPath .xaml workflow file and extracts only those elements that are visually represented in UiPath Studio (i.e., shown in the workflow designer panel). It uses structural rules and a metadata blacklist for accuracy.

@cprima
cprima / README.md
Created January 2, 2025 11:50
Sort CSV Places Along a GPX Route to Generate a Sorted Roadbook(Python Script)

Sort CSV Places Along a GPX Route to Generate a Sorted Roadbook (Python Script)

This Python script sorts unsorted geographical data (from a CSV file) based on its proximity to a predefined GPX track. It generates a sorted "roadbook" by ordering places in the sequence they are encountered along the route. Ideal for cyclists, hikers, and geospatial analysts working with Overpass API results or similar unsorted data sources.


Features

  • Align Places to GPX Track: Matches CSV places (e.g., towns, landmarks) to the nearest points on a GPX track.