Extract articles from logseq, format them as a Gemlog. Requires PHP.
Go to file
2022-05-24 18:43:47 +01:00
src Treat empty block as a newline character 2022-05-24 18:43:03 +01:00
templates Put date on second line, and use some emoji 2022-05-24 18:43:47 +01:00
tests Treat empty block as a newline character 2022-05-24 18:43:03 +01:00
.gitignore Initial commit with PSR-4 autoloading and phpunit 2022-05-21 16:47:50 +01:00
composer.json Add GemlogParser and skeleton ArticleParser 2022-05-21 17:27:10 +01:00
composer.lock Add GemlogParser and skeleton ArticleParser 2022-05-21 17:27:10 +01:00
phpunit.xml Initial commit with PSR-4 autoloading and phpunit 2022-05-21 16:47:50 +01:00
README.md Add more information to README 2022-05-22 12:34:57 +01:00
run.php Remove single quote in sanitized title 2022-05-24 18:43:24 +01:00

logseq2gemtext

This project converts an index of Markdown files (in my case, created in logseq) into Gemtext, with a corresponding Gemlog index. Some parts, including the resulting directory structure, are specific to my own needs and may not be suitable for every use case.

More information: gemini://sixohthree.com/log/publishing-to-the-gemlog-with-logseq.gmi

TODO

  • Additional configuration options
  • Move more functionality out of run.php and into tested classes