fiatjaf
47423ddcc4
move some things to enhanced_event.go, that makes more sense.
2024-06-19 22:06:09 -03:00
fiatjaf
66cef7d1c0
cache image detection results so we don't run it over and over for the same image.
2024-06-18 16:37:58 -03:00
fiatjaf
cf6032ea7b
porn detector.
2024-06-17 15:53:27 -03:00
dtonon
4b2c7c017f
Upgrade go-nostr to v0.32.0
2024-06-07 12:42:04 +02:00
dtonon
7a422da589
Upgrade to go-nostr v0.31.4
2024-06-07 12:35:36 +02:00
fiatjaf
5966234156
update nostr-sdk to fix relay lists and move things around.
2024-05-23 23:03:22 -03:00
fiatjaf
7a2aadb749
update templ and format.
2024-05-08 11:47:13 -03:00
fiatjaf
fb29802883
forgot to update khatru.
2024-04-27 18:09:07 -03:00
fiatjaf
0b7a65b285
update dependencies because incompatibilities.
2024-04-26 15:36:07 -03:00
fiatjaf
574e9b0495
update to fix badger backend query bug that was leaking goroutines.
2024-04-26 15:15:51 -03:00
fiatjaf
1af2550e9f
update go-nostr to fix nip05.
2024-03-11 13:46:52 -03:00
Daniele Tonon
be14e2a400
Update go-nostr to v0.29.2
2024-03-10 23:01:24 +01:00
fiatjaf
c51ed56d14
update templ
2024-02-13 12:31:10 -03:00
fiatjaf
4dda52cfb9
use stdlib "slices" and updated eventstore for badger possible fix.
2024-02-08 16:32:08 -03:00
fiatjaf
d6527011db
ensure hinted relays (from nip19/nip05) get prioritized in the generation of nip19 codes afterwards -- if we had success fetching from them.
2024-01-16 18:07:47 -03:00
fiatjaf
6b19f5103c
move nip31, nip53, nip94 definitions to go-nostr and prepare for nip52.
2024-01-10 12:14:56 -03:00
fiatjaf
7f0bb418b6
ported all templates to templ syntax.
2024-01-07 15:48:55 -03:00
fiatjaf
c4e61ac22c
fix eventstore bug (hopefully).
2024-01-05 18:16:34 -03:00
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