@@ -14,7 +14,7 @@ Get the native NanoChat experience on your devices:
1414- ** iOS** : [ nanochat-ios] ( https://github.com/nanogpt-community/nanochat-ios ) ([ TestFlight Beta] ( https://testflight.apple.com/join/afmPp2xW ) )
1515- ** Desktop** : coming soon
1616
17- ** IMPORTANT** - Rename your thom-chat.db.* files to nanochat.db.*
17+ ** IMPORTANT** - Rename your thom-chat.db._ files to nanochat.db._
1818
1919---
2020
@@ -160,30 +160,51 @@ View performance benchmarks from [Artificial Analysis](https://artificialanalysi
160160### Provider Selection
161161
162162For models supported by multiple providers on NanoGPT, you can:
163+
163164- Select a specific provider (e.g., 'openai', 'anthropic', 'google') for a model.
164165- Configure preferred and excluded providers in Account Settings.
165166- Enable automatic fallback to other providers if the preferred one fails.
166167
167168### Video Generation
168169
169170Generate videos using NanoGPT's video models:
171+
170172- Text-to-video generation
171173- View generation status and history
172174- Download generated videos
173175
176+ ### URL Parameters & Shortcuts
177+
178+ You can use URL parameters to pre-configure your chat session. This is useful for creating bookmarks or "bang" style shortcuts (e.g. in your browser).
179+
180+ | Parameter | Description | Example |
181+ | ----------------- | -------------------------------------------------------- | ---------------------------- |
182+ | ` q ` | Pre-fills the chat input | ` ?q=Explain quantum physics ` |
183+ | ` model ` | Selects the AI model | ` ?model=openai/gpt-4o ` |
184+ | ` model_provider ` | Selects the provider for the model (NanoGPT) | ` ?model_provider=cerebras ` |
185+ | ` search ` | Sets web search mode (` off ` , ` standard ` , ` deep ` ) | ` ?search=deep ` |
186+ | ` search_provider ` | Sets search provider (` linkup ` , ` tavily ` , ` exa ` , ` kagi ` ) | ` ?search_provider=tavily ` |
187+ | ` projectId ` | Contextualizes chat with a specific Project | ` ?projectId=123 ` |
188+
189+ ** Example "Bang" URL:**
190+ ` https://your-nanochat.com/chat?model=anthropic/claude-3-5-sonnet&search=deep&q=%s `
191+
192+ ** In-Chat Shortcuts:**
193+
194+ - ` @<rule_name> ` : Apply a specific user rule to the current message (e.g., ` @concise ` )
174195
175196---
176197
177198## Environment Variables
178199
179- | Variable | Description |
180- | ---------------------------- | ------------------------------------------------------- |
181- | ` DATABASE_URL ` | SQLite database path (default: ./data/nanochat.db) |
182- | ` NANOGPT_API_KEY ` | Nano-GPT API key for generation |
183- | ` BETTER_AUTH_SECRET ` | Authentication secret |
184- | ` BETTER_AUTH_URL ` | Base URL for authentication |
185- | ` ARTIFICIAL_ANALYSIS_API_KEY ` | (Optional) API key for model benchmarks from artificialanalysis.ai |
186- | ` ENCRYPTION_KEY ` | (Optional) Encryption key for API keys at rest. Generate with ` openssl rand -base64 32 ` |
200+ | Variable | Description |
201+ | ----------------------------- | -------------------------------- ------------------------------------------------------- |
202+ | ` DATABASE_URL ` | SQLite database path (default: ./data/nanochat.db) |
203+ | ` NANOGPT_API_KEY ` | Nano-GPT API key for generation |
204+ | ` BETTER_AUTH_SECRET ` | Authentication secret |
205+ | ` BETTER_AUTH_URL ` | Base URL for authentication |
206+ | ` ARTIFICIAL_ANALYSIS_API_KEY ` | (Optional) API key for model benchmarks from artificialanalysis.ai |
207+ | ` ENCRYPTION_KEY ` | (Optional) Encryption key for API keys at rest. Generate with ` openssl rand -base64 32 ` |
187208
188209### API Key Encryption
189210
0 commit comments