84 Commits

Author SHA1 Message Date
tomFlowee 830ff572eb add logging output on the slow part. 2025-04-12 23:33:32 +02:00
tomFlowee c62b0e3540 Make slightly less noisy. 2025-04-12 20:58:39 +02:00
tomFlowee 517b452345 Replace outputscript parsing with dedicated class
Instead of parsing it manually, just use the class from Flowee Utils
that is easier to use.
2025-04-12 20:35:25 +02:00
tomFlowee 8aecc10840 Be more creative resolving the path
When we get a path in a transaction, try harder to figure out what
protocol they want us to use.
2025-04-12 19:34:36 +02:00
tomFlowee 8a9b26ebfb Don't try to download an invalid url 2025-04-12 19:21:45 +02:00
tomFlowee 948a18d6a2 Make sure a trailing slash is present. 2025-04-12 19:15:26 +02:00
tomFlowee 515c23a2fe Finish up Fetcher. 2025-04-12 19:06:00 +02:00
tomFlowee d3f660a10f Start a second app 2025-04-12 15:23:27 +02:00
tomFlowee 3d98c3972d clarification 2025-04-12 15:02:40 +02:00
tomFlowee 504983733f fix table syntax 2025-04-12 14:52:36 +02:00
tomFlowee d291e71fd6 rename to be markdown 2025-04-12 14:50:59 +02:00
tomFlowee b96f6cd015 Remove main.cpp
as we plan to have multiple executables share this dir, it would just
be confusing to have a main.cpp for one of them.
2025-04-12 12:45:43 +02:00
tomFlowee f0288ad56c Add README 2025-04-12 00:18:15 +02:00
tomFlowee ef1b676051 Copy some core data into the token/identity json
The lazy user can just use this data instead of the full bcmr.
2025-04-11 22:50:46 +02:00
tomFlowee 21fa8024b7 For a category/authbase write latest.json
This adds a second way to get access to the same original metadata file,
instead of parsing the generated overview file, you just trust the
latest and known best one instead.

Notice that this json has its whitespace removed to be smaller.
2025-04-11 21:46:09 +02:00
tomFlowee ca624d22f5 Detect circular reference and assign trust
When a metadata file is fetched due to an authchain having the URL, and
the file then actually refers back to the authchain this circular
confirmation is proof that the metadata file is to be granted the highes
possible truth on how to describe that authbase based identity.
2025-04-11 20:48:37 +02:00
tomFlowee 2ead681466 Fixes. 2025-04-11 18:55:22 +02:00
tomFlowee 7c455754db Add trust inherited from authchain 2025-04-11 18:14:47 +02:00
tomFlowee c57fd2ddca Add parsing of transactions.
We make auth-chains out of a list of loose transactions
and we download the files found in bcmr comments (op-return)
2025-04-11 16:19:24 +02:00
tomFlowee bf1e4c997d Fix buglet. 2025-04-10 23:47:21 +02:00
tomFlowee 3d7fdadc0b Introduce the concept of trust. 2025-04-10 23:12:53 +02:00
tomFlowee 02690cf994 Add domain based download 2025-04-10 21:54:45 +02:00
tomFlowee c50dba2acd Add some thinking 2025-04-10 19:04:16 +02:00
tomFlowee d459441a52 Avoid multiple downloads of same URL
When different revisions of a BCMR all point to the same resource, we
simply copy the new ones from an older revision to avoid downloading.
2025-04-10 17:44:33 +02:00
tomFlowee 831589ef2a Handle multiple identities in a bcmr 2025-04-10 16:25:43 +02:00
tomFlowee cf07797350 Lie to ipfs to make them give us data
also add some logging.
2025-04-10 13:08:52 +02:00
tomFlowee 4813ad7c09 Also extract images / icons from nfts 2025-04-10 12:57:34 +02:00
tomFlowee 9380e95126 Avoid setting the reply as member. 2025-04-09 23:31:21 +02:00
tomFlowee e2742d5633 Add --offline flag. 2025-04-09 23:23:22 +02:00
tomFlowee 3f821a6f31 Add downloading of resources (icon for now) 2025-04-09 23:20:12 +02:00
tomFlowee a572fe432d Add timestamp in category jsons
And make sure that we sort newest to oldest.
2025-04-09 22:19:19 +02:00
tomFlowee e396abbb5e Make the basic work. 2025-04-09 21:50:32 +02:00
tomFlowee 42c25aa795 Make the basic program structure work. 2025-04-08 20:10:02 +02:00
tomFlowee 1c4fb77acd Start 2025-04-08 19:43:03 +02:00