jonasbg / picoblog Goto Github PK
View Code? Open in Web Editor NEWZero Config Blog
License: MIT License
Zero Config Blog
License: MIT License
Too many configs are hard-coded. These need to be configurable either by a config file and overridden by environment variables, such as
/data
*.md
vs custom ~On bigger screens, iPad, laptop, monitors, the text now spans the entire width, making it hard to read on larger monitors. Make so it has a max width.
Create HELM charts so it can be deployed to cluster.
/healthz
endepunktSome posts doesn't have a image, or two.
Present them in a better header and make title readable.
Some more security enhancements
Create a Github action that builds a multi platform image and pushes that to docker hub.
A map view of all posts based on location: Norway, Trondheim
from the YAML Frontmatter.
Or from some of the gps included exif values.
The current workflow is somewhat tedious and not always straight forward. And not really suitable for working from an iPad for instance.
Some thoughts:
Implement support for Synology optimized images inside @eaDir
directory. Defaults to original image if not optimized.
Since its shall be a zero config if possible solution, I does not want to implement a long running task for resizing images. Maybe implementing a cache that optimize images for each request with a mem cache.
@eaDir
Maybe some posts should be hidden? Make the Frontpage configurable to be hidden, so only shared posts are known to viewers.
Virtual sites are only worth their weight in bits and bytes, which is next to nothing.
Make it possible to export to pdf formatted for physical journal books, ready to be sent to print.
Makes images span entire page when presented in a single view. Alternative make them span the entire viewport width.
Markdown search is only done during init of application, so a new search requires a restart.
Implement either
There a limit to how many files that can be watched at once. If it can find *.md
files only on listen for changes to those maybe.
Needs a configurable time to do the search. More intensive on disks maybe, if it will search an entire directory recursively each n minutes.
Instead of relying on Synology for image optimization, implement own image support.
Cache to either memory (expensive) or to disk and reuse.
Must be configured with CACHE_DIR
, located default in CONFIG
folder.
Or store cache in wwwroot
and use SixLabors.ImageSharp Middleware to automatically optimize these images with support for query parameters for size and quality.
Make a better documentation such as
To enhance the resilience and portability of the data, it's necessary to implement a periodic and automatic backup feature for all markdown posts in the Picoblog application.
The proposed solution involves the following steps:
Backup Directory: Utilize the existing /config
directory to store the backups.
Backup Process:
/config/{YYYY-MM-DD}.tar.gz
.Restore Process:
/config
directory.# Backup
find /path/to/markdown/files -name "*.md" | tar cvzf /config/$(date +%Y-%m-%d).tar.gz -T -
# Restore
tar xvfz /config/{selected-date}.tar.gz -C /path/to/restore
I would like to open an image in fullsize when I click on it.
When in fullsize I would like to view some metadata. I would also like to go to the next and previous image in the post.
Support for link preview when sharing blog posts with others.
Maybe follow this tutorial? https://andrejgajdos.com/how-to-create-a-link-preview/
Dark Reader hides banner image when dark mode is enabled.
Support weather and location from yaml front matter
---
weather: Sunny -10C
location: Norway, Trondheim
---
Possible to favorite a post. Would be with a cookie setting and possible favorites view.
And also take look at standout post that is pinned to the top.
Unread/read settings as well maybe?
Create an admin/statistics view where its possible to see some interesting information such as
Local movies are not supported.
Search for text, year, tags.
Filter by year, month, tags.
Filter by year
Filter by month
Filter based on tags
search for text
Search for year
Search for month
Search for tags
More logging
Make the site we app friendly so it can be installed on the Frontpage.
Build a more robust responsive UI that scales from mobile phone up to large widescreen monitors.
Support for tags in YAML header and site.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.