{"id":23384444,"url":"https://github.com/powershellweb/psjekyll","last_synced_at":"2025-04-11T02:21:27.909Z","repository":{"id":258039538,"uuid":"865155255","full_name":"PowerShellWeb/PSJekyll","owner":"PowerShellWeb","description":"PowerShell Tools for Jekyll","archived":false,"fork":false,"pushed_at":"2024-11-18T00:15:03.000Z","size":480,"stargazers_count":6,"open_issues_count":31,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T23:41:29.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://psjekyll.powershellweb.com/","language":"PowerShell","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/PowerShellWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["StartAutomating"]}},"created_at":"2024-09-30T04:32:23.000Z","updated_at":"2025-01-17T02:20:26.000Z","dependencies_parsed_at":"2024-11-02T07:20:05.198Z","dependency_job_id":"3e616827-f8e0-4656-bd30-40c98facd542","html_url":"https://github.com/PowerShellWeb/PSJekyll","commit_stats":null,"previous_names":["powershellweb/psjekyll"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellWeb%2FPSJekyll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellWeb%2FPSJekyll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellWeb%2FPSJekyll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellWeb%2FPSJekyll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShellWeb","download_url":"https://codeload.github.com/PowerShellWeb/PSJekyll/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328442,"owners_count":21085318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-12-21T23:20:26.883Z","updated_at":"2025-04-11T02:21:27.880Z","avatar_url":"https://github.com/PowerShellWeb.png","language":"PowerShell","funding_links":["https://github.com/sponsors/StartAutomating"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align='center'\u003e\n    \u003cimg alt='PSJekyll Logo (Animated)' style='height:50%' src='Assets/PSJekyll-Animated.svg' /\u003e\n\u003c/div\u003e\n\n# PSJekyll\n\nScarily Simple Static Sites with Jekyll and PowerShell\n\n[Jekyll](https://jekyllrb.com) is a static site generator and server.\n\nPowerShell is a dynamic scripting language that works with everything.\n\nPSJekyll is a PowerShell module for managing Jekyll websites.\n\n## PSJekyll Basics\n\nYou can install PSJekyll from the Gallery:\n\n~~~PowerShell\nInstall-Module PSJekyll -Force -Scope CurrentUser\n~~~\n\nThen you can import it by name:\n\n~~~PowerShell\nImport-Module PSJekyll\n~~~\n\n`$psJekyll.Site` will have any sites beneath the current directory:\n\n~~~PowerShell\n# Push into the PSJekyll module, which will have a site\nGet-Module PSJekyll | Split-Path | Push-Location\n$psJekyll.Site # output the site\n~~~\n\n### Setting configuration\n\nYou can set a new configuration file by using:\n\n~~~PowerShell\n# Ideally, pass all values in within `[Ordered]` hashtables.\n# otherwise the file may change more often than expected.\n$psJekyll.Site.Config = [Ordered]@{}\n~~~\n\n### Setting data\n\nYou can set site data in almost the same way as you set configuration:\n\n~~~PowerShell\n$psJekyll.Site.Data = @{\"MyFavoriteNumber\"=42}\n~~~\n\n\n### Setting pages\n\n~~~PowerShell\n# This will create a page that will contain a repository list (in a GitHub page)\n$psJekyll.Site.Page = \"MyPage\", \"My Content\", @{MyMetadata=$true}\n~~~\n\n## PSJekyll GitHub Action\n\nYou can easily use PSJekyll as a GitHub Action.\n\nThis helps you automate updating content and data within a Jekyll site or GitHub Page.\n\n~~~yaml\n- name: UsePSJekyll\n- uses: PowerShellWeb/PSJekyll@main\n~~~\n\nUsing this action will run any `*.PSJekyll.ps1` files in your repository.\n\nAny files outputted from this will be checked into the current branch.\n\n## PSJekyll Container\n\nPSJekyll ships every build in a container.\n\nTo pull down PSJekyll and start your own server, use something like:\n\n~~~PowerShell\n# Pull down the latest image\ndocker pull ghcr.io/powershellweb/psjekyll\n\n# Start the image in an interactive terminal on port 8069.\ndocker run --interactive --tty --publish 8069:4000 ghcr.io/powershellweb/psjekyll\n~~~\n\n## PSJekyll Commands\n\n* New-PSJekyll creates Jekyll sites.\n* Start-PSJekyll starts Jekyll servers in a job.\n* Stop-PSJekyll stops running Jekyll jobs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowershellweb%2Fpsjekyll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowershellweb%2Fpsjekyll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowershellweb%2Fpsjekyll/lists"}