{"id":28961845,"url":"https://github.com/valdislaf/fortran-winapi-gui","last_synced_at":"2025-06-24T02:05:38.341Z","repository":{"id":300093201,"uuid":"1005175057","full_name":"valdislaf/fortran-winapi-gui","owner":"valdislaf","description":"Minimal WinAPI GUI App in Fortran","archived":false,"fork":false,"pushed_at":"2025-06-19T20:27:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-19T21:21:14.685Z","etag":null,"topics":["desktop","fortran","gui","modern-fortran","unicode","winapi","windows"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valdislaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-19T19:48:27.000Z","updated_at":"2025-06-19T20:17:05.000Z","dependencies_parsed_at":"2025-06-19T21:21:24.115Z","dependency_job_id":"552a1403-44c9-4261-b159-fb3a600c3d14","html_url":"https://github.com/valdislaf/fortran-winapi-gui","commit_stats":null,"previous_names":["valdislaf/fortran-winapi-gui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/valdislaf/fortran-winapi-gui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valdislaf%2Ffortran-winapi-gui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valdislaf%2Ffortran-winapi-gui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valdislaf%2Ffortran-winapi-gui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valdislaf%2Ffortran-winapi-gui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valdislaf","download_url":"https://codeload.github.com/valdislaf/fortran-winapi-gui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valdislaf%2Ffortran-winapi-gui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261589933,"owners_count":23181438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop","fortran","gui","modern-fortran","unicode","winapi","windows"],"created_at":"2025-06-24T02:05:37.737Z","updated_at":"2025-06-24T02:05:38.281Z","avatar_url":"https://github.com/valdislaf.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimal WinAPI GUI App in Fortran\n\nThis is a minimal graphical Windows application written in modern Fortran using the WinAPI.  \nIt demonstrates how to create a basic window, handle events, show Unicode titles, and load custom icons.\n\n## Features\n\n- Written in Fortran (F2008 standard)\n- Uses raw Windows API bindings\n- Unicode window title (UTF-16 via `c_wchar_t`)\n- Loads `.ico` icon via `LoadImageW`\n- Custom `WndProc` handler\n- Background brush and small/large icon handling\n\n## Build\n\nUse `gfortran` with these flags:\n\n```bash\ndel *.exe\ngfortran -c win_types.f90 string_utils.f90 standard.f90 win_api.f90 gui_helpers.f90\ngfortran -o win.exe win.f90 win_types.o string_utils.o standard.o win_api.o gui_helpers.o -mwindows -std=f2008 -Wall -Wextra -pedantic  -Wimplicit-interface  -Wsurprising \nREM chcp 1251\ndel *.o\ndel *.mod\nwin.exe\npause\n```\n\nOr use the provided `build.bat`.\n\n## Screenshot\n\n![App Screenshot](screenshot.png)\n\n## License\n\nThis project is released under the MIT License. You are free to use, modify, and distribute it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaldislaf%2Ffortran-winapi-gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaldislaf%2Ffortran-winapi-gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaldislaf%2Ffortran-winapi-gui/lists"}