Commit Graph

44 Commits

Author SHA1 Message Date
fiatjaf
0940f0f981 this requires a variation of go-text/typesetting that exposes .Codepoint 2023-12-28 16:27:23 -03:00
fiatjaf
46a4891048 use emojiBuffer as the rule and make mainBuffer adapt to it, removing glyphs as necessary. 2023-12-28 16:22:18 -03:00
fiatjaf
f06badf393 trying to remove unused glyphs from mainBuffer since they got merged in emojiBuffer. 2023-12-28 15:39:44 -03:00
fiatjaf
1a154f57e9 use fiatjaf/emoji for IsEmoji(). 2023-12-27 19:19:18 -03:00
fiatjaf
86f6a09ea3 using a custom RunIterator that takes emojis into account and shapes them with a different font.
it doesn't actually work since the different outputs returned are treated by LineWrapper as necessarily belonging to different lines, so we'll have to do something different.
2023-12-26 11:02:45 -03:00
fiatjaf
5df944705e use go-text/typesetting library to render text better: rendering farsi. 2023-12-25 23:27:09 -03:00
fiatjaf
9c1a7c0ee9 upgrade eventstore. 2023-12-24 07:50:51 -03:00
Daniele Tonon
89a1bb3104 Update text-image design with the author's details and the event date 2023-12-21 14:35:22 +01:00
fiatjaf
dbbf18584b update dependencies. 2023-12-10 07:44:18 -03:00
fiatjaf
c20653594f update khatru. 2023-12-07 08:20:12 -03:00
fiatjaf
35ce972ea6 update eventstore. 2023-12-06 07:17:47 -03:00
fiatjaf
a68d321825 update go-nostr to fix concurrent relays map access bug. 2023-12-04 15:17:01 -03:00
fiatjaf
89763b12ac update go version and write environment variables on README. 2023-12-02 11:26:32 -03:00
fiatjaf
6318910539 update gomarkdown library to fix nil pointer bug. 2023-11-22 22:04:57 -03:00
fiatjaf
bccd22654c ensure metadata is never nil again. 2023-11-22 11:45:38 -03:00
fiatjaf
1448d4d53c replace image drawing library. 2023-11-19 13:10:08 -03:00
Daniele Tonon
b8345f9176 Add RSS for profiles and relays 2023-11-16 22:58:40 +01:00
fiatjaf
2814460acc update nostr-sdk to solve metadata parsing missing pubkey. 2023-11-16 10:22:52 -03:00
fiatjaf
f499ccde8a use .display_name on "fulano on Nostr:" headings when .name is not available. 2023-11-15 10:10:17 -03:00
fiatjaf
0b5766fdfa a humble test framework for opengraph stuff. 2023-11-09 10:36:00 -03:00
fiatjaf
06700a8ac5 update eventstore. 2023-11-07 17:03:27 -03:00
fiatjaf
1ee4b477b8 update eventstore with fix for event duplication. 2023-11-06 13:43:57 -03:00
fiatjaf
3caa8578dd use badger v4 for internal db. 2023-11-06 12:43:06 -03:00
fiatjaf
bf79cd9d0a expose our internal db as a relay. 2023-11-06 11:47:13 -03:00
fiatjaf
9967d10cd6 using eventstore for storing events, querying locally. 2023-11-05 14:39:10 -03:00
fiatjaf
d05440b98f update go-nostr. 2023-11-04 16:09:00 -03:00
fiatjaf
24581a7640 rename module to its github name. 2023-10-28 11:15:04 -03:00
fiatjaf
7293103fc7 first step in the migration to templ. 2023-10-19 21:11:26 -03:00
fiatjaf
4f3141f66a fetch seenOn relays for individual events. 2023-10-02 15:17:39 -03:00
fiatjaf
08c16d371c update go-nostr to get relay information from pool. 2023-10-02 09:24:07 -03:00
fiatjaf
6ce339e242 cors everywhere because why not. 2023-09-24 15:38:45 -03:00
fiatjaf
112e204133 refactor regexes for HTML replacing stuff so another telegram instant view bug is fixed.
now with images inside blockquotes (from quoted events).
2023-09-21 14:55:43 -03:00
fiatjaf
0f3633bcca update go-nostr and don't wait for the entire world to fetch. 2023-08-07 07:12:15 -03:00
fiatjaf
eac5b4c78b use envconfig for managing environment variables. 2023-07-12 10:42:55 -03:00
fiatjaf
6e15520beb on-disk cache with badger. 2023-07-12 10:39:52 -03:00
fiatjaf
bfa2f5f537 update go-nostr to fix a stupid bug. 2023-07-11 15:26:33 -03:00
fiatjaf
6f24ed761a improve caching (cache lastNotes). 2023-07-09 11:22:08 -03:00
fiatjaf
9f2272072e prevent halting, fetch relays per pubkey and improve notes and profile fetching. 2023-07-08 09:09:42 -03:00
Daniele Tonon
44f9c07ee5 Use a specific xss sanitizer for long form content 2023-06-03 00:18:00 +02:00
Daniele Tonon
c292a67bc0 Add markdown support for long format content 2023-06-02 18:09:49 +02:00
Daniele Tonon
ea0f0b647d Add link to the parent note, flag note as reply in the profile's last notes 2023-06-01 15:18:44 +02:00
fiatjaf
f9a85a7de1 add zerolog and fix static file serving. 2023-05-27 08:36:22 -03:00
Daniele Tonon
0c90ec92ea Revert prettyJsonOrRaw update and use go-nostr v1.8.4 for all user's metadata 2023-05-25 20:53:47 +02:00
fiatjaf
48ed02dbd0 wip 2023-05-09 13:41:24 -03:00