Skip to content

Instantly share code, notes, and snippets.

View ivanfioravanti's full-sized avatar

Ivan Fioravanti ivanfioravanti

View GitHub Profile
@ivanfioravanti
ivanfioravanti / dwarf-star.yaml
Created July 1, 2026 10:54
Hermes Agent Dwarf Star skin
# DwarfStar — for users of Antirez's ds4 inference engine (DeepSeek V4 Flash / PRO)
# running locally on Metal (macOS) and CUDA (DGX Spark). Deep-space void framing a
# single burning dwarf star: dark indigo/black backdrop with a warm amber-to-white
# stellar core, gold kv-cache accents, and sparse starlight. Inspired by GGML but
# DwarfStar ships its own self-contained engine — the visuals lean on that
# distinction (no llama.cpp logo, a stand-alone star). Antirez-coded minimalism:
# clean title + subtitle, no chrome, single accent color carrying meaning.
name: dwarfstar
description: DwarfStar (ds4) — Antirez's local DeepSeek V4 engine. Deep-space void with a single burning dwarf star, amber-to-white stellar core, gold KV-cache accents.
@ivanfioravanti
ivanfioravanti / apple-silicon.yaml
Created July 1, 2026 10:34
Apple Silicon Hermes Agent Skin
# Apple Silicon — for any M-series Mac (Studio, Pro, mini, Air). Brushed-aluminum
# grays paired with the system-blue accent Apple uses across macOS/iOS, plus
# a soft graphite status bar. Unified memory and Neural Engine branding,
# GPU/ANE/Neural Accelerator spinner verbs, and a banded-metal hero panel
# evoking the unibody case.
name: apple-silicon
description: Apple Silicon (M-series) — brushed-aluminum grays with system-blue accent, unified memory branding, and a banded-metal banner
colors:

Build a single self-contained HTML file (inline CSS + JS, no external assets, no build step) called "Super Human" — a Super Mario NES-style platformer, but themed as Humanity's last stand vs. AI. The player is "Super Human" (a tiny pixel worker in a red shirt + denim overalls); the enemies are mascots of famous AI labs.

GOAL OF THE GAME: Run right across one long level, stomp/shoot AI mascots, collect data- coins, smash blocks, grab powerups, and reach the flag. Title screen → play → game over / win screens. Full HUD (score, coins, world, time, lives).

═══════════════════════════════════════════

Build a basic Lunar Lander game as a single HTML file (HTML + CSS + JavaScript on a ). Mechanics: A small lander starts near the top of the screen and is pulled downward by constant gravity. The player presses the up arrow to fire the main thruster (counteracts gravity) and left/right arrows to rotate the lander, applying thrust in the direction it's pointing. Fuel is limited and decreases while thrusting; show a fuel gauge. When fuel runs out, thrust no longer works. Generate a jagged terrain along the bottom with one flat landing pad marked in a different color. Win if the lander touches the pad while upright (small tilt tolerance) and below a safe descent speed. Crash otherwise (too fast, too tilted, or hitting non-pad terrain). Display live readouts: altitude, horizontal speed, vertical speed, fuel, and rotation. Show a win/lose message and a "Press R to restart" option. Keep it self-contained with no external libraries, use simple vector-style graphics, and make the physics feel slightly floaty t

@ivanfioravanti
ivanfioravanti / Prompt
Created June 14, 2026 16:01
Lunar Lander Prompt
Build a basic Lunar Lander game as a single HTML file (HTML + CSS + JavaScript on a <canvas>).
Mechanics:
A small lander starts near the top of the screen and is pulled downward by constant gravity.
The player presses the up arrow to fire the main thruster (counteracts gravity) and left/right arrows to rotate the lander, applying thrust in the direction it's pointing.
Fuel is limited and decreases while thrusting; show a fuel gauge. When fuel runs out, thrust no longer works.
Generate a jagged terrain along the bottom with one flat landing pad marked in a different color.
Win if the lander touches the pad while upright (small tilt tolerance) and below a safe descent speed. Crash otherwise (too fast, too tilted, or hitting non-pad terrain).
Display live readouts: altitude, horizontal speed, vertical speed, fuel, and rotation.
Show a win/lose message and a "Press R to restart" option.
Keep it self-contained with no external libraries, use simple vector-style graphics, and make the physics feel slightly floaty t
  1. Initial build request Build a pixel-perfect Galaga arcade game in a single self-contained HTML file with inline CSS and JS. Replicate the original 1981 Namco arcade cabinet experience with full fidelity to the original rules, sprite designs, and mechanics.

  2. Fidelity review (with a reference screenshot) please review sprites and how ships attack, because galaga was different [Image #1] here an example. But search on internet for more details (accompanied by the screenshot)

  3. Layout bug fix The Galaga on top of the screen is not visibile on the browser page, please fix this

  4. Cabinet control animation request

@ivanfioravanti
ivanfioravanti / FroggerPrompt.md
Created June 14, 2026 09:36
Frogger AI Prompt and results

Build a Frogger style arcade game in a single self-contained HTML file with inline CSS and JS. But Frog lives in a modern home, and must avoid contact with day to day objects like iPhone, computer, monitor, mini cars like tesla, Ferrari, etc. create sprites and game mechanic. If you feel html is not enough use a game engine of your choice.

@ivanfioravanti
ivanfioravanti / metal_m5max_vs_m3ultra_vs_m4_report.html
Last active June 4, 2026 13:13
parakeet.cpp Apple Metal benchmark: M5 Max vs M3 Ultra vs M4 (q4_k, speech.wav)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>parakeet.cpp — Apple Metal · M5 Max vs M3 Ultra vs M4</title>
<style>
:root{
--ink:#0a0d13;
--ink-2:#0d1118;
@ivanfioravanti
ivanfioravanti / aime25_repro.py
Created May 17, 2026 14:31
Tiny standalone AIME25 reproduction script for OpenAI-compatible servers.
#!/usr/bin/env python3
"""Tiny standalone AIME25 reproduction script for OpenAI-compatible servers.
No third-party dependencies. Example:
python3 aime25_repro.py \
--base-url http://127.0.0.1:8080/v1 \
--model mlx-community/Qwen3.6-27B-4bit \
--temperature 0 \
--max-tokens 8192 \
@ivanfioravanti
ivanfioravanti / spaceinvaders.md
Created March 11, 2026 16:39
Space Invaders Clone Prompt

Build a pixel-perfect Space Invaders arcade game in a single self-contained HTML file with inline CSS and JS. Replicate the original 1978 Taito arcade cabinet experience with full fidelity to the original rules, sprite designs, and mechanics.


CANVAS & DISPLAY

  • 800×600px canvas (or scaled 2× from original 224×256 logical resolution)
  • Black background, phosphor-green or white pixel aesthetic