An open API service indexing awesome lists of open source software.

https://github.com/qiyihuang/omni-cmd

Lightweight shortcut/bookmark tool for Chrome omnibox.
https://github.com/qiyihuang/omni-cmd

chrome omnibox

Last synced: about 1 month ago
JSON representation

Lightweight shortcut/bookmark tool for Chrome omnibox.

Awesome Lists containing this project

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
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

```bash
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](https://github.com/qiyihuang)

## Licence

MIT