Skip to content

BasilSaeedBari/OdinRigView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OdinRigView

A minimal, native Windows desktop utility for reading and sharing PC hardware specs — written in the Odin programming language.

Built as a clean reimplementation of PC-Info by Adeptstack Studios, stripped of framework overhead and rewritten from scratch with a data-oriented, explicitly-typed approach. No .NET runtime. No installer. Just a single .exe.


What It Does

Non-technical users who are selling their computer need one thing: a fast, readable summary of their PC specs they can copy and paste into a marketplace listing. OdinRigView gives them exactly that.

  • Displays OS, CPU, RAM, GPU, motherboard, and storage drives in a clean, easy-to-read layout
  • Shows motherboard version and available RAM slot count for upgrade clarity
  • Shows a live RAM usage bar that refreshes every second
  • One-click copy formats all specs as plain text, ready to paste anywhere
  • Dark and light mode with a strict 5-color palette
  • Three font sizes (Small / Medium / Large) — always crisp, no blur

Screenshots

System Information Drive Information


Features

Feature Detail
OS Info Username, PC name, Windows edition, architecture
CPU Info Full name, core count, thread count, base clock (GHz)
RAM Info Total, usable, hardware-reserved, live available vs. in-use
GPU Info Full GPU name, dedicated VRAM (GB) via DXGI
Motherboard Info Manufacturer, product, version, TPM version, RAM slots used and free
Drive Info Per-drive: letter, label, format, type (SSD / NVMe / HDD), total and free space
Copy to Clipboard Clean plain-text summary of all specs, marketplace-ready
Font Size Picker Small / Medium / Large selector in Help & Info — no blur at any size
Theme Toggle Dark mode (default) and Light mode
Side Menu Hamburger drawer with three views: System Info, Drives, Help & Info

Tech Stack

Purpose Library
Window + rendering vendor:raylib
GPU info (DXGI) vendor:directx
Cross-platform hardware info core:sys/info
Windows API (RAM, drives, clipboard) core:sys/windows
Text formatting core:fmt
Frame timing core:time

No external dependencies beyond what ships with the Odin compiler. Raylib is statically linked — the output is a self-contained .exe.


Project Structure

pc_info/
├── main.odin           # Entry point, window init, main loop, App_State
├── types.odin          # All shared structs — System_Data, CPU_Info, RAM_Info, etc.
├── sysinfo.odin        # Platform-neutral hardware collection via core:sys/info
├── sys_windows.odin    # All Win32 / DXGI calls — isolated here only
├── font.odin           # Font_Atlas struct, font_load_all / font_unload_all, size helpers
├── ui.odin             # UI layout and per-view rendering
├── ui_theme.odin       # Color palette constants, Theme and Font_Size enums
└── clipboard.odin      # Copy-to-clipboard and screenshot logic

Building

Requirements

  • Odin compiler — version dev-2026-03-nightly:6d9a611 (used for Latest Release)
  • Windows 10 or Windows 11 (x86_64)
  • Odin's vendor:raylib bindings (included with the compiler)

Compile

Run this from the project root (the directory containing the pc_info folder):

odin build pc_info -out:pc_info.exe -define:RAYLIB_SHARED=false -extra-linker-flags:"/FORCE:MULTIPLE"
Flag Reason
-out:pc_info.exe Names the output binary.
-define:RAYLIB_SHARED=false Statically links Raylib — no separate DLL required.
-extra-linker-flags:"/FORCE:MULTIPLE" Suppresses duplicate symbol errors that can arise when Raylib and microui share some definitions.

The result is a single pc_info.exe with no runtime dependencies. Copy it anywhere and run it.

Note for source builders: font_load_all uploads textures to the GPU and must be called after rl.InitWindow. Calling it at package scope or before the window exists will crash.


Design

The UI uses a strict 5-color palette:

Name Hex Role
Onyx #000f08 Dark background
Jet Black #1c3738 Menu / card backgrounds
Charcoal #4d4847 Muted text, borders
Mint Cream #f4fff8 Light background, primary text in dark mode
Cool Steel #8baaad Accent color, buttons, RAM bar

Full design specification is in design.md.


Inspired By


License

MIT


Tags

v1.1.0  odin  odin-lang  windows  raylib  system-info  desktop-app  pc-specs  hardware-info  minimal  data-oriented

About

OdinRigView Info is a lightweight native Windows utility written in the Odin programming language. It reads your system's hardware and presents it in a clean, readable interface. One click copies everything to your clipboard, ready to paste into any marketplace listing. No installer, no bloat, no .NET runtime required. Just a single .exe.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages