Daniele Tonon
8d6b3f5cd9
Merge branch 'use-go-text-typesetting'
2023-12-29 13:42:53 +01:00
fiatjaf
a500e7bb79
add cyrillic and make latin/unknown be just the fallback, not compete against other scripts in the identification race.
2023-12-27 20:57:45 -03:00
fiatjaf
1022fb76fa
successfully mixing in a normal font + the emoji font for some runes only through a myriad of weird hacks.
2023-12-26 22:08:24 -03:00
fiatjaf
9be417fc7c
bring in HarfbuzzShaper into code as a function so we can modify it.
2023-12-26 19:38:27 -03:00
fiatjaf
a7b56f046b
rendering everything with nice script and language detection and font-picking.
2023-12-25 23:27:23 -03:00
fiatjaf
5df944705e
use go-text/typesetting library to render text better: rendering farsi.
2023-12-25 23:27:09 -03:00
Daniele Tonon
f478d17219
Fix handling of ?/# separators in media regexps
2023-12-25 19:07:58 +01:00
Daniele Tonon
a95f13d176
Fix images rendering
2023-12-24 00:39:32 +01:00
fiatjaf
ba15931747
stop excluding wss://relay.noswhere.com since it is perfectly fine for nip19.
2023-12-23 18:28:50 -03:00
fiatjaf
f79cb1e9a2
get rid of shouldUseRelayForNip19(), use isntRealRelay().
2023-12-23 18:28:23 -03:00
fiatjaf
a4754f96f1
explicit links to mobile clients.
2023-12-13 15:12:29 +01:00
fiatjaf
622dc356fa
fix unique() for empty slices.
2023-12-04 15:15:48 -03:00
fiatjaf
bd67496baf
use noswhere relay as a source for profiles and random ids (@semisol).
2023-12-02 19:44:04 -03:00
fiatjaf
98ac4f6855
use primal relay as event source by id and filter out "virtual" relays from being returned or added to hints.
2023-11-30 12:19:50 -03:00
fiatjaf
8a2fa69cb9
refactor unique() to be faster.
2023-11-30 12:19:49 -03:00
Daniele Tonon
8a99017259
Add an option to basicFormatting to skip links
...
SQUASH
2023-11-28 20:14:22 +01:00
Daniele Tonon
b8345f9176
Add RSS for profiles and relays
2023-11-16 22:58:40 +01:00
fiatjaf
6b810d5ed1
fix quoted videos for telegram instant view too, like images.
2023-11-15 14:43:58 -03:00
fiatjaf
929307f3ba
move markdown stuff to its own file and simplify code a bit.
2023-11-12 18:11:14 -03:00
Daniele Tonon
76f01721fc
Review design for linked entities
2023-11-08 23:07:03 +01:00
Daniele Tonon
800bc56796
Review design for mentioned notes
2023-11-08 23:07:03 +01:00
fiatjaf
08b07227eb
fix getParentNevent()
...
this would panic if we didn\'t have any relays in data.relays for the child.
but also I think it wasn't a good idea to give spurious hints in the nevent.
either we have good hints or we don't.
2023-11-08 18:51:25 -03:00
fiatjaf
0b6a4838c5
getRelay() -> getRandomRelay()
2023-11-07 17:03:44 -03:00
Daniele Tonon
96da7ab72c
Fix and improve getParentNevent()
2023-11-07 17:44:28 +01:00
Daniele Tonon
12c1bebf99
Add support for live chat message, kind:1311
2023-11-07 15:13:05 +01:00
fiatjaf
9f0b3fa4af
use naddr as code in client urls when param-replaceable and fix relay filtering for nip19.
...
fixes https://github.com/fiatjaf/njump/issues/14
2023-11-07 09:14:45 -03:00
Daniele Tonon
b5a4cfdfdb
Add support for live events, kind:30311
2023-11-06 23:28:20 +01:00
fiatjaf
604be14407
modularizing opengraph headers and fixing a bunch of small things on there.
2023-11-06 11:07:20 -03:00
Daniele Tonon
6e0c608a0c
Review link styles for entities
2023-11-05 21:06:19 +01:00
fiatjaf
e477d38e66
fixing implementation of previous commit in multiple places.
2023-11-05 14:39:10 -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
f3997b78ae
Your => your native client
2023-10-30 20:08:15 -03:00
fiatjaf
68e3722bbd
turn user-agent style possibilities into constants.
2023-10-30 19:35:59 -03:00
Daniele Tonon
ad91d3b96b
Add basic support for NIP-94 - File Metadata
2023-10-30 23:29:23 +01:00
Daniele Tonon
84d5914b7f
Add a background to not full width videos
2023-10-30 18:44:23 +01:00
Daniele Tonon
aee216ee5c
Limit video size to the viewport
2023-10-28 23:24:47 +02:00
fiatjaf
b44defdc13
fix client urls.
...
closes https://github.com/fiatjaf/njump/issues/13
2023-10-28 17:04:36 -03:00
Daniele Tonon
6f7b04769e
Review clients design
2023-10-28 15:22:54 +02:00
Daniele Tonon
86be87e2dc
Fix the flickering of the notes' left border
2023-10-28 14:10:22 +02:00
fiatjaf
92d8b6a6d1
use event relays when searching for pubkey metadata, compute nprofile.
2023-10-26 08:17:27 -03:00
fiatjaf
19310fbcd2
small style adjustments.
2023-10-25 20:33:30 -03:00
fiatjaf
35e9a6da30
last tailwind conversions: generic prose things and .column_content, eliminate styles entirely.
2023-10-25 20:25:18 -03:00
fiatjaf
015b6b1c42
fix json empty tags indentation.
2023-10-25 11:13:01 -03:00
fiatjaf
4f276e2156
remove some unused clients.
2023-10-25 00:23:01 -03:00
fiatjaf
660952a338
syntax-highlight event JSON on the server.
2023-10-24 21:09:01 -03:00
fiatjaf
81390b159c
tailwind .nostr
2023-10-24 20:01:17 -03:00
fiatjaf
a9f89cf6fc
add nostrudel.
2023-10-24 10:13:48 -03:00
fiatjaf
75b7a96675
replacing scripts with hyperscript.
2023-10-21 21:40:39 -03:00
fiatjaf
f70b13afe7
relay and archive sitemaps xml (with a nice hack because htmlgo is not xml-friendly.)
2023-10-21 13:34:32 -03:00