{"id":34036088,"url":"https://github.com/serpwings/static-wordpress","last_synced_at":"2026-04-11T05:02:15.039Z","repository":{"id":143374014,"uuid":"609946454","full_name":"serpwings/static-wordpress","owner":"serpwings","description":"Python Library for Static WordPress (Autmated Crawling, Post-Processing and Hosting)","archived":false,"fork":false,"pushed_at":"2025-08-14T23:14:45.000Z","size":3401,"stargazers_count":217,"open_issues_count":12,"forks_count":109,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T12:17:57.254Z","etag":null,"topics":["lunrjs","netlify","simply-static","ssg","static-site-generator","static-wordpress","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://static-wordpress-docs.netlify.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serpwings.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}},"created_at":"2023-03-05T17:50:50.000Z","updated_at":"2025-11-12T22:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"35e756ea-dc14-4f76-8255-7375c1f475ee","html_url":"https://github.com/serpwings/static-wordpress","commit_stats":null,"previous_names":[],"tags_count":7,"template":true,"template_full_name":null,"purl":"pkg:github/serpwings/static-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serpwings%2Fstatic-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serpwings%2Fstatic-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serpwings%2Fstatic-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serpwings%2Fstatic-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serpwings","download_url":"https://codeload.github.com/serpwings/static-wordpress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serpwings%2Fstatic-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["lunrjs","netlify","simply-static","ssg","static-site-generator","static-wordpress","wordpress","wordpress-plugin"],"created_at":"2025-12-13T20:10:19.830Z","updated_at":"2026-04-11T05:02:15.027Z","avatar_url":"https://github.com/serpwings.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# static-wordpress\n\nPython Package for Converting WordPress Installation to a Static Website.\n\n[![build_Tests](https://github.com/serpwings/static-wordpress/actions/workflows/tests.yml/badge.svg)](https://github.com/serpwings/static-wordpress/actions/workflows/tests.yml)\n[![license](https://img.shields.io/pypi/l/staticwordpress.svg?style=flat-square \"Project License: GPLv3+\")](https://github.com/serpwings/staticwordpress/blob/master/LICENSE)\n[![status](https://img.shields.io/pypi/status/staticwordpress.svg?style=flat-square \"Project Development Status\")](https://github.com/serpwings/staticwordpress/milestone/1)\n[![pypi_version](https://img.shields.io/pypi/v/staticwordpress.svg?style=flat-square \"Available on PyPi - the Python Package Index\")](https://pypi.python.org/pypi/staticwordpress)\n[![supported_python_versions](https://img.shields.io/pypi/pyversions/staticwordpress.svg?style=flat-square \"Supported Python Version\")](https://pypi.python.org/pypi/staticwordpress)\n\n\n## Desktop Version\n\n![staticwordpress-gui](docs/img/staticwordpress-gui.png)\n\n## How to Install static-wordpress?\n\n### Windows Installer\n\nWe provide an ``exe`` file of ``staticwordpress`` for the convenice of users. Please download the latest version from [release section](https://github.com/serpwings/static-wordpress/releases).\n\n\n### Source Code\n\n- Clone or download this repository to your computer.\n- Create a virtual environment using ``python -m .venv venv``\n- Navigate to the downloaded directory and then install all required dependencies using ``pip install -e .``\n- Once all dependencies are met, then start **staticwordpress** by typing ``staticwordpress`` on commandline.\n\n## Development\n\nThis package is available at ``pypi`` and you can install it with ``pip install staticwordpress`` command. It will also install required additional libraries/Python Packages automatically.\n\nOnce installed, you can implement customized workflows. Here is an example of post processing simply-static-zip file. \n\n```python\nimport logging\n\nfrom staticwordpress.core.workflow import Workflow\nfrom staticwordpress.core.constants import SOURCE, HOST\n\n# enable logging for all functions.\nlogging.basicConfig(\n        format=\"%(asctime)s - %(levelname)s - %(message)s\",\n        level=logging.DEBUG,\n        stream=sys.stdout,\n)\n\nswp = Workflow()\nswp.create_project(\n        project_name_=\"simply-static-zip-deploy\",\n        wp_user_=env_wp_user, # your wordpress username\n        wp_api_token_=env_wp_api_token, # wordpress xml api token\n        src_url_=env_src_url, # source url where WordPress is hosted\n        dst_url_=env_dst_url, # destination url where you want to host Static version\n        output_folder_=env_output, # Output folder location, where processed files will be saved\n        src_type_=SOURCE.ZIP, # Data Source e.g. ZIP file from Simply Static WordPress Plugin\n        host_type_=HOST.NETLIFY, # Host, where you want to deplyo your website.\n    )\n\nswp.download_zip_file()\nswp.setup_zip_folders()\nswp.add_404_page()\nswp.add_robots_txt()\nswp.add_redirects()\nswp.add_search()\n```\n\n## Documentation\n\nDetailed documentation of all features is available at [staticwordpress documentation](https://static-wordpress-docs.netlify.app/).\n\n## Contribute\n\nPull Requests, Feature Suggestions, and collaborations are welcome.\n\n## ICONS\n\nIcons used in this project are obtained from Google [Fonts Material Symbols](https://fonts.google.com/icons?selected=Material+Symbols+Outlined:search:FILL@0;wght@400;GRAD@0;opsz@24) \n\n## About Us\n\nThis work is a collaborative effort of [seowings](https://www.seowings.org/), and [serpwings](https://serpwings.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserpwings%2Fstatic-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserpwings%2Fstatic-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserpwings%2Fstatic-wordpress/lists"}