https://github.com/hearchco/agent
Hearchco agent used to gather info from a variety of sources.
https://github.com/hearchco/agent
go golang hearchco metasearch metasearch-engine search search-engine
Last synced: 6 months ago
JSON representation
Hearchco agent used to gather info from a variety of sources.
- Host: GitHub
- URL: https://github.com/hearchco/agent
- Owner: hearchco
- License: agpl-3.0
- Created: 2023-07-25T20:10:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T05:15:11.000Z (over 1 year ago)
- Last Synced: 2024-12-20T10:36:55.988Z (over 1 year ago)
- Topics: go, golang, hearchco, metasearch, metasearch-engine, search, search-engine
- Language: Go
- Homepage: https://hearch.co
- Size: 2.58 MB
- Stars: 30
- Watchers: 3
- Forks: 3
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Hearchco agent repository built using Go
Open source is hard, maintaining a metasearch engine while corruption kills your country even harder.
## Installation
### Docker
[https://github.com/hearchco/agent/pkgs/container/agent](https://github.com/hearchco/agent/pkgs/container/agent)
```bash
docker pull ghcr.io/hearchco/agent
```
### Binary
Binary file - Linux
Download the latest release from the [releases page](https://github.com/hearchco/agent/releases) manually, or automatically like below and set the permissions for the files.
```bash
# Replace the 'match' part with your own ARCH
curl -L -o /opt/hearchco <<< echo $(curl -sL https://api.github.com/repos/hearchco/agent/releases/latest | jq -r '.assets[] | select(.name? | match("linux_amd64$")) | .browser_download_url')
```
### Create a user and modify the rights.
```bash
sudo useradd --shell /bin/bash --system --user-group hearchco
sudo chown hearchco:hearchco /opt/hearchco
```
## Start/Stop/Status
### Create a Systemd Unit
Save example systemd unit file into `/etc/systemd/system/hearchco.service` [docs](../docs/hearchco.service).
### Start the hearchco Service
Reload the service daemon, start the newly create service and check status.
```bash
sudo systemctl daemon-reload
sudo systemctl start hearchco
sudo systemctl status hearchco
```
### Debug
```bash
sudo journalctl -u hearchco -b --reverse
```
### Start hearchco on Startup
```bash
sudo systemctl enable hearchco.service
```