Gigi
8b30ffd5e7
Merge pull request #41 from dergigi/fix-opengraph-try2
...
Fix OpenGraph metadata generation for article naddrs
2025-11-07 17:31:26 +01:00
Gigi
3975ef15dd
chore(runtime): pin Node 22.x via package.json engines
2025-11-07 17:28:01 +01:00
Gigi
61e8517137
fix(vercel): remove functions.runtime and pin Node 18 via package.json engines
2025-11-07 17:26:35 +01:00
Gigi
b0d30946eb
fix(vercel): add version=2 to vercel.json so functions.runtime is recognized
2025-11-07 17:21:59 +01:00
Gigi
c0cfd41e76
perf(og): increase relay request timeouts (7s article, 5s profile) to improve reliability
2025-11-07 17:15:48 +01:00
Gigi
be7b6c2cfb
chore(vercel): pin Node runtime and increase maxDuration for article OG function
2025-11-07 17:15:30 +01:00
Gigi
afd27032e0
chore(api): add ws polyfill and dependency for RelayPool in serverless
2025-11-07 17:15:17 +01:00
Gigi
696fe42bee
feat(og): always render OG meta for /a/:naddr and include redirect script for browsers
2025-11-07 17:14:55 +01:00
Gigi
1a0370aef9
Merge pull request #40 from dergigi/fix-500
...
Fix serverless import resolution for profile helpers
2025-11-07 16:48:11 +01:00
Gigi
ed3e8e9799
refactor(shared): move profile helpers to lib and import from API and src\n\n- Fix serverless import resolution by avoiding src/** in API\n- Keep code DRY with single shared module
2025-11-07 16:43:02 +01:00
Gigi
f590ff56ec
fix(api): inline profile display name helper to avoid src import in serverless
2025-11-07 16:39:58 +01:00
Gigi
cc68980cdb
Merge pull request #39 from dergigi/fix-opengraph-stuff
...
Fix OpenGraph meta tags for article URLs
2025-11-07 16:36:11 +01:00
Gigi
d83708ceb3
fix: remove user-agent restriction from article OG rewrite
...
All /a/:naddr requests now route to article-og handler, which handles crawler detection internally. This ensures social media crawlers always receive proper OpenGraph meta tags.
2025-11-07 16:10:31 +01:00
Gigi
507aa27d29
chore: remove trailing newline from tables.md test file
2025-11-07 16:04:50 +01:00
Gigi
1d4c5a7393
docs: add footnotes explaining Bitcoin frequency notation
2025-11-07 15:43:25 +01:00
Gigi
64fd2cc0d3
test: add real-world table from Bitcoin is Time article
2025-11-07 15:36:55 +01:00
Gigi
b6182b3c11
Merge pull request #38 from dergigi/render-tables
...
Add markdown table rendering support
2025-11-07 15:22:42 +01:00
Gigi
e7e02dd129
fix: remove quotation marks from title in publish-markdown script
2025-11-07 15:16:45 +01:00
Gigi
d76bfb66bb
docs: add test account npub and profile link to .env.example
...
Add documentation about the test account used for publishing markdown test documents, including the npub and profile link to Marky Markdown Testerson's writings.
2025-11-07 15:14:31 +01:00
Gigi
024e62118b
docs: add test account npub and profile link to publish-markdown.sh
...
Add documentation about the test account used for publishing markdown test documents, including the npub and profile link to Marky Markdown Testerson's writings.
2025-11-07 15:13:46 +01:00
Gigi
ed93675d8d
chore: remove misplaced .env.example from scripts directory
...
The publish-markdown.sh script expects .env in the project root, not in scripts/, so this example file was in the wrong location.
2025-11-07 15:12:58 +01:00
Gigi
2089208448
docs: add explanatory paragraphs to each test table
...
- Add descriptive text before each table explaining what it tests
- Improve documentation for table test cases
- Help developers understand the purpose of each test scenario
2025-11-07 15:08:15 +01:00
Gigi
4fd8a0b18f
test: extend table with numbers to 21 rows
...
- Add rows 4-21 with decreasing scores
- Test table styling with longer content
2025-11-07 15:06:46 +01:00
Gigi
48213fa584
style: add subtle table styling that matches app theme
...
- Add comprehensive table styles with borders, padding, and spacing
- Style table headers with elevated background
- Add subtle row striping for better readability
- Support text alignment (left, center, right)
- Maintain mobile responsiveness with horizontal scrolling
- Use theme CSS variables for consistent theming across light/dark modes
2025-11-07 15:04:03 +01:00
Gigi
eaabad98c2
fix: use @filename syntax to read markdown content from file instead of stdin
2025-11-07 15:00:52 +01:00
Gigi
31bcd61aae
feat: add npm script for publishing test markdown files
2025-11-07 14:58:02 +01:00
Gigi
f6c00f4c20
docs: clarify that NOSTR_SECRET_KEY should be a test account key
2025-11-07 14:56:19 +01:00
Gigi
0ce9f76f3b
fix: look for .env file in scripts directory instead of project root
2025-11-07 14:53:52 +01:00
Gigi
781cade78b
docs: update script usage to include npm command
2025-11-07 14:49:09 +01:00
Gigi
15e91414da
feat: add npm script for publishing markdown files
2025-11-07 14:49:02 +01:00
Gigi
453a4f48ca
refactor: move .env to scripts directory and update documentation
2025-11-07 14:47:57 +01:00
Gigi
a91aa87ef9
refactor: move .env file to scripts directory
2025-11-07 14:47:49 +01:00
Gigi
52be65e382
chore: remove .env from git tracking, keep .env.example
2025-11-07 14:47:26 +01:00
Gigi
142995e83c
fix: improve .env file parsing to handle quoted values
2025-11-07 14:47:12 +01:00
Gigi
03a7f91961
feat: add .env support for RELAYS and NOSTR_SECRET_KEY in publish-markdown script
2025-11-07 14:47:05 +01:00
Gigi
496b329e82
fix: improve command construction in publish-markdown script
2025-11-07 14:45:49 +01:00
Gigi
a4c8a7d68b
feat: add script to publish markdown test files to Nostr using nak
2025-11-07 14:45:42 +01:00
Gigi
8f90de01fd
test: add markdown table test file
2025-11-07 14:44:04 +01:00
Gigi
341fbd8c2a
Merge pull request #37 from dergigi/njump-to
...
Change default nostr gateway to njump.to
2025-11-06 19:15:29 +01:00
Gigi
01722cff38
feat: change default nostr gateway to njump.to
2025-11-06 19:12:59 +01:00
Gigi
a7a7857219
docs: update CHANGELOG for v0.10.33
2025-11-05 23:09:11 +01:00
Gigi
104332fd94
chore: bump version to 0.10.33
v0.10.33
2025-11-05 23:08:14 +01:00
Gigi
e736c9f5b9
Merge pull request #36 from dergigi/mobile-highlighting
...
Fix mobile text selection detection for highlighting
2025-11-05 23:07:33 +01:00
Gigi
103e104cb2
chore: remove unused React import from VideoEmbedProcessor
2025-11-05 23:05:14 +01:00
Gigi
5389397e9b
fix(mobile): use selectionchange event for immediate text selection detection
...
Replace mouseup/touchend handlers with selectionchange event listener
for more reliable mobile text selection detection. This fixes the issue
where the highlight button required an extra tap to become active on
mobile devices.
- Extract selection checking logic into shared checkSelection function
- Use selectionchange event with requestAnimationFrame for immediate detection
- Remove onMouseUp and onTouchEnd props from VideoEmbedProcessor
- Simplify code by eliminating separate mouse/touch event handlers
2025-11-05 23:04:38 +01:00
Gigi
54cba2beed
Merge pull request #35 from dergigi/fuzzy2
...
perf(highlights): optimize highlight application performance
2025-11-03 01:38:07 +01:00
Gigi
da76cb247c
perf(highlights): optimize highlight application with multiple improvements
...
- perf: collect text nodes once instead of per highlight (O(n×m) -> O(n+m))
- fix: correct normalized index mapping algorithm for whitespace handling
- feat: allow nested mark elements for overlapping highlights
- perf: add caching for highlighted HTML results with TTL and size limits
2025-11-03 01:34:02 +01:00
Gigi
9b4a7b6263
docs: update CHANGELOG for v0.10.32
2025-11-02 23:54:07 +01:00
Gigi
e6f98d69e7
chore: bump version to 0.10.32
v0.10.32
2025-11-02 23:53:37 +01:00
Gigi
3785d34e8f
Merge pull request #34 from dergigi/show-npubs-and-nprofiles-as-names
...
Standardize npub/nprofile display and improve profile resolution
2025-11-02 23:53:11 +01:00