Skip to content

wizsk/hw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hw

A webapp for Hans Wehr's Dictionary of Modern Written Arabic.

Installation instructions

complile

go install -ldflags "-s -w" github.com/wizsk/hw@latest
hw help

linux

# linux
cd /tmp
wget "https://github.com/wizsk/hw/releases/latest/download/hw_Linux_$(uname -m).tar.gz"
tar xf "hw_Linux_$(uname -m).tar.gz"
sudo mv hw /usr/local/bin/ # or mv hw ~/.local/bin/

Windows

Open an Administrator PowerShell prompt and paste the following command

Go to Windows Search, type PowerShell, then right-click on the PowerShell app in the search results or click the small arrow (>) next to it, and select Run as Administrator.

irm "https://raw.githubusercontent.com/wizsk/hw/refs/heads/main/install.ps1" | iex

To update to the latest version run. It doesn't check the current version. Instead, it simply downloads the latest hw.exe and replaces the existing hw.exe in the installed folder.

irm "https://raw.githubusercontent.com/wizsk/hw/refs/heads/main/update.ps1" | iex

Usages

>> hw help
hw: [port] [COMMANDS...]
PORT:
        Just the port number. (default: 8001)

COMMANDS:
        nobrowser, nb
                don't open browser
        version
                print version number