{"id":20476868,"url":"https://github.com/askmike/mijnrealiteit-photoblog","last_synced_at":"2026-04-18T12:36:45.138Z","repository":{"id":143341164,"uuid":"69905367","full_name":"askmike/mijnrealiteit-photoblog","owner":"askmike","description":"the code behind mijnrealiteit.nl","archived":false,"fork":false,"pushed_at":"2025-10-05T03:43:57.000Z","size":656,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T05:37:06.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/askmike.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-10-03T19:52:39.000Z","updated_at":"2025-10-05T03:44:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"3dd8bc48-1949-4738-9f46-9f30b6109ce3","html_url":"https://github.com/askmike/mijnrealiteit-photoblog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/askmike/mijnrealiteit-photoblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askmike%2Fmijnrealiteit-photoblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askmike%2Fmijnrealiteit-photoblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askmike%2Fmijnrealiteit-photoblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askmike%2Fmijnrealiteit-photoblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/askmike","download_url":"https://codeload.github.com/askmike/mijnrealiteit-photoblog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askmike%2Fmijnrealiteit-photoblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31969769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T15:24:12.746Z","updated_at":"2026-04-18T12:36:45.035Z","avatar_url":"https://github.com/askmike.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mijnrealiteit Photoblog\n\nThis is the code behind my photoblog [mijnrealiteit](https://mijnrealiteit.nl).\n\n## How It Works\n\nThe photoblog uses a simple static site generator to generate the blog (with RSS feed) and optimize all images for web.\n\n### Directory Structure\n```\n/raw_articles/\n    /my-post/\n        - index.md          # Markdown content with front matter\n        - image1.jpg        # High-resolution images\n        - image2.jpg\n\n/build/                     # Final built website, generated by build.js\n```\n\n### Article Format\nEach article is a directory with an `index.md` file:\n\n```markdown\n---\ntitle: My Post Title\ndate: 2023-12-01\n---\n\nHere's my article content with **markdown** support.\n\n![description](image1.jpg)\n```\n\n## Setup and Usage\n\n### 1. Install Dependencies\n```bash\nnpm install\n```\n\n### 2. Build the Site\n```bash\nnpm run build\n```\n\nThis processes all markdown files and generates a complete static website in the `build/` directory.\n\n### 3. Preview Locally\n```bash\n# Install http-server globally\nnpm install -g http-server\n\n# Serve the build directory\nhttp-server build\n```\n\n### 4. Deploy\n```bash\n./up.sh\n```\n\nThis runs the full pipeline: build (image processing, website rendering) → deploy.\n\n## Image Processing\n\nThe system automatically processes images:\n- High-resolution images from `raw_articles/` are resized and optimized in a few different variants (of different dimensions and web image formats)\n- Images wider than 2200px are automatically resized\n\n## File Structure\n\n- `raw_articles/` - Source markdown files and high-res images\n- `build/` - Final built website\n- `build.js` - Main build script\n- `static/` - Static folder for website assets\n\n## Adding New Articles\n\n1. Create a new directory in `raw_articles/`\n2. Add `index.md` with front matter (title, date)\n3. Add your images\n4. Run `npm run build` to rebuild\n5. Run `http-server build` to preview locally\n\n## Configuration\n\nEdit the `config` object in `build.js` to change:\n- Site URL\n- Site name\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Mike van Rossum \u003cmike@mvr.me\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskmike%2Fmijnrealiteit-photoblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faskmike%2Fmijnrealiteit-photoblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskmike%2Fmijnrealiteit-photoblog/lists"}