Commit graph

19 commits

Author SHA1 Message Date
81673792b3
chg: [template] added the foo.be template 2024-09-03 06:17:21 +02:00
fc4484b10d
fix: [template] Change default hugo template to generate markdown - to
fix the issue with media description containing new-lines.

Ref: https://codeberg.org/ggpsv/mastodon-markdown-archive/issues/1
2024-09-01 17:05:14 +02:00
Gabriel Garrido
47faaf7a27 Support controlling media downloads 2024-05-19 19:05:39 +02:00
Gabriel Garrido
4c0f5ac95d Support escaped and non-escaped markdown conversion 2024-05-19 15:31:23 +02:00
Gabriel Garrido
b8a7f64e71 Add support for sprig functions 2024-05-19 15:24:49 +02:00
Gabriel Garrido
5b0f031ab0 Pass file customization options to constructor 2024-05-19 15:11:53 +02:00
Gabriel Garrido
b820e10996 Support filename customization 2024-05-19 15:00:55 +02:00
Gabriel Garrido
3cf2b77edb Split into separate files 2024-05-18 16:08:07 +02:00
Gabriel Garrido
f97a0e47af Clean up some leaky abstractions 2024-05-18 15:22:23 +02:00
Gabriel Garrido
437db12b8d WIP: move threading to Client 2024-05-13 10:47:26 +02:00
Gabriel Garrido
5af659241f Updates to threading, structs, and template
* Extend Mastodon structs
* Make threading optional
* Include tags in default template
* Add function to get all tags
* Update spacing in template
* Update default template front-matter
2024-05-12 11:46:31 +02:00
Gabriel Garrido
f35420c1e4 Embed default template file
The default template file needs to be embedded in the binary.
2024-05-11 19:29:48 +02:00
Gabriel Garrido
bee2adcd50 Various updates
* Rename arguments for clarity
* Add another argument to persist the last post fetched
* Update README
* Support specifying path to cursor file
2024-05-11 18:03:35 +02:00
Gabriel Garrido
f38364896a Rename module and add justfile 2024-05-11 16:45:54 +02:00
Gabriel Garrido
f73b6c4357 Skip 'images' folder 2024-05-09 10:03:36 +02:00
Gabriel Garrido
f9ae06fa3c Download media attachments 2024-05-09 01:13:10 +02:00
Gabriel Garrido
1075339551 Fix paths 2024-04-23 10:31:17 +02:00
Gabriel Garrido
98908e2bc3 Transform post content to markdown 2024-04-21 18:43:55 +02:00
Gabriel Garrido
0cf835b6e3 Write posts and replies to markdown files 2024-04-21 18:12:13 +02:00