Categorygithub.com/qiyihuang/omni-cmd
repository
0.0.0-20230722032450-9fe669f0a79d
Repository: https://github.com/qiyihuang/omni-cmd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

omni-cmd

Lightweight shortcut/bookmark tool for Chrome omnibox.

Getting Started

Prerequisites

Go compiler.

Running locally

Download codes from Github.

Next, add .env file to the project root directory.

ENV={ runtime environment e.g. "development", "test" or "production" }

# Default port 8008, free to change.
PORT=8008

# Optional, default Google.
SEARCH_ENGINE_URL={ search query string for your preferred search engine }

Deployment

Deploy in container (Build from Dockerfile or pull the pre-build image) or use go compiler to build binary.

Docker command example

docker run -d \
--name omni-cmd \
--restart unless-stopped \
-p 8008:8008 \
-v { directory you store your config.yml }:/config
--env-file { your environment file path } \
qiyihuang/omni-cmd:latest

Browser setting

Add a search engine with the url: "https://yoururl/saerch?cmd=$s"

Author

Qiyi Huang - @qiyihuang

Licence

MIT