{"id":27245878,"url":"https://github.com/stargate01/full-stack-fortran","last_synced_at":"2025-08-27T04:17:46.045Z","repository":{"id":40416628,"uuid":"255470378","full_name":"StarGate01/Full-Stack-Fortran","owner":"StarGate01","description":"Fortran to WebAssembly","archived":false,"fork":false,"pushed_at":"2024-05-03T09:14:18.000Z","size":672,"stargazers_count":155,"open_issues_count":7,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T21:36:25.629Z","etag":null,"topics":["dragonegg","fortran","fortran-compiler","gcc","llvm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StarGate01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"StarGate01"}},"created_at":"2020-04-14T00:19:02.000Z","updated_at":"2025-03-17T16:55:50.000Z","dependencies_parsed_at":"2025-04-10T21:41:37.940Z","dependency_job_id":null,"html_url":"https://github.com/StarGate01/Full-Stack-Fortran","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/StarGate01/Full-Stack-Fortran","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarGate01%2FFull-Stack-Fortran","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarGate01%2FFull-Stack-Fortran/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarGate01%2FFull-Stack-Fortran/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarGate01%2FFull-Stack-Fortran/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StarGate01","download_url":"https://codeload.github.com/StarGate01/Full-Stack-Fortran/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarGate01%2FFull-Stack-Fortran/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272289741,"owners_count":24907802,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dragonegg","fortran","fortran-compiler","gcc","llvm","webassembly"],"created_at":"2025-04-10T21:29:42.751Z","updated_at":"2025-08-27T04:17:46.021Z","avatar_url":"https://github.com/StarGate01.png","language":"Fortran","funding_links":["https://github.com/sponsors/StarGate01"],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://drone-github.chrz.de/api/badges/StarGate01/Full-Stack-Fortran/status.svg)](https://drone-github.chrz.de/StarGate01/Full-Stack-Fortran)\n[![Docker Pulls](https://img.shields.io/docker/pulls/stargate01/f90wasm)](https://hub.docker.com/r/stargate01/f90wasm)\n\n# Full-Stack-Fortran\n\nA toolchain to compile Fortran to Webassembly, and a few projects using it.\n\nBlog post: https://chrz.de/2020/04/21/fortran-in-the-browser/\n\nDocker image: https://hub.docker.com/r/stargate01/f90wasm\n\n### 2024 Update Note\n\nThis project was originally published in 2020. Today, in 2024, the FORTRAN compiler landscape has changed quite a bit – while FORTRAN still does not enjoy first-class WebAssembly support in the LLVM toolchain, it is now possible to set up a much more sane toolchain by applying a few patches to LLVM.\n\n[Dr George W Stagg has published an excellent writeup](https://gws.phd/posts/fortran_wasm/) of his LLVM modifications, and the application of the resulting toolchain to several real-world projects. Specifically, the [WebR](https://github.com/r-wasm/webr) project and a cool BLAS-based in-browser digit classifier.\n\n## Usage\n\nRun `./f90wasm/build.sh` to build the docker image locally. A pre-compiled image is available on the [Docker Hub](https://hub.docker.com/r/stargate01/f90wasm).\n\nRun `./test/test.sh` to compile the test application, and host it on http://localhost:8080 . Use `./test/clean.sh` to remove compiled test binaries.\n\n## Thanks to\n\n - http://www.netlib.org/lapack/\n - https://gcc.gnu.org/\n - https://llvm.org/\n - https://emscripten.org/\n - https://github.com/smikes/femscripten\n - [Aman Gupta Karmani (tmm1)](https://github.com/tmm1) for helping to update the Emscripten version used (#10, #12, #13)\n\n ## TLDR\n\n ![Toolchain Flowchart](toolchain.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstargate01%2Ffull-stack-fortran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstargate01%2Ffull-stack-fortran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstargate01%2Ffull-stack-fortran/lists"}