jasper-alternative-gpt  by yuvalsuede

Open-source alternative to Jasper for text generation

created 2 years ago
314 stars

Top 87.1% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an open-source alternative to Jasper.ai, leveraging the ChatGPT API to generate various text-based content, from marketing copy to blog post ideas. It targets developers and content creators seeking to utilize AI for text generation through a template-driven approach, allowing for customization and extension.

How It Works

The system utilizes the ChatGPT API and Vercel Edge functions. It employs a template-based mechanism where each template defines a specific task or command. User inputs are processed and combined with the template's description to form a prompt sent to ChatGPT. The core logic involves constructing a messages array for the createChatCompletion API call, specifying a system role and a user role containing the task and instructions. This approach allows for structured and repeatable AI-driven content generation.

Quick Start & Requirements

  • Install dependencies and run locally:
    npm install
    yarn dev
    
  • Requires an OpenAI API key, set as OPENAI_API_KEY in a .env.local file.
  • Built with Next.js and TailwindCSS.

Highlighted Details

  • Template-based system for defining AI tasks.
  • Uses gpt-3.5-turbo model by default.
  • Customizable prompts and input parameters for templates.
  • Deployable to Vercel.

Maintenance & Community

  • Project maintained by Yuval Suede.
  • Contributions, issues, and feature requests are welcome via pull requests.
  • Contact available via LinkedIn.

Licensing & Compatibility

  • MIT License.
  • Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

The project currently defaults to the gpt-3.5-turbo model, and specific performance or output quality may vary based on prompt engineering and API usage.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Starred by Jared Palmer Jared Palmer(Ex-VP of AI at Vercel; Founder of Turborepo; Author of Formik, TSDX), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

promptable by cfortuner

0%
2k
TS/JS library for building full-stack AI apps
created 2 years ago
updated 2 years ago
Feedback? Help us improve.