Package: home-journal
Home JournalA self-hosted mini journaling site for families for capturingmemoriesstoriesphotosideasjokesvideosand anything else you want to rememberI had an old wordpress blog that I converted to markdown files and needed a way to view the posts. I was looking for something self-hosted and simple. Some of my design requirements were:Mobile friendly and easy to post from mobileNeed to look and feel like a mobile appNeeded to be all static files, or as close as I could getNeeded to be markdown basedNeeded to have a sane directory structureNo authentication or social auth since this is self-hostedNo databaseNo javascript frameworksMinimal dependenciesNo need to edit posts from the UINo need to delete posts from the UIAbility to regenerate all html filesAbility to add new posts with a text editorWhat's workingFull text searchGithub style markdown formattingIndex pageLight/dark modesNew post pagePost pageProgressive web app (PWA) support (requires https)PWA as share targetRebuild static html files (http://your.server/all)Responsive designSite initializationSplitting Google motion photos into stills and videoStatic files for all but new entry submissionTags pageVideo uploadsFuture enhancements¯\_(ツ)\_/¯Installationpip install home-journal --userUsageDecide on the directory where you wish to place the site files. (e.g./home/user/home_journal)home-journal --init --site-directory /home/user/home_journalEach time home-journal is run with the--initflag it will copy the css, js, and icons from the source tree into the site. If these files have been customized in the site directory, those changes will be overwritten if the--initflag is used again.Until stable releases are available, the css and js files may change so running with the--initflag will be necessary. Improvements to the css and js files are welcomed as pull requests to the repository.Helpusage: home-journal [-h] [-i] [-l {debug,info,warning,error,critical}] [-f LOG_FILE] [-p PORT] -s SITE_DIRECTORY [-t TAGS]

options:
  -h, --help            show this help message and exit
  -i, --init            Initialize the site with css, js, and icons
  -l {debug,info,warning,error,critical}, --log_level {debug,info,warning,error,critical}
                        Log level
  -f LOG_FILE, --log_file LOG_FILE
                        Log file
  -p PORT, --port PORT  Port to run the server on
  -s SITE_DIRECTORY, --site_directory SITE_DIRECTORY
                        Path to the site directory
  -t TAGS, --tags TAGS  A list of tags for new postsIn a containerAlthough currently a container is not available, a sample Container file is available in the repository.The container will need python, ffmpeg, and libmagic.an example using fedora would be:FROM registry.fedoraproject.org/fedora-minimal:38

RUN dnf5 install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-38.noarch.rpm && \
    dnf5 install -y \
        python3 \
        python3-pip \
        ffmpeg && \
    dnf5 clean all -y

RUN pip install --root-user-action=ignore \
        home-journal==0.0.8built with:podman build  -f Containerfile --tag home-journaland run with:podman run --volume /home/user/site:/mnt/site --publish 9000:8000 home-journal \
    home-journal --log_file /mnt/site/hj.log \
        --log_level debug \
        --site_directory /mnt/site \
        --tags family,friends,food,home,travel \
        --initWhere/home/user/siteis the directory where you wish to place the site files and log file.Please see the individual files in the root of the repo for the most recent examples.Thank youSlick modern simple CSShttps://www.beercss.com/Markdown to HTML, github stylehttps://github.com/theacodes/cmarkgfmGithub style markdown/html CSShttps://github.com/sindresorhus/github-markdown-cssHandy frontmatter extractorhttps://github.com/eyeseast/python-frontmatterEasy wordpress xml to mdhttps://github.com/lonekorean/wordpress-export-to-markdownSample photoshttps://unsplash.com/