askill
fear-greed

fear-greedSafety 95Repository

Embeddable Fear & Greed Index for crypto dashboards. Real-time sentiment gauge. Drop-in React/HTML components. Works with AI agents, Claude, Cursor.

2 stars
1.2k downloads
Updated 2/7/2026

Package Files

Loading files...
SKILL.md

Crypto Sentiment Widget

Market mood at a glance. Embeddable Fear & Greed Index for crypto dashboards and trading apps.

Drop-in React and HTML components. Real-time updates. No API key required. Powered by Strykr PRISM.

Quick Usage

# Get current Fear & Greed value
./fear-greed.sh

# Get JSON output
./fear-greed.sh --json

# Get historical data
./fear-greed.sh --history

PRISM Endpoint

EndpointDescriptionSpeed
GET /market/fear-greedCurrent index229ms

Index Values

RangeLabelMeaning
0-25Extreme FearBuy opportunity?
26-45FearCaution
46-55NeutralWait and see
56-75GreedTake profits?
76-100Extreme GreedPossible top

Output Formats

Terminal (Default)

๐Ÿ“Š Crypto Fear & Greed Index

   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚                     โ”‚
   โ”‚         72          โ”‚
   โ”‚       GREED         โ”‚
   โ”‚                     โ”‚
   โ”‚  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘ โ”‚
   โ”‚                     โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

   Last updated: 2026-01-28 13:15 UTC

JSON

{
  "value": 72,
  "label": "Greed",
  "timestamp": "2026-01-28T13:15:00Z"
}

Widget Variants

1. Gauge (Circle)

    โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
   โ•ฑ    72   โ•ฒ
  โ”‚   GREED   โ”‚
   โ•ฒ         โ•ฑ
    โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

2. Bar (Horizontal)

Fear & Greed: 72 (Greed)
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘

3. Badge (Compact)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ FG: 72 โ”‚
โ”‚   ๐Ÿ˜€   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Embed Options

React Component

import { FearGreedGauge } from '@strykr/fear-greed-widget';

function Dashboard() {
  return (
    <FearGreedGauge 
      theme="dark"
      size="md"
      variant="gauge"
      refreshInterval={300000}  // 5 minutes
    />
  );
}

HTML Embed

<div id="fear-greed-widget"></div>
<script src="https://cdn.strykr.com/fear-greed.js"></script>
<script>
  StrykrWidget.FearGreed({
    element: '#fear-greed-widget',
    theme: 'dark',
    variant: 'gauge'
  });
</script>

iframe

<iframe 
  src="https://widgets.strykr.com/fear-greed?theme=dark&variant=gauge"
  width="200" 
  height="200"
  frameborder="0"
></iframe>

Themes

ThemeBackgroundText
dark#0D0D0D#F5F3EF
light#FFFFFF#1A1A1A
transparentnoneauto

Auto-Refresh

Widget auto-refreshes every 5 minutes by default.

// Custom refresh interval (in milliseconds)
FearGreedGauge({ refreshInterval: 60000 })  // 1 minute

Use Cases

  1. Trading Dashboard โ€” Quick sentiment check
  2. Blog/Newsletter โ€” Embed in market updates
  3. Discord Server โ€” Daily sentiment bot
  4. Portfolio App โ€” Contextual indicator

Environment Variables

PRISM_URL=https://strykr-prism.up.railway.app

Built by @NextXFrontier

Install

Download ZIP
Requires askill CLI v1.0+โ–ถ

AI Quality Score

95/100Analyzed 2/13/2026

Excellent documentation for a crypto sentiment widget. Provides clear usage for CLI, React, and HTML contexts with visual examples, API details, and configuration options.

95
95
90
95
90

Metadata

Licenseunknown
Version1.1.1
Updated2/7/2026
PublisherDemerzels-lab

Tags

api