Commit Graph

94 Commits

Author SHA1 Message Date
fiatjaf
901b2b5d62 tmpl migration: profile.html 2023-10-21 11:47:28 -03:00
fiatjaf
8cd313572f adjust templateMapping. 2023-10-21 08:25:58 -03:00
fiatjaf
a04f82764a rename variable CanonicalHost to Domain. 2023-10-21 07:47:37 -03:00
fiatjaf
6aa1440b05 tmpl migration: note.html 2023-10-21 07:45:44 -03:00
fiatjaf
493ee21465 DISK_CACHE_PATH as an environment variable. 2023-10-21 07:45:03 -03:00
fiatjaf
bc947e29d8 mass tmpl migration: partials, other.html and archive.html. 2023-10-21 00:47:19 -03:00
fiatjaf
4b1dddebae make robots.txt rendering a simple string thing. 2023-10-19 21:11:26 -03:00
fiatjaf
7293103fc7 first step in the migration to templ. 2023-10-19 21:11:26 -03:00
fiatjaf
9037b60663 rename CANONICAL_HOST variable to DOMAIN (with backwards-compatible fallback). 2023-10-19 08:35:38 -03:00
fiatjaf
e5d37ece3c placeholder favicon handler. 2023-10-10 09:35:16 -03:00
fiatjaf
637cfa55e9 make "s" (Settings) a global template function so we don't have to pass it around everywhere. 2023-10-07 08:20:10 -03:00
fiatjaf
f169c01e67 fix .metadata.Website without a leading "https://" 2023-10-07 08:15:52 -03:00
fiatjaf
a0a528d073 rename generate => renderImage 2023-10-01 15:56:38 -03:00
fiatjaf
6ce339e242 cors everywhere because why not. 2023-09-24 15:38:45 -03:00
fiatjaf
4e89a2125e somewhat-working oembed support. 2023-09-23 22:16:57 -03:00
fiatjaf
25a683e9c8 oembed initial work. 2023-09-23 15:43:06 -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
Daniele Tonon
8ab0cfca8c Update last notes design + add npub to relays list 2023-09-20 00:50:52 +02:00
Daniele Tonon
616242ac3b Shorten nip-119 entities in profiles/relays' last notes 2023-09-19 15:37:41 +02:00
fiatjaf
b0bda60577 improve and fix telegram instant preview for markdown articles. 2023-09-14 10:31:38 -03:00
fiatjaf
0754a46405 do not update archives immediately. 2023-09-13 21:13:24 -03:00
fiatjaf
7291dd4bed telegram instant preview when a note is very big. 2023-09-13 20:49:24 -03:00
Daniele Tonon
67599a696f Add homepage 2023-09-11 07:48:38 +02:00
Daniele Tonon
c4bad18ee5 Add robots.txt 2023-09-11 01:42:17 +02:00
Daniele Tonon
a269fd32cb Add sitemaps for archives 2023-09-07 00:36:57 +02:00
Daniele Tonon
a20dcee2e9 Enable custom canonical via ENV 2023-09-06 14:03:53 +02:00
Daniele Tonon
1f4f39b1e4 Render mentions inline 2023-09-03 02:04:22 +02:00
Daniele Tonon
59cdd46b8b Improve note title and description 2023-08-17 16:01:58 +02:00
Daniele Tonon
f3781c1f76 Exit updateArchives gracefully 2023-07-27 23:37:25 +02:00
Daniele Tonon
a20b985cc8 Trim protocon from archive's relay urls 2023-07-27 23:30:05 +02:00
Daniele Tonon
37ff53f22c Add relays archive 2023-07-27 23:15:48 +02:00
Daniele Tonon
eabec9b590 Add npubs archive
Add more npubs
2023-07-27 23:15:48 +02:00
Daniele Tonon
6d7d9416f4 Add relay sitemaps 2023-07-13 21:47:25 +02:00
Daniele Tonon
c32362e220 Add initial support to profile sitamaps 2023-07-12 23:27:10 +02:00
fiatjaf
c0cbb3c27c disable cache at build time.
using build tag `nocache` to disable usage of the disk cache entirely.
2023-07-12 14:22:34 -03:00
fiatjaf
ff56095145 default port to 2999 2023-07-12 10:53:53 -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
d734b189d9 initial broken draft of relays page. 2023-07-11 18:19:11 -03:00
fiatjaf
65a61cdcd6 serve everything under the /njump/ path to prevent conflicts with root domain website. 2023-05-27 08:42:11 -03:00
fiatjaf
f9a85a7de1 add zerolog and fix static file serving. 2023-05-27 08:36:22 -03:00
Daniele Tonon
2b10bc61b7 Setup up a first desktop version 2023-05-23 11:03:55 +02:00
fiatjaf
00b824f98e it's working! even on twitter. 2023-05-10 23:05:31 -03:00
fiatjaf
48ed02dbd0 wip 2023-05-09 13:41:24 -03:00