free-chat

free-chat

An elegant LLM chat UI forked from chatgpt-demo of @anse-app. Index site at https://free-chat.asia

Stars: 177

Visit
 screenshot

Free Chat is a forked project from chatgpt-demo that allows users to deploy a chat application with various features. It provides branches for different functionalities like token-based message list trimming and usage demonstration of 'promplate'. Users can control the website through environment variables, including setting OpenAI API key, temperature parameter, proxy, base URL, and more. The project welcomes contributions and acknowledges supporters. It is licensed under MIT by Muspi Merol.

README:

Free Chat

English | 简体中文

Forked from chatgpt-demo. Find deployment instructions in the original repository.

Branches

  • main: the base branch containing all the styles
  • endless: includes token-based message list trimming
  • promplate-demo: active developed, for demonstrating the usage of promplate

Environment Variables

You can control the website through environment variables.

Name Description Default
OPENAI_API_KEY Your API Key for OpenAI. null
OPENAI_API_TEMPERATURE Default temperature parameter for model. 1.0
HTTPS_PROXY Provide proxy for OpenAI API. null
OPENAI_API_BASE_URL Custom base url for OpenAI API. https://api.openai.com
HEAD_SCRIPTS Inject analytics or other scripts before </head> of the page null
PUBLIC_SECRET_KEY Secret string for the project. Use for generating signatures for API calls null
SITE_PASSWORD Set password for site. If not set, site will be public null
OPENAI_API_MODEL ID of the model to use. Model endpoint compatibility gpt-4o-mini
TUTORIAL_MD_URL url of the tutorial markdown file null
PUBLIC_IFRAME_URL url of the advertisement iframe null
UNDICI_UA user-agent for backend requests (forward)
PUBLIC_RIGHT_ALIGN_MY_MSG whether user messages should be right-aligned null
PUBLIC_CL100K_BASE_JSON_URL CDN url for cl100k_base.json, such as file at jsdelivr.net null
PUBLIC_TIKTOKEN_BG_WASM_URL CDN url for tiktoken_bg.wasm, such as file at esm.sh null

Contributing

This project exists thanks to all those who contributed to the original project.

Thank you to all our supporters!🙏

img

License

MIT © Muspi Merol

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for free-chat

Similar Open Source Tools

For similar tasks

For similar jobs