41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
```text
|
||
[[[ SYNOPSIS ]]]
|
||
|
||
pfaltgall [options] <configuration file path>
|
||
|
||
[[[ DESCRIPTION ]]]
|
||
|
||
This is pfaltgall v0.1, a CLI PHP script that can generate an html file with
|
||
a gallery from your Pixelfed profile.
|
||
In order to create it, 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 (don’t write the «---» lines):
|
||
|
||
---
|
||
host=your_instance_host
|
||
token=your_token
|
||
---
|
||
|
||
For example:
|
||
|
||
---
|
||
host=pixelfed.social
|
||
token=as7f8a7s0d89f7as97df09a8s7d90f81jkl2h34lkj12h3jkl4
|
||
---
|
||
|
||
Then run pfaltgall with the path of the configuration file you have
|
||
created. This will create an «index.html» file that will be ready to be put
|
||
where you want (you can also see it locally, obviously).
|
||
|
||
[[[ OPTIONS ]]]
|
||
|
||
-h, --help
|
||
Show this help text and exit.
|
||
|
||
[[[ DISCLAIMER AND LICENSE ]]]
|
||
|
||
This program comes with ABSOLUTELY NO WARRANTY; for details see the source.
|
||
This is free software, and you are welcome to redistribute it under certain
|
||
conditions; see <http://www.gnu.org/licenses/> for details.
|
||
|
||
```
|