Greasy Fork is available in English.
Adds icon to the sidebar that opens a modal with chat search functionality
A powerful userscript that adds advanced search and indexing capabilities to DeepSeek Chat, allowing you to quickly find conversations by title or content.
Click the Settings button in the search modal to access:
All settings can be adjusted via the Settings panel or localStorage keys:
dscs_results_page_size: Results per page in modal (default: 20)dscs_page_count: Sessions fetched per API page (default: 50)dscs_content_count: Histories to fetch per page during search (default: 20)dscs_max_pages: Maximum pages to search (default: 10)dscs_page_ttl: Session cache duration in milliseconds (default: 24 hours)dscs_history_ttl: History cache duration in milliseconds (default: 7 days)dscs_auto_sync: Enable/disable auto-sync (default: enabled)dscs_auto_sync_interval_ms: Sync interval in milliseconds (default: 5 minutes)dscs_auto_sync_pages: Number of newest pages to sync (default: 2)dscs_auto_prefetch_new_histories: Auto-fetch histories for new sessions (default: disabled)dscs_auto_prefetch_limit: Maximum histories to prefetch (default: 20)dscs_token_capacity: Token bucket capacity (default: 4)dscs_token_refill: Tokens refilled per second (default: 0.5)dscs_request_concurrency: Concurrent API requests (default: 2)dscs_min_delay: Minimum delay between requests in ms (default: 400)dscs_fetch_timeout: Request timeout in ms (default: 20000)dscs_max_retries: Maximum retry attempts (default: 5)dscs_backoff_base: Base backoff time in ms (default: 1000)The script exposes utility functions via window.DSCS:
// Clear all cached sessions
await window.DSCS.clearSessionIndex();
// Clear all cached message histories
await window.DSCS.clearHistories();
// Manually trigger auto-sync
await window.DSCS.autoSyncRecentSessions();
// Index all conversations (may take a while)
await window.DSCS.indexAllChats();
Automatically detects and adapts to DeepSeek's light/dark theme.
updated_at timestampsdscs_request_concurrency in settingsdscs_min_delay between requestsdscs_token_refill ratedscs_results_page_size for fewer results per pagedscs_content_count and dscs_max_pages for content searchFound a bug or have a feature request? Please report issues or contribute improvements!