Home

Awesome

<a name="readme-top"></a>

Contributors Forks Stargazers Issues MIT License LinkedIn

Built With

Svelte SvelteKit Skeleton

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://www.slickgpt.app/"> <img src="static/logo-slickgpt.svg" alt="Logo" height="160"> </a> <h3 align="center">SlickGPT</h3> <p align="center"> An awesome ChatGPT Client - with Superpowers! <br /> <a href="https://www.slickgpt.app/"><strong>Try for yourself »</strong></a> <br /> <br /> <a href="https://platform.openai.com/account/api-keys">Get your Open AI API key</a> · <a href="https://github.com/ShipBit/slickgpt/issues">Report Bug</a> · <a href="https://github.com/ShipBit/slickgpt/issues">Request Feature</a> <br /> <br /> <a href="https://shipbit.de/discord">Join our Discord server</a> · <a href="https://patreon.com/ShipBit?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=creatorshare_creator&utm_content=join_link">Support us at Patreon</a> </p> </div> <!-- TABLE OF CONTENTS --> <details> <summary>Table of Contents</summary> <ol> <li><a href="#about-the-project">About The Project</a></li> <li><a href="#features">Features</a></li> <li><a href="#comparison-with-chatgpt">Comparison with ChatGPT</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#development">Development</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> </ol> </details>

New: SlickGPT Pro (use without API key)

SlickGPT now offers an optional "Pro" plan for a fixed price. If you choose this, you can use our Azure cloud infrastructure to access all the OpenAI models and settings without worrying about having your own API key or usage limits. Yes, it's unlimited usage.

We currently offer these models in SlickGPT Pro:

There are no paywalled extra features in SlickGPT for Pro users. We don't log any data - the only thing we know is how many tokens were spent. It's just a way to support the project, get rid of the hassle of managing your own API key and to pay a fixed price for unlimited AI usage.

If you're really into AI, you can also combine it with our other project, Wingman AI, and get Wingman AI Ultimate (which includes SlickGPT Pro) for a reduced price.

About the project

SlickGPT

