Skip to content

CodMonk/giphy-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

giphy-search

Build

Grafana panel plugin for searching giphy images

Search View

image

Image Limits:

image

prerequisite

  • NodeJS16
  • yarn package maneger
  • reactjs 17

Getting started

  1. Go to giphy-search-panel from root directory and install dependencies

    yarn install
  2. Build plugin in development mode or run in watch mode

    yarn dev

    or

    yarn watch
  3. Build plugin in production mode

    yarn build
  4. Go to root directory and run docker images as :

    Linux:

     docker run -d \
    -p 3000:3000 \
    -v  "$(pwd)":/var/lib/grafana/plugins \
    --name=grafana \
    -e "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=cod-giphy-search" \
     grafana/grafana
    

    Windows:

    docker run -d -p 3000:3000 -v  %cd%:/var/lib/grafana/plugins --name=grafana -e "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=cod-giphy-search" grafana/grafana
    

Note:

It's a unsigned grafana plugin. By default grafana doesn't allow unsigned plugin to exeute. if docker doesn't work then copy the giphy-search-panel into grafana's plugin directory and build the plugin there using yarn build. After build completes, set the grafana configuration variable as allow_loading_unsigned_plugins ="cod-giphy-search" and restart the grafana to load the plugin.

Learn more

About

Panel plugin - searching giphy Images from grafana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published