Logo
Explore Help
Sign In
senaduka/tefter
1
0
Fork 0
You've already forked tefter
Code Issues Pull Requests Actions Packages Projects Releases 2 Wiki Activity
Files
2ebfa4caaffdc31af66120c644790213ed945044
tefter/desktop/hotkey_linux.go

11 lines
119 B
Go
Raw Normal View History

Implement Tefter per SPEC.md: NV-style notes with server, sync, PWA, desktop - frontend/: Svelte 4 + TS + Vite app — omnibar (search-and-create), ranked diacritic-insensitive filtering, CodeMirror 6 markdown editor with 400ms autosave, marked+DOMPurify preview with [[wiki-links]], tag filter, undo toast, light/dark, narrow-screen stacked layout, IndexedDB store, pull-then- push sync engine with conflict handling, versioned cache-first service worker + manifest (installable PWA) - server/: tefterd — Go stdlib HTTP + modernc.org/sqlite, /api/v1 sync API (changes/batch/health/import), SHA-256 hashed bearer token, LWW-with- conflict-copies push rules, subcommands: init, token rotate, import simplenote, compact, backup (VACUUM INTO); embeds the frontend bundle - desktop/: Wails v2 shell — single instance, hide-to-tray (fyne systray), global Ctrl+Shift+Space hotkey, quit-on-close flag - Simplenote import (CLI + web upload), idempotent via source_id dedupe; verified against a real 242-note export - Makefile (frontend/server/server-all/desktop/test), GitHub release workflow, README with systemd/Caddy/backup docs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:16:01 +02:00
//go:build linux
package main
import "golang.design/x/hotkey"
const (
modAlt = hotkey.Mod1
modCmd = hotkey.Mod4
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 37ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API