SlickGPT is a light-weight "use-your-own-API-key" (or optional: subscription-based) web client for OpenAI-compatible APIs written in Svelte. It offers them a very fancy user interface with a rich feature set like managing a local chat history (in your browser's IndexedDb), a userless "Share" function for chats, a prominent context editor, and token cost calculation and distribution. You can run the client locally, host it yourself or use our public instance.

Feature Overview

SlickGPT currently supports these models:

Theoretically, every LLM that understands OpenAI's conversation schema should work with SlickGPT. If you want to use a model that is not listed here, please open an issue or contact us. If you self-host SlickGPT, you can also connect it to a local model running in Ollama, LMStudio etc.

See a YouTube video for a quick feature overview (from an older version):

YouTube video of SlickGPT

<p align="right">[ <a href="#readme-top">back to top</a> ]</p>

In more detail

Local chat history

Your chat history is stored in the IndexedDb of your browser and never leaves your machine (unless you actively decide to share a chat.

<a href="static/docu/history.png"> <img src="static/docu/history.png" alt="History of chats" height="300"> </a>

Share Chats

Share chats with 3 clicks to collaborate and brainstorm ideas with your team or friends. No authentication or registration necessary. You can also unshare or update shared chats later. Recipients can import shared chats with a single click and continue your conversation in their own local chat instance.

<a href="static/docu/share.png"> <img src="static/docu/share.png" alt="Share chats" height="300"> </a>

Change advanced settings

SlickGPT allows you to customize all parameters the OpenAI API offers to your liking. You can change the model, temperature, top_p, and frequency_penalty parameters to get the best results. You can also set the the chat context (or "system" message) to guide the AI model and shape its behaviour and answers and even use "stop sequences" to limit the answers you get.

<a href="static/docu/settings.png"> <img src="static/docu/settings.png" alt="Settings" height="300"> </a>

Detailed token calculation

SlickGPT provides an in-built token cost calculator for your chats. You can see the cost of your chat in real-time as you type and receive answers. This allows you to keep track of and control your API usage. SlickGPT also has a posh pie chart that visualizes the cost distribution within a chat.

<a href="static/docu/tokens.png"> <img src="static/docu/tokens.png" alt="Token calculation" height="300"> </a>

Change context

Do you know what "context" is when talking to ChatGPT? Most users don't and that's why SlickGPT displays and explains the concept very clearly with explanations and examples when you start a new chat. This way, one of the most powerful features just becomes "part of the chat".

<a href="static/docu/context.png"> <img src="static/docu/context.png" alt="Set context" height="300"> </a>

Switch between light and dark mode

SlickGPT offers a light and dark theme. You can switch between the two modes by clicking the toggle button in the top right corner and once you do, it will remember your choice.

<a href="static/docu/light.png"> <img src="static/docu/light.png" alt="Switch theme" height="300"> </a> <p align="right">[ <a href="#readme-top">back to top</a> ]</p>

Comparison with ChatGPT

While ChatGPT offers a great conversational AI experience, it lacks some features many users desire.

FeatureSlickGPTChatGPT Plus
Use different models(✅ OpenAI models only)
Chat history
Highlight / Format code
Use Your Own API Key
Edit and branch messages
Stop generation
Vision
Share and continue chats(✅) (can't import)
Host yourself / Run locally
Set context / system message
Change model configuration
No Login Required
Token Cost Calculation
Mobile-first design
Unlimited use subscription5,99 €/m18,00 €/m

As you can see, SlickGPT includes several additional features that cater to a broad range of user needs, such as hosting the service yourself, using a local chat history, sharing chats, and customizing the chat configurations. Moreover, SlickGPT does not require a login, allowing for faster and more streamlined access. These added functionalities make SlickGPT a more versatile and convenient solution for users seeking an advanced ChatGPT experience.

<p align="right">[ <a href="#readme-top">back to top</a> ]</p> <!-- ROADMAP -->

Roadmap ideas

See the open issues for a full list of proposed features and known issues.

<p align="right">[ <a href="#readme-top">back to top</a> ]</p>

Development

SlickGPT uses Svelte, SvelteKit and Skeleton UI as frontend foundation.

The secret sauce of SlickGPT is that almost everything is stored in the IndexedDb of the browser. One case where it leaves this boundary is, of course, when a user communicates with the OpenAI API. While questions are simple POST requests, responses are sent back to the client using the native EventSource API and rendered as a "live stream" just like the ChatGPT client does.

The other case is when users share their chats with others using the "userless share" feature. Then SlickGPT dumps the appropriate IndexedDb object in a simple Firebase Realtime Database and tags it with a random updateToken. A serverless (Edge) function sends this token back to the client where it is stored in the IndexedDb next to the original chat. The token can be used later to update or unshare chats.

SlickGPT uses Svelte endpoints as "proxy" between the client and the external APIs. This way, the client does not need to know any Firebase secrets at all and you have a great starting point to implement more complex "backend" logic if needed.

Set environment Variables

Copy the content of .env.example to a new file called .env and populate the variables with your Firebase data. You can get this firebaseConfig from your project settings in the Firebase console.

While developing, Vite will be your "server" and run the endpoints functions on your local machine. It has access to your environment variables utilizing SvelteKits $env/static/private import.

For a production environment, the endpoints are preconfigured to run as edge functions on Vercel. For this to work, you simply have to provide Vercel with the required environment variables once you go live with your instance. You can paste the content of your .env file when you import your project to Vercel or afterwards in the project settings or using the Vercel CLI.

Start the client

Once cloned, run the usual SvelteKit commands in your root directory:

npm i # or yarn, pnpm etc.
npm run dev -- --open

That's it! You should now be able to develop with all the hot reloading goodness you know and love from Svelte / Vite.

Can I run this without Firebase?

Certainly. The quickest and easiest way would be to disable the "Share Chat" feature in SlickGPT in case you don't need it. We have an open issue for that with good starting points.

The other (and better) way would be to use any other database where you can dump SlickGPTs serialized Chat objects. This should be an easy task because the client never directly talks to Firebase as described above. SlickGPT doesn't utilize any Firebase-specific features. As long as your database can somehow save and load a chat based using a slug as key, you should be fine. The only file you'd have to edit is the share endpoint.

Can I host this on other providers than Vercel?

There's an open issue for that with some additionale infos regarding Netlify. We haven't tested other providers yet but it should be fine as long as your provider can run SvelteKit apps and serverless functions. We already saw a fork utilizing Railway.

You could also let the client access the Firebase and OpenAI API directly to get rid of the serverless function requirement entirely.

How do I use another Skeleton Theme?

Simply follow the instructions in the official Skeleton UI documentation. The code you have to change is in SlickGPTs +layout.svelte file.

Contribution Guidelines

Contributions are always welcome! Feel free to open a pull request, report bugs, or submit feature requests. Please follow the Code of Conduct and Contribution Guidelines when participating in this project.

Main Contributors

<p> <img src="https://alqxoepsjp.cloudimg.io/v7/_shipbit_/team/Simon.png?w=128&h=128&func=face&face_margin=30&radius=9999&force_format=webp" alt="A portrait of Simon Hopstätter" height="100"> <br> <span>Simon Hopstätter</span> </p> <p> <img src="https://alqxoepsjp.cloudimg.io/v7/_shipbit_/team/Timo.png?w=128&h=128&func=face&face_margin=30&radius=9999&force_format=webp" alt="A portrait of Timo Korinth" height="100"> <br> <span>Timo Korinth</span> </p> <p align="right">[ <a href="#readme-top">back to top</a> ]</p>

License

This project is licensed under the MIT License.

Contact

SlickGPT was initially created by Simon Hopstätter and Timo Korinth at Shipbit.

If you have any questions, feel free to contact us <a href="https://shipbit.de/discord">on our Discord server</a>.

<a href="https://www.shipbit.de"> <img src="static/shipbit-logo.svg" alt="Logo" height="100"> </a> <p align="right">[ <a href="#readme-top">back to top</a> ]</p> <!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->