{"id":13501729,"url":"https://github.com/kura/pelican-githubprojects","last_synced_at":"2025-04-14T11:22:03.028Z","repository":{"id":19301592,"uuid":"22539091","full_name":"kura/pelican-githubprojects","owner":"kura","description":"A plugin for displaying your GitHub projects using the Pelican static site generator.","archived":false,"fork":false,"pushed_at":"2021-08-26T12:41:53.000Z","size":16,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T00:41:27.879Z","etag":null,"topics":["github","pelican"],"latest_commit_sha":null,"homepage":"https://kura.gg/pelican-githubprojects/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ryanmcdermott/clean-code-javascript","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kura.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2014-08-02T04:14:55.000Z","updated_at":"2021-12-17T02:57:39.000Z","dependencies_parsed_at":"2022-09-26T22:10:59.979Z","dependency_job_id":null,"html_url":"https://github.com/kura/pelican-githubprojects","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kura%2Fpelican-githubprojects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kura%2Fpelican-githubprojects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kura%2Fpelican-githubprojects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kura%2Fpelican-githubprojects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kura","download_url":"https://codeload.github.com/kura/pelican-githubprojects/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868984,"owners_count":21174798,"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":["github","pelican"],"created_at":"2024-07-31T22:01:47.789Z","updated_at":"2025-04-14T11:22:03.007Z","avatar_url":"https://github.com/kura.png","language":"Python","readme":"=======================\nPelican Github Projects\n=======================\n\nEmbed a list of your public GitHub projects in your pages.\n\nInstallation\n============\n\nTo install pelican-githubprojects, simply install it from PyPI:\n\n.. code-block:: bash\n\n    $ pip install pelican-githubprojects\n\nConfiguration\n=============\n\nEnable the plugin in your pelicanconf.py\n\n.. code-block:: python\n\n    PLUGINS = [\n        # ...\n        'pelican_githubprojects',\n        # ...\n    ]\n\nAdd a setting with your GitHub username.\n\n.. code-block:: python\n\n    GITHUB_USER = 'kura'\n\nOptionally specify the order in which projects appear.\nThe choices for each parameter are provided at\nhttps://developer.github.com/v3/repos/#list-user-repositories.\n\n.. code-block:: python\n\n    GITHUB_USER_TYPE = \"owner\"\n    GITHUB_SORT_BY = \"created\"\n    GITHUB_DIRECTION = \"desc\"\n\n\nAvailable data\n==============\n\n:name:\n    The name of your project.\n:language:\n    The language your project is written in, information on how GitHub detects\n    languages is `available here\n    \u003chttps://help.github.com/articles/my-repository-is-marked-as-the-wrong-language\u003e`_.\n    It is GitHub that detects the language, not this plugin. So please, no\n    issues about that.\n:description:\n    The description of your project (as set on GitHub.)\n:homepage:\n    The homepage of your project (as set on GitHub.)\n:github_url:\n    The web page URL of your project on GitHub (not the GIT or API URL.)\n:stars:\n    Number of stars for the project.\n:size:\n    Size of the project, in kilobytes.\n:fork:\n    Whether the project is forked from another project.\n:forks:\n    Number of forks of the project.\n:private:\n    Whether the repository is private.\n:created:\n    Time of creation of the repository as a string.\n:updated:\n    Time of last update of the repository as a string.\n:id:\n    Repository ID.\n\nUsage\n=====\n\nIn your templates you will be able to iterate over the `github_projects`\nvariable, as below.\n\n.. code-block:: html\n\n    {% if GITHUB_USER %}\n        \u003ch1\u003eProjects\u003c/h1\u003e\n        {% for project in github_projects %}\n            \u003ch2\u003e{{ project.name }} \u003csup\u003e({{ project.language }})\u003c/sup\u003e\u003c/h2\u003e\n            {% if project.description %}\u003cp\u003e{{ project.description }}\u003c/p\u003e{% endif %}\n            \u003cp\u003e\n                {% if project.homepage %}\u003ca href=\"{{ project.homepage }}\"\u003eHomepage\u003c/a\u003e{% endif %}\n                \u003ca href=\"{{ project.github_url }}\"\u003eGitHub\u003c/a\u003e\n            \u003c/p\u003e\n        {% endfor %}\n    {% endif %}\n\nLicense\n=======\n\n`MIT`_ license.\n\n.. _MIT: http://opensource.org/licenses/MIT\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkura%2Fpelican-githubprojects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkura%2Fpelican-githubprojects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkura%2Fpelican-githubprojects/lists"}