Skip to content

feat(docs): add PerplexiGrid showcase #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 2, 2025
Merged

Conversation

PetarRan
Copy link
Contributor

@PetarRan PetarRan commented Aug 2, 2025

Description

Adds showcase docs for Perplexigrid, a visual dashboard generation app that utilizes the Perplexity Sonar API. This contribution showcases a real-world integration example and is intended to serve as a featured project in the Perplexity API Cookbook.

Type of Contribution

  • Example Tutorial
  • Showcase Project
  • Article/Integration Guide
  • Documentation Update
  • Bug Fix
  • Other (please describe)

Checklist

  • My code follows the cookbook's style guidelines
  • I have included comprehensive documentation
  • I have tested my code and it works as expected
  • I have included all necessary dependencies and setup instructions
  • My MDX file includes proper frontmatter (title, description, keywords)
  • I have linked to any external repositories or live demos

Project Details

What problem does this solve?
As for the project, it simplifies the process of generating and updating visual dashboards based on user intent. However, this contribution also demonstrates how to wrap the Perplexity Sonar API inside a lightweight serverless function and build a frontend around prompt-based visualizations.

What makes this contribution valuable to other developers?
Offers a clear and tested example of a full-stack AI project using Sonar API with Supabase, serverless infrastructure, and prompt engineering best practices. Helps others get started faster and avoid common integration pitfalls.

External Links:

Testing

Each mode was tested end-to-end in both local and deployed Supabase environments using a controlled set of prompts and canvas states. Edge function logs and frontend behavior were validated to confirm expected responses.

  • Verified MDX renders correctly with links by running scripts/validate-mdx.js

Screenshots

PerplexiGrid Hero

Custom Data Sources

Added by AI

Manage Projects

Customize Style

Export and Share

Responsive Mobile UI

Scattered Data

Additional Notes

Reach out if you have any questions: @Alessandro, @Peter
Submission video: Watch on Youtube

Copy link
Collaborator

@kesku kesku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made some changes - this is a great project, but this doc reads more like a full implementation guide and not a showcase.

Trimmed to just focus on:

What PerplexiGrid is
What it does
How it uses Sonar
Usage
Repo/Demo link

@kesku kesku merged commit 9da3edd into perplexityai:main Aug 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants