Skip to main content

No project description provided

Project description

notice

repo finally changed to https://github.com/flynnsharwood/pixBoards.git

Gui has not been set up yet. Don't try to run the gui.py

title and heading use the board name now. favicon added, can be changed, check the templates folder.

the bg image is now a random image from the page. (pixboards 0.2.26)

you can specify height for justified layout now (pixboards 0.2.29)

if you are using the PyPi package, you will need to have a running postgres server, else it won't work. It works now.

fixed default layout not working in 0.2.30

Multiple changes in 0.2.31.

  • several bug fixes
  • the input dir is now not cluttered with json dumps. the json dumps can be set to true via json_dump_status in pixboards.boardmakers. planned future support for the dump status to be triggered by an argument.

Changes in 0.2.33

  • descending boards sort by image metadata properly now
  • layout and column settings work on local html files too (due to saving settings as cookies AND localstorage.)

pixBoards

pixBoards is a python library to help you organise your images and videos into masonry-containers (the pinterest layout)

It outputs simple html files with links to the images. Simplicity was the aim here, so don't expect fancy stuff in it.

It organises the images into "boards" which can be nested inside other boards. (Just think of them as a folder for now)

You can also automatically upload the files to imgchest and use those links in the output html files. You can then simply host these output files and you will have a working webpage. (If you had to use local files, you'd have to host the images too, which would be a pain in) (use --upload for that)

you can also use lists of imagelinks to create boards.

I also recently added the ability to use links in sidecarfiles to use as upload links instead of uploading the image to imgchest. (if you used a bulk downloader like gallery-dl, you'd be able to easily create such sidecar files every time you download.)

screenshots

example of index file https://cdn.imgchest.com/files/4apc5px5gv4.png

example of image board https://cdn.imgchest.com/files/yrgcnjaxew4.png

how to use

first, rename the config_example.yml to config.yml. or start afresh, your choice.

if you wish to upload to imgchest and use those links instead, use --upload

If it is the first time you are uploading, you will have to install postgresql first if not already installed.

install

you can install the pixBoards package from PyPi

pip install pixBoards

or clone the repo.

git clone https://github.com/flynnsharwood/boards_v2.git

First time upload

If it is the first time you are uploading, you will have to install postgresql first if not already installed.

Also, if you have a LOT of files to upload for the first time, go to the uploader folder. repo link

  1. set up the directories list in config.yml
  2. run listFiles.py. it will create a file named "MediaFiles.py"
  3. now run calc_hex.py
  4. run fileListUpload.py

fileListUpload basically uploads in batches of 20, unlike the original script where it uploads each image individually. This will upload and cache the links and hashes to postgress db

Usage

simply use the binary file provided boards.exe

Or do python3 cli.py or python3 __main__.py

flags you might use

--upload ensure all files are being uploaded. If you have pictures with the same filenames in different folders, you might need to fix this.

--gitPush this will push your created html files to a github repo. set up your repo to trigger a gh_pages deployment every push.

--config change the config file being used

here is a link to an example board - https://flynnsharwood.github.io/exampleBoard/index.html


features

added an button to load a random page in 0.2.18


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixboards-0.2.33.tar.gz (46.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixboards-0.2.33-py3-none-any.whl (63.8 kB view details)

Uploaded Python 3

File details

Details for the file pixboards-0.2.33.tar.gz.

File metadata

  • Download URL: pixboards-0.2.33.tar.gz
  • Upload date:
  • Size: 46.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pixboards-0.2.33.tar.gz
Algorithm Hash digest
SHA256 ce091314c9cea3a2cd88cd6638725331eb148cbc4a783c191b4294fb4f807db4
MD5 077f0b4e5ab566e9712a2ae37838a029
BLAKE2b-256 490c6fc08090f5ca761f34581acef63cd408bea57467d4d4fa1c6d82b84e6964

See more details on using hashes here.

File details

Details for the file pixboards-0.2.33-py3-none-any.whl.

File metadata

  • Download URL: pixboards-0.2.33-py3-none-any.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pixboards-0.2.33-py3-none-any.whl
Algorithm Hash digest
SHA256 14e0c23aec2fd21d3f01f6edee0137cedeb953213f84bd6da708925474537601
MD5 af9ae75ff88ee85d4ff035d5ad76d034
BLAKE2b-256 60f158df22cf236b02b7dd18041bf98816d650895e746fdff97ea3a47b0f2b0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page