Skip to content

dx2102/ooolchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

OoolChat

This is a simple web app to call LLM APIs.

It aims to create a clean and fast UI baseline, while remaining a single-HTML file with vanilla JS.

Simply paste the code into LLMs to safety-check/customize it.

Main Goals:

  • Concise, single-file code
  • Easy to customize with LLMs or check for safety
  • Design:
    • Consistent layout and color (tailwind)
    • Readable, high-contrast text

Todos:

1. Basics

  • Streaming output
  • Multi-line input bar

2. Better Markdown

  • Markdown rendering (markdown-it)
  • Code highlighting (highlight.js)
  • Math rendering (katex)

3. Better Utilities

  • Store chat history locally (IndexedDB)
  • Search bar
  • Full text search
  • Optimized DB operations
  • Resize / Hide sidebar
  • Responsive UI / Phone support

4. Even Better Utilities

  • CDN library caching
  • Load large libraries in the background
  • Auto-scrolling (disabled by default)
  • Auto-focus
  • Scroll chaining
  • Memorize scrolling position
  • Command+Click for a new window

5. Even Better Markdown

  • Copy button
  • Correct LaTeX Copying
  • Markdown tables
  • Support the checklist syntax
  • Skip CJK "Enter" button in input box
  • Fix CJK characters bolding in markdown

6. Chat management

  • Delete / Pin / Rename chat
  • Stop generation
  • Edit message
  • Retry
  • Branching
  • Allow parallel generation

7. Settings / Customization

  • Change API Keys
  • Manage models (api keys, base url, system prompts, temperature, top_p, max_tokens)
  • Manage appearance (font, color, padding, darkmode preset)
  • Slash commands
  • Shortcut keys
  • Export data
  • Delete all images

8. Advanced usage

  • List and jump to messages
  • Metadata (pricing, token count, raw json)
  • Image uploads
  • Show thinking trace
  • Code Execution (WebAssembly)
  • SVG / Mermaid rendering
  • Print page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages