Updated to help text as in commit e34b99f

This commit is contained in:
pezcurrel 2024-09-28 21:02:49 +02:00
parent e34b99fd1e
commit a9aff7a756

View file

@ -1,15 +1,19 @@
```text ```text
[[[ SYNOPSIS ]]] [[[ SYNOPSIS ]]]
pfaltgall [options] <configuration file path> pfaltgall [options] <configuration file path> <output file path>
[[[ DESCRIPTION ]]] [[[ DESCRIPTION ]]]
This is pfaltgall v0.1, a CLI PHP script that can generate an html file with This is pfaltgall v0.2, a CLI PHP script that can generate an html file with
a gallery from your Pixelfed profile. a gallery from your Pixelfed profile. The gallery loads each image
In order to create it, you just need to login to your Pixelfed account and dynamically, displays it using almost all the available screen space and lets
get an app token (Settings -> Applications -> Create new token), then create you jump right from the start to any point in the timeline. It also preserves
a configuration file for pfaltgall like this (dont write the «---» lines): each posts text content and any possible image description (alt-text).
In order to create the html gallery file, you just need to login to your
Pixelfed account and get an app token (Settings -> Applications -> Create new
token), then create a configuration file for pfaltgall like this (dont write
the «---» lines):
--- ---
host=your_instance_host host=your_instance_host
@ -23,9 +27,11 @@ host=pixelfed.social
token=as7f8a7s0d89f7as97df09a8s7d90f81jkl2h34lkj12h3jkl4 token=as7f8a7s0d89f7as97df09a8s7d90f81jkl2h34lkj12h3jkl4
--- ---
Then run pfaltgall with the path of the configuration file you have Then run pfaltgall with the path of the configuration file you have created
created. This will create an «index.html» file that will be ready to be put and the path of an output file as arguments (if the output file exists, it
where you want (you can also see it locally, obviously). will be overwritten) - e.g.: «pfaltgall goofy@pixelfed.social.conf index.html».
This will create an html file that will be ready to be put where you want
(youll also be able to see it locally, obviously).
[[[ OPTIONS ]]] [[[ OPTIONS ]]]