mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
- Created startup configuration system for automatic relay and account setup - New StartupConfig struct with optional relay and nsec fields - Load/save functions for startup_config.json - Config file location: ~/.local/share/notedeck/settings/startup_config.json - Integrated startup config into app initialization - Automatically adds account from nsec if provided - Automatically connects to relay if provided - Loads before default relay configuration - Removed all deck creation functionality from side panel - Removed NewDeck, SwitchDeck, and EditDeck actions - Removed deck UI elements (add button, deck list) - Simplified side panel to show only essential controls - Cleaned up unused code (DECK_ICON_SIZE, unused imports) - Added documentation - STARTUP_CONFIG.md with detailed usage instructions - startup_config.json.example with configuration template This allows users to configure their preferred relay and identity once in a config file rather than having to set it up each time the application starts.
5 lines
78 B
JSON
5 lines
78 B
JSON
{
|
|
"relay": "wss://relay.damus.io",
|
|
"nsec": "nsec1your_private_key_here"
|
|
}
|