Golf is a programming language and application server for building web services and back-end solutions on Linux. Golf is easy to develop with, memory-safe and high-performance. Read About Golf. Visit Documentation. Try Hello World. Visit Blog for useful articles and changelog. Licensed under Apache 2 Free Open Source License. Source code is at https://github.com/golf-lang/golf. Installation packages and source installs below are for both x86_64 and aarch64.
sudo add-apt-repository ppa:golf-lang/golf -y
sudo apt update
sudo apt -y install golf
You can also install from source.
sudo dnf -y install epel-release
sudo dnf -y copr enable golf-lang/golf-lang
sudo dnf -y install golf
You can also install from source.
Install OpenSUSE Tumbleweed:
sudo zypper --non-interactive addrepo -G https://copr.fedorainfracloud.org/coprs/golf-lang/golf-lang/repo/opensuse-tumbleweed/golf-lang-golf-opensuse-tumbleweed.repo
sudo zypper -n install --replacefiles --force-resolution golf
Install OpenSUSE Leap 15.6:
sudo zypper --non-interactive addrepo -G https://copr.fedorainfracloud.org/coprs/golf-lang/golf-lang/repo/opensuse-leap-15.6/golf-lang-golf-opensuse-leap-15.6.repo
sudo zypper -n install --replacefiles --force-resolution golf
You can also install from source.
Replace 'Debian_12' with 'Debian_10', 'Debian_11' or 'Debian_Unstable' to install on Debian 10, 11 or Unstable (the latest upcoming):
sudo apt install -y curl
echo 'deb http://download.opensuse.org/repositories/home:/golf_lang/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:golf_lang.list
curl -fsSL https://download.opensuse.org/repositories/home:golf_lang/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_golf_lang.gpg > /dev/null
sudo apt update
sudo apt install -y golf
Install Golf on Debian from source code.
wget "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=golf" -O PKGBUILD
sudo pacman -Sy --noconfirm base-devel
makepkg --noconfirm -sirc
Install Golf on Arch and Manjaro from source code.
Current version is 423. This release passed 2389 automated functional tests.
Example of Golf code (from SaaS example):
Blog articles and examples:
- 2025-04-14 New status-safety feature
- 2025-04-11 New upcoming safety features
- 2025-04-10 How to start, stop or restart Golf application server
- 2025-04-05 How to build OpenSUSE zypper package for Golf
- 2025-04-02 Fragmentation of Linux and impact on packaging
- 2025-03-29 FIFO in Golf
- 2025-03-23 How to debug Golf programs with gdb
- 2025-03-19 Maximum file size uploaded to Golf server
- 2025-03-10 How to know Golf version
- 2025-03-01 Web framework for C programming language
- 2025-02-24 Make RPM package on Fedora and RedHat
- 2025-02-23 DEB package on Ubuntu and Debian
- 2025-02-21 34000 requests per second on a modest laptop
- 2025-02-12 Use C language API to talk to Golf Server
- 2025-02-04 Golf package page on AUR for Arch Linux
- 2025-02-02 Ubuntu apt package available for Golf
- 2025-01-30 How to send email with Golf
- 2025-01-28 Fast JSON parser with little coding
- 2025-01-03 What is application server?
- 2024-12-26 Encryption: ciphers, digests, salt, IV
- 2024-12-15 Distributed computing made easy
- 2024-12-12 How is memory organized in Golf
- 2024-12-08 Web file manager in less than 100 lines of code
- 2024-12-02 Passing parameters between local request handlers
- 2024-11-22 How to create Golf application
- 2024-11-21 Getting help for Golf with man pages
- 2024-11-12 Multi-tenant SaaS (Notes web application) in 200 lines of code
- 2024-10-28 Web Services Security
- 2024-10-21 Web services with MariaDB
- 2024-10-17 Web service calling web service
- 2024-10-13 What is Web Service
- 2024-10-11 Cache as a web service
- 2024-10-09 Cache server in 30 lines
- 2024-10-06 Memory safety: the cost in performance
- 2024-09-29 SQLite with Golf
- 2024-09-29 Copy-code icon added
- 2024-09-26 Overview of Golf
- 2024-09-21 Web service Hello World
- 2024-09-21 Hello World as a Service
- 2024-09-19 Using Vim color schemes with Golf
- 2024-09-17 Hello World in Golf
- 2024-09-13 Introduction to Golf
- 2024-09-12 Initial Golf release
- 2025-04-18 Golf 423 released
- 2025-04-17 Golf 419 released
- 2025-04-14 Golf 397 released
- 2025-03-31 Golf 373 released
- 2025-03-16 Golf 324 released
- 2025-03-11 Golf 297 released
- 2025-03-11 Golf 295 released
- 2025-03-10 Golf 288 released
- 2025-03-02 Golf 273 released
- 2025-02-23 Golf 261 released
- 2025-02-19 Golf 253 released
- 2025-02-16 Golf 247 released
- 2025-02-13 Golf 244 released
- 2025-02-11 Golf 241 released
- 2025-02-08 Golf 231 released
- 2025-02-02 Golf 210 released
- 2025-01-27 Golf 191 released
- 2025-01-26 Golf 184 released
- 2025-01-18 Golf 171 released
- 2025-01-14 Golf 155 released
- 2024-12-25 Golf 136 released
- 2024-12-24 Golf 132 released
- 2024-12-08 Golf 124 released
- 2024-12-04 Golf 121 released
- 2024-11-29 Golf 117 released
- 2024-11-26 Golf 114 released
- 2024-11-22 Golf 109 released
- 2024-11-10 Golf 91 released
- 2024-11-05 Golf 87 released
- 2024-10-28 Golf 76 released
- 2024-10-23 Golf 70 released
- 2024-10-19 Golf 65 released
- 2024-10-14 Golf 56 released
- 2024-10-08 Golf 54 released
- 2024-10-01 Golf 50 released
- 2024-09-27 Golf 44 released
- 2024-09-24 Golf 37 released
- 2024-09-20 Golf 32 released
Contact email team@golf-lang.com
Visit official Golf home page.
See CONTRIBUTING.md file on how to contribute.