


If filecontents. # *.open files (programmatically or by hand) shouldnt be too difficult, is it?

# new filetype, and attach this exe to it. # new programs to the URL filetype in the default file explorer. # ↑ I added the '.open' file type because on my OS it is not trivial to attach Import os, system, re, browsers, strutils, strformat Then assign your URL files to the created executable. Install Nim and then run nim compile urlhandler.nim on it. I only tested it on my own operating system, but it should also work on Linux and macOS. As URL files are just text files, I have solved this problem by attaching a script as handler to them, which reads the URL from the file and opens that URL with the default web browser.
