Project structure of: james4ever0/my_blog_source
my_blog_source
Blog source code with Prometheus, Hexo, Quarto, and XML sitemaps
annotate_keyword_callable.py
Decorates function with Callable annotation
cleanup_cache.py
Purge cache files not in whitelist.
copy_and_process_notes.sh
Deletes .md files, syncs new ones, updates posts.
create_sitemap.py
Successfully rendered Jinja2 template and wrote to file.
dateparser_utils.py
Date parser utilities for Hexo.
fix_public_tags_index.py
Clean and optimize public tags index file.
generate_urls.sh
Generate URLs, save in urls.txt
generate_urls_for_submission.py
Script generates URLs for blog submission from specified directory.
headline_match.py
Markdown metadata regex detection and handling.
io_utils.py
File I/O utilities: load, write.
publish.sh
Automates Python execution, file copying, and Git push.
quarto_blog
Quarto blog initialization and preview
README.md
Blog source code demo with Prometheus dependencies
recommend_tag.py
Analyze text with tag list and English language model.
remove_headline_from_markdown.py
Removes headlines, processes lines by state in markdown
remove_unwanted_notes.py
Python script filters notes based on tags, categories, removes unwanted content.
serve.sh
Delete db.json, generate static files, start local web server on port 8021.
similarity_utils.py
Embedding indexing, searching with cosine similarity.
sitemap_template.html.j2
HTML sitemap template with meta tags and page URLs.
sitemap_template.xml.j2
XML sitemap template for SEO using datalist.
sync_quarto.sh
Sync script for Quarto blog previews
sync_to_quarto.py
Syncs source to Quarto format in target directory.
test_parse.py
Date string to datetime converter
update_posts.sh
Updating API, enabling better exceptions.
update_target_hash.py
Updates target hash in database for cache files.