fiatjaf
124dc390d4
basically revert the previous commit.
2023-12-26 11:05:40 -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
b8600ba205
add syriac, hindi, add default language and direction maps based on script.
2023-12-25 23:42:18 -03:00
fiatjaf
fff2b84090
use "regular" NotoSansJP.
2023-12-25 23:27:23 -03:00
fiatjaf
28d7a73adf
shorten URLs when rendering text image so they don't use all the space.
2023-12-25 23:27:23 -03:00
fiatjaf
3d20906bab
use go build instead of go run in just dev.
2023-12-25 23:27:23 -03:00
fiatjaf
1044c31900
fix script matching bug.
2023-12-25 23:27:23 -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
d790729fb6
Optimize masking for long author names
2023-12-24 22:38:22 +01:00
Daniele Tonon
bb3cfc1157
Add a cut gradient to author name if it's too long
2023-12-24 19:06:08 +01:00
Daniele Tonon
ee076ef22b
Fix text-image date position for Twitter
2023-12-24 18:58:31 +01:00
Yasuhiro Matsumoto
ba7261eee8
Safely close databases
2023-12-24 14:05:09 -03:00
Yasuhiro Matsumoto
5e40dc96ba
fix typos
2023-12-24 14:04:48 -03:00
Daniele Tonon
572e9f2974
Fix text-image bar rendering for Twitter
2023-12-24 17:27:43 +01:00
fiatjaf
9c1a7c0ee9
upgrade eventstore.
2023-12-24 07:50:51 -03:00
Daniele Tonon
83a7fc6e69
Use a custom url for CSS when deploy to bypass the cache
2023-12-24 09:16:44 +01:00
fiatjaf
a7213289ea
do not fail everything just because fetching the author picture failed.
2023-12-23 20:54:41 -03:00
Daniele Tonon
a95f13d176
Fix images rendering
2023-12-24 00:39:32 +01:00
fiatjaf
857adab3f5
more detail in image rendering error.
2023-12-23 19:17:33 -03: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
d24cbc8e81
get rid of false positives for isntRealRelay() by not eliminating the path from the relay URL.
2023-12-23 18:27:48 -03:00
Daniele Tonon
8074a38d89
Optimize empty lines in the preview text image
2023-12-21 16:46:48 +01:00
Daniele Tonon
58f265c4e2
Fix text-image profile position for Twitter
...
S
S
s
s
s
2023-12-21 16:45:06 +01: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
6ba71d8485
remove nostrmo, nozzle, plasma android; add plebstr, freefrom ios.
2023-12-20 09:19:52 -03:00
TsukemonoGit
25c6e0b121
update nostter URL
2023-12-20 09:19:39 -03:00
Daniele Tonon
6a2ff72985
Load profiles last notes asynchronously
2023-12-20 07:50:17 +01:00
Daniele Tonon
c3c9e3d08d
Set cache-control for profiles and related sitemap/rss
2023-12-20 07:49:03 +01:00
Daniele Tonon
8e1e6bbf8f
Preload text image
2023-12-19 18:35:38 +01:00
Daniele Tonon
3e82d7c567
Remove style param from generateClientList
2023-12-15 23:46:57 +01:00
Daniele Tonon
d616f6ff5f
Move clients filtering by platform client side
2023-12-15 23:43:55 +01:00
Daniele Tonon
52ce1ffad0
Fix unwanted scrolling in client list on desktop
2023-12-15 22:35:34 +01:00
Daniele Tonon
e3ea6385f7
Convert inline style
2023-12-14 00:54:09 +01:00
Daniele Tonon
31951c1a08
Reduct mobile menu max height
2023-12-13 23:57:52 +01:00
Daniele Tonon
64972877b0
Review mobile clients visualization
2023-12-13 22:25:16 +01:00
Daniele Tonon
37d7144206
Fix the opening of the menu when clicking the first item
2023-12-13 15:14:43 +01:00
Daniele Tonon
bc4dcbb002
Fix Current name
2023-12-13 15:13:05 +01:00
fiatjaf
a4754f96f1
explicit links to mobile clients.
2023-12-13 15:12:29 +01:00
Daniele Tonon
223014a403
Reduce the default body font size to 18px to match the prose
2023-12-11 18:55:07 +01:00
Daniele Tonon
332c1346c7
Decrase font size for the details area
2023-12-11 18:48:27 +01:00
Daniele Tonon
14aea78c05
Update typography colors for the details area
...
SQUASH
2023-12-11 18:48:27 +01:00
Daniele Tonon
9bae3f6ae7
Update json box bg colors
2023-12-11 18:47:35 +01:00
Daniele Tonon
536af17dc5
Review top profile bar in note templates
2023-12-11 17:34:53 +01:00
Daniele Tonon
71d086e450
Fix the layout of the profile template
2023-12-11 17:20: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