How lyravoid/gitlynk works
GitLynk is a static, browser-only generator for links to GitHub repository tools. A user enters a repository URL; the app validates and normalizes it locally, combines it with a local tool registry, then presents generated links in categorized cards for opening or copying. The command palette offers complementary navigation and actions, while theme and motion preferences shape the interface. README documents no backend, database, authentication, or GitHub API. Edges reflect shown App orchestration and component imports; unsampled feature details are kept at directory scope where needed.
Main entry points: App.tsx App orchestration · useTheme.ts Theme state · RepositoryPreview.tsx Repository preview · ToolGrid.tsx Tool browser
Components 22
Repository link workflow
- App orchestration
src/App.tsx - Repository input
src/components/RepositoryInput.tsx - URL parser
src/lib/parser.ts - Tool registry
src/data/tools.ts - Link generator
src/lib/generator.ts - Repository preview
src/components/RepositoryPreview.tsx - Browser utilities
src/lib/utils.ts
Browsing interface
- Tool browser
src/components/ToolGrid.tsx - Category tabs
src/components/CategoryTabs.tsx - Tool card
src/components/ToolCard.tsx - Command palette
src/components/CommandPalette.tsx - Hero section
src/components/Hero.tsx - Header
src/components/Header.tsx - Footer
src/components/Footer.tsx
Presentation preferences
- Theme state
src/hooks/useTheme.ts - Media query hook
src/hooks/useMediaQuery.ts - Motion preference
src/hooks/useReducedMotion.ts - Visual effects
src/components/effects - Motion components
src/components/motion
Other components
- User
- GitHub
- Linked tool services
Connections 27
- User → Repository input: enters URL
src/components/RepositoryInput.tsx - App orchestration → Repository input: renders
src/App.tsx - App orchestration → URL parser: validates input
src/App.tsx - App orchestration → Link generator: generates links
src/App.tsx - App orchestration → Tool registry: provides tools
src/App.tsx - App orchestration → Hero section: supplies repository
src/App.tsx - Hero section → Repository input: renders
src/components/Hero.tsx - Hero section → Repository preview: renders
src/components/Hero.tsx - App orchestration → Tool browser: supplies generated links
src/App.tsx - Tool browser → Category tabs: renders
src/components/ToolGrid.tsx - Tool browser → Tool card: renders
src/components/ToolGrid.tsx - Tool card → Linked tool services: links to
- User → Command palette: invokes actions
- App orchestration → Command palette: renders
src/App.tsx - App orchestration → Header: renders
src/App.tsx - App orchestration → Footer: renders
src/App.tsx - Header → Theme state: changes theme
src/App.tsx - Command palette → Theme state: changes theme
src/App.tsx - App orchestration → Theme state: reads preference
src/App.tsx - Theme state → Media query hook: checks system theme
- Motion preference → Media query hook: checks preference
src/hooks/useReducedMotion.ts - App orchestration → Motion preference: reads preference
src/App.tsx - App orchestration → Visual effects: renders effects
src/App.tsx - Repository preview → Motion components: uses surfaces
src/components/RepositoryPreview.tsx - App orchestration → Browser utilities: copies text
src/App.tsx - Repository preview → GitHub: opens repository
src/components/RepositoryPreview.tsx - Linked tool services → GitHub: includes GitHub links