Skip to content

skiserv/cloud_booklet

Repository files navigation

Cloud Booklet

Presentation

Theses small PHP scripts allow you to generate a booklet (PDF or website) from a content stored in the Cloud. This can be use for lyrics, poems or any booklet of small texts.

The website is a single page website that can also be installed in your device as a PWA (Progressive Web App).

Configuration

A config.php file is needed at the root of the directory to use this project. Please copy following code, paste it in a new file and file each variable.

# config.php
<?php
$BASE_URL = "";     # The root path of your cloud domain
$KEY = "";          # The ID of the shared folder
$PWD = "";          # The password of the shared folder

$TITLE = "";        # The title of the website/PDF
$SUBTITLE = "";     # The subtitle ...

$ABOUT_TITLE = "";  # The name of the "about" page for the website ("About" is a nice one)
$ABOUT_CONTENT = "";# The content of the "about" page for the website

$SUMMARY_TITLE = "";# The title of the summary (website page / PDF summary in first page)

$LANG = "";         # The language of the content for website medatada [en | fr | ...]

$PWA_THEME_COLOR = "";
$PWA_BACKGROUND_COLOR = "";

For the PWA you should also add an icon as icon.svg with a size of 192x192.

Configuration

Made for PHP 8.1

Credits

  • John Doe website for the single page website tips.
  • Parsedown markdown parser, under MIT license. Modified in two points (search for # CHANGED comments in code).
  • Paged.js for the print standards.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published