Skip to content

getanteon/guru-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This repository contains the old version of the Gurubase Widget, which does not include the embeddable QA feature. It is no longer maintained. Please refer to the new repository for the latest version.

This repository includes the script for the sticky 'Ask AI' widget, which you can add to your Guru link on your website.

image

Example usage:

<script src="https://guru-widget.pages.dev/guru_widget.latest.min.js" 
    data-text="Ask AI" 
    data-link="https://gurubase.io/g/anteon" 
    data-bg-color="#F6A61D" 
    data-icon-url="https://gurubase.io/_next/image?url=https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F75415501%3Fs%3D200%26v%3D4&w=96&q=75" 
    data-font-color="#000000" 
    data-margins='{"bottom": "1rem", "right": "1rem"}'>
</script>

Default values

  • text: "Ask AI"
  • bg-color: "#F40003"
  • font-color: "#000000"
  • margins: {"bottom": "1rem", "right": "1rem"}

Mandatory parameters

  • data-link
  • data-icon-url

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published