A minimal template for creating Windows applications using the Odin programming language and the Win32 API.
This repository provides a starting point for developing Windows desktop applications with Odin. It includes the basic setup required to create and display a window using the Windows API (Win32).
- Odin Compiler - Make sure you have Odin installed and properly set up
- Odin Language Server (Optional)
- Windows operating system
- Basic understanding of the Odin programming language
-
Clone this repository:
-
Build and run the application:
odin build . win32.exe
win32/
├── main.odin # Main entry point with WinMain and window creation
├── ols.json # Odin Language Server config (optional)
└── README.md # This file
You can customize your window by modifying:
- Window class name and title
- Window styles
- Window dimensions
- Message handling in the window procedure
This project is available under the MIT License. See LICENSE file for details.