https://github.com/sarthakpranesh/gyan
Get Google Images and Wikipedia information on {You Say What}
https://github.com/sarthakpranesh/gyan
api golang google gyan knowledge scrape wikipedia
Last synced: about 1 year ago
JSON representation
Get Google Images and Wikipedia information on {You Say What}
- Host: GitHub
- URL: https://github.com/sarthakpranesh/gyan
- Owner: sarthakpranesh
- Created: 2021-11-03T12:46:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T19:30:28.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T10:19:02.618Z (over 1 year ago)
- Topics: api, golang, google, gyan, knowledge, scrape, wikipedia
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Gyan
A simple API to fetch description from Wikipedia and images from Google about {You say what}
## Usage
Please consider hosting this API on your own server.
`get /cat`
```json
{
"name": "cat",
"link":"https://en.wikipedia.org/wiki/cat",
"description":"The cat (Felis catus) is a domestic species of small carnivorous mammal. It is the only domesticated species in the family Felidae and is often referred to as the domestic cat to distinguish it from the...",
"images": [
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtUjizJshX52X_qhGXsa2rIVOnGlRtXhBqnNPMB2JSn_ibAnT0s9aWUeAbfjE\u0026s",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR7UDPBCebpUM7tMLJEJwrU_6DW6OBmLaLBVSmWM8YXq7ChWw2fPbR4ZrKEiA\u0026s",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQDMskdkM6NS4oWAlHkAQ2giiArqn9evNFoTp2ExtsB321P8Db83BIT45cgfjI\u0026s",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSLB8lwPF4UIM4Ck4ZdvI3qwYCX9InrEGdmqbcaQOac4CdOr4QZMDHWWFKjwNA\u0026s"
]
}
```
## Self hosting
Using pre-build image from docker hub
```sh
docker run -d --name gyan --restart unless-stopped -p 9090:9090 sarthakpranesh/gyan
```
Building your own docker image
```sh
docker build .
```
## Issues
If you find any bugs/issues please report them by opening a new issue [here](https://github.com/sarthakpranesh/Gyan/issues)