Commit Graph

15 Commits

Author SHA1 Message Date
orbifx e4654aa652 Accept comma separated converter names, separate Atom from Html and Gemini converters.
Note: atom must be called separately now because of the separation. Example

txt convert -t htm,atom xyz
2022-10-26 20:36:02 +01:00
orbifx 4c32abf03b Omit bullet in empty title conversions, tidy html.ml 2022-10-22 21:55:08 +01:00
orbifx 93be78f7c9 New subcommand 'recent'. Tidy last.ml 2022-10-21 20:53:46 +01:00
orbifx 7ce741cf56 List peers (from index.pck) in exported htm and gmi index 2022-09-24 21:01:37 +01:00
orbifx b30053d16e Accept files & directories for conversion 2022-07-30 13:58:02 +01:00
orbifx cb33b6dcad Tilde compatible publication dirs, public_*/txt 2022-06-21 18:22:12 +01:00
Aoi Koizumi (古泉 あおい) bfc8195a31 Fix some typos on the docs
Signed-off-by: Aoi Koizumi (古泉 あおい) <novaburst@kalli.st>
2022-06-20 10:53:27 +01:00
orbifx b38baf8268 Txt read & optional path printing for txt list 2022-06-19 22:01:11 +01:00
orbifx 3545c3f19f Abandon $ for index field parameter, cmdliner complains 2022-06-18 23:37:25 +01:00
orbifx 939087ccf7 Implement author & topic filter for txt pull 2022-06-18 21:45:45 +01:00
orbifx d978b5fc3a txt publish <id>; file and convert to standard dirs 2022-06-16 22:59:30 +01:00
orbifx 6689127d06 Change output date format & use <ul> for latest 2022-06-13 17:34:20 +01:00
orbifx bf031ac6ae Use of text editor when value for index field omitted 2022-05-01 18:10:03 +01:00
orbifx e878dedbb6 - Removed 'txt init'
Format

- New B32 ID

Index

- New option: txt index --print
- Move scheme to peers
- Replace peer.*.conf files with index packed locations
  Instead of adding a URL to peers.*.conf, run `txt pull <url>`

Conversion

- Rewritten converters
- txt-convert looks for a .convert.conf containing `key: value` lines.
- Specifiable topic-roots from .convert.conf.
- Added `Topics:` key, with comma seperated topics.
	If set only those topics will appear in the main index and used as topic roots.
	Other topics will have sub-indices generated, but won't be listed in the main index.
- HTML converter header & footer options
- HTML-index renamed to HTM-index

Internal

- Change types: uuid:Uuid -> id:string
- File_store merges identical texts
- Use peer ID for store path, store peers' texts in .local/share/texts
- Simple URN resolution for converter
	Continue to next feed if parsing one fails
- Phasing-out Archive, replaced by improved packs
- Eliminate Bos, Cohttp, lwt, uri, tls, Re, Ptime, dependencies
- Lock version for Cmdliner, fix dune-project
- Optional resursive store
- Improve header_pack
- Fix recursive mkdir
2022-04-15 14:17:01 +01:00
orbifx 22fe21326f Samhain 21
Converter
- type selection
- subdir conversion
- htm extension

Gemini
- index.gmi
- topics and latest
- gmi.atom feed

Add pull (http(s)) operation
- peers.pub.conf and peers.priv.conf

HTML5 format & fixes by Novaburst
Phony target (thanks Gergely)

May

Basic unit renamed from Note to Text.
New modular text-parser, internal to Logarion, for generic notation parsing. The default input format is now a much plainer text.
Logarion created texts have part of the UUID in filename.
Logarion's index re-written in Messagepack format. Removed `indices` command. They are generated during `convert`.
2021-11-03 22:29:57 +00:00