{"id":34250309,"url":"https://github.com/orbitalremnant/picoblog","last_synced_at":"2026-04-08T15:31:26.342Z","repository":{"id":323342817,"uuid":"1092018275","full_name":"orbitalremnant/picoblog","owner":"orbitalremnant","description":"A minimalistic static site generator","archived":false,"fork":false,"pushed_at":"2025-12-12T00:25:14.000Z","size":51831,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T12:20:10.850Z","etag":null,"topics":["blogging","cli","static-site","template"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orbitalremnant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-11-07T21:35:11.000Z","updated_at":"2026-02-10T11:18:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/orbitalremnant/picoblog","commit_stats":null,"previous_names":["orbitalremnant/picoblog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/orbitalremnant/picoblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalremnant%2Fpicoblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalremnant%2Fpicoblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalremnant%2Fpicoblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalremnant%2Fpicoblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbitalremnant","download_url":"https://codeload.github.com/orbitalremnant/picoblog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalremnant%2Fpicoblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["blogging","cli","static-site","template"],"created_at":"2025-12-16T09:17:15.811Z","updated_at":"2026-04-08T15:31:26.320Z","avatar_url":"https://github.com/orbitalremnant.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# picoblog\n\nA minimalistic static site generator written in Rust.\n\n![Promo](https://github.com/orbitalremnant/picoblog/blob/main/promo.gif?raw=true)\n\n`picoblog` turns a directory of Markdown and text files into a single, self-contained `index.html` with built-in search[^1] and tag filtering. It's designed for speed, simplicity, and zero-dependency deployment.\n\n[^1]: For security reasons, search only works when the site is being server through a server.\n\n# Key Features\n\n-   **Single-Page Output**: Generates one `index.html` for easy hosting.\n-   **Client-Side Search**: Instant full-text search with a pre-built JSON index.\n-   **Tag Filtering**: Dynamically generates tag buttons to filter posts.\n-   **Flexible Content**: Supports YAML frontmatter and infers metadata from filenames.\n-   **Automatic Favicons**: Creates favicons from your blog's title.\n-   **Highly Portable**: A single, dependency-free binary.\n\n# Quick Start\n\n```sh\ncargo install picoblog\n```\n\n```sh\npicoblog \\\n    --title \"My Awesome Blog\" \\\n    --description \"A blog about tech and adventures.\" \\\n    --share \"X:https://twitter.com/intent/tweet?url={URL}\u0026text={TITLE}\"\n```\n\n**Done!** Your new blog is ready in the `public/` directory. Open `public/index.html` in your browser to see it.\n\n# Content Format\n\nPlace your `.md` and `.txt` files in a source directory (or many).\n\n**Markdown with Frontmatter (`.md`):**\n\n```txt\n---\ntitle: \"My Post Title\"\ndescription: \"A short summary of the post.\"\ntags: [\"rust\", \"tech\"]\n---\n\nThe main content of the post goes here.\n#hashtags are also automatically detected.\n```\n\n**Plain Text (`.txt`):**\n\nThe filename is used for the title and date (e.g., `2024-10-26-quick-note.txt`).\n\n```txt\nThis is a plain text post.\nLine breaks are preserved.\n\n#text #notes\n```\n\n---\n\n## Social Sharing Links\n\nYou can generate social media sharing links for each article using the `--share` flag. This flag can be used multiple times to define different sharing providers.\n\n### Syntax\n\nThe format for the flag is:\n`--share \"PROVIDER_NAME:URL_TEMPLATE\"`\n\n-   **`PROVIDER_NAME`**: The text that will be displayed for the link (e.g., \"X\", \"LinkedIn\", \"Reddit\").\n-   **`URL_TEMPLATE`**: The sharing URL provided by the social media platform.\n\n### Placeholders\n\nThe `URL_TEMPLATE` can contain the following placeholders, which `picoblog` will automatically replace with the article's data. The values are URL-encoded for safety.\n\n-   **`{URL}`**: Replaced by the article's `link_url` from the frontmatter or the first URL found in the post content.\n-   **`{TITLE}`**: Replaced by the article's title.\n-   **`{TEXT}`**: Replaced by the raw content of the article (the Markdown or text body).\n\n### Examples\n\nHere are some common examples of how to use the `--share` flag:\n\n**For X (formerly Twitter):**\n\n```bash\n--share \"X:https://twitter.com/intent/tweet?url={URL}\u0026text={TITLE}\"\n```\n\n**For LinkedIn:**\n\n```bash\n--share \"LinkedIn:https://www.linkedin.com/sharing/share-offsite/?url={URL}\"\n```\n\n**For Reddit:**\n\n```bash\n--share \"Reddit:https://www.reddit.com/submit?url={URL}\u0026title={TITLE}\"\n```\n\n**For Email:**\n\n```bash\n--share \"Email:mailto:?subject={TITLE}\u0026body={TEXT}%0A%0A{URL}\"\n```\n\n**Combining Multiple Providers:**\n\nTo include links for X, LinkedIn, and Reddit, simply use the flag for each one:\n\n```bash\n./target/release/picoblog \\\n    --share \"X:https://twitter.com/intent/tweet?url={URL}\u0026text={TITLE}\" \\\n    --share \"LinkedIn:https://www.linkedin.com/sharing/share-offsite/?url={URL}\" \\\n    --share \"Reddit:https://www.reddit.com/submit?url={URL}\u0026title={TITLE}\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitalremnant%2Fpicoblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbitalremnant%2Fpicoblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitalremnant%2Fpicoblog/lists"}