38 Commits

Author SHA1 Message Date
dtonon
68dbe860f4 Add CGO_ENABLED=1 to the build task 2025-03-31 13:20:26 +02:00
fiatjaf
0f2aba5cb3 get rid of custom libsecp256k1 build, go-nostr embeds it now. 2025-02-23 08:12:02 -03:00
dtonon
3bfb4a93a9 Update just compile to support macos 2025-01-16 19:42:26 +01:00
fiatjaf
8bc3aef155 delete old abandoned clients from lists, add yakihonne for handling microblogs. 2024-11-25 07:52:50 -03:00
fiatjaf
a30d484432 using leafdb instead of the messy badger db we had. 2024-10-06 21:17:08 -03:00
fiatjaf
b9450aee1e use libsecp256k1 with musl for signature verification. 2024-09-29 14:01:44 -03:00
fiatjaf
38557f3e9b switch to lmdb for the eventstore, sacrifice avif and force musl compilation in the meantime. 2024-09-26 21:49:27 -03:00
fiatjaf
0fed8f7862 rsync doesn't work, use scp to deploy. 2024-09-25 22:41:01 -03:00
fiatjaf
7405cc2b75 remove AI language thing. 2024-09-25 14:28:38 -03:00
fiatjaf
7a054f9d65 fix tailwind debug and skip language model on dev. 2024-09-11 16:39:19 -03:00
fiatjaf
878d7223c1 flexible deploys ("just deploy njump" for the old behavior) 2024-09-05 10:49:34 -03:00
fiatjaf
c0004f67a2 fix slowness of previous refactors that injected nostr-sdk into this codebase + refactors.
- adjusting many small things related to nostr-sdk usage
- fetching profiles in a smarter way
- decoupling the logic for rendering profile pages from the `grabData`/`getEvent` flow of other event pages.
- incorporating nostr-sdk more holistically, including more hints stuff
- improving nostr-sdk itself after some bugs and weird behaviors observed here
- set up opentelemetry (should probably remove this later)
2024-08-02 12:48:58 -03:00
fiatjaf
eca958c56b remove nsfw AI detector thing. 2024-06-21 13:05:07 -03:00
fiatjaf
eb96592189 conditional nsfw tag on just dev. 2024-06-19 16:24:42 -03:00
fiatjaf
2047f71dc3 remove --no-ignore-vcs from just dev (it was causing an infinite loop on mac) 2024-06-17 17:11:58 -03:00
fiatjaf
cf6032ea7b porn detector. 2024-06-17 15:53:27 -03:00
dtonon
cae76d1168 Show correct datetime in relation to time zone 2024-06-07 12:35:36 +02:00
fiatjaf
bfe302ec8b use tailwind bundle url with ?t compile-time variable. 2024-01-10 14:29:49 -03:00
Daniele Tonon
caa36cda00 Make air compatible with templ 2024-01-08 21:41:55 +01:00
fiatjaf
7f0bb418b6 ported all templates to templ syntax. 2024-01-07 15:48:55 -03:00
fiatjaf
91a0ea768b do not use language detector model on dev mode.
because it's slow.
2023-12-31 17:50:12 -03:00
fiatjaf
7d604c4c86 use go build instead of go run in just dev. 2023-12-27 10:53:42 -03:00
fiatjaf
16d8d49747 just check-samples opens chromium with images and pages from samples.txt 2023-12-27 10:53:22 -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
f6abff4a46 do not strip debugger stuff from deploy binary. 2023-11-30 12:20:27 -03:00
Daniele Tonon
c6d2d4bf6a Add --progress to rsync in the deploy script 2023-11-30 08:10:29 +01:00
fiatjaf
bd2838d489 new deploy script. 2023-11-29 21:22:09 -03:00
fiatjaf
0b5766fdfa a humble test framework for opengraph stuff. 2023-11-09 10:36:00 -03:00
fiatjaf
4df0620502 apply prettier tailwind plugin to reorder classes. 2023-10-28 13:24:57 -03:00
fiatjaf
f9e099c840 tailwind debug mode and build mode for prod and other adjustments. 2023-10-26 16:02:18 -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
e7af45bf23 begin the work of turning everything into tailwind. 2023-10-22 23:02:44 -03:00
Daniele Tonon
c70baa7918 Add html to prettier and prettify the templates 2023-10-17 19:05:11 +02:00
fiatjaf
2fce62dc30 apply prettier to scss and css. 2023-09-14 10:35:52 -03:00
Daniele Tonon
2d540b91b4 Add nocache tag to the justfile (air) refresh_build task 2023-07-12 21:58:29 +02:00
Daniele Tonon
bab0ecf038 Remove the saas compilation from justfile's build action
No needed, the css must by compiled at avery scss' update
2023-05-23 11:17:59 +02:00
Daniele Tonon
6ad6c47b62 Add scss => css conversion 2023-05-23 11:03:55 +02:00
fiatjaf
119b523112 add justfile. 2023-05-11 05:38:58 -03:00