{"id":17345079,"url":"https://github.com/sveetch/optimus-bootstrap","last_synced_at":"2026-05-09T16:10:51.577Z","repository":{"id":249456381,"uuid":"831175994","full_name":"sveetch/optimus-bootstrap","owner":"sveetch","description":"A Cookiecutter template to produce an Optimus site project with a Bootstrap frontend.","archived":false,"fork":false,"pushed_at":"2024-08-21T23:15:01.000Z","size":177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T10:22:21.487Z","etag":null,"topics":["bootstrap","cookiecutter","optimus","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sveetch.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","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}},"created_at":"2024-07-19T21:05:42.000Z","updated_at":"2024-08-23T14:48:08.000Z","dependencies_parsed_at":"2024-08-21T00:37:23.309Z","dependency_job_id":"d2335fe4-0d50-4fb0-aaa3-697a9f66bf63","html_url":"https://github.com/sveetch/optimus-bootstrap","commit_stats":null,"previous_names":["sveetch/optimus-bootstrap"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sveetch/optimus-bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Foptimus-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Foptimus-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Foptimus-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Foptimus-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sveetch","download_url":"https://codeload.github.com/sveetch/optimus-bootstrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Foptimus-bootstrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281174183,"owners_count":26455954,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"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":["bootstrap","cookiecutter","optimus","static-site-generator"],"created_at":"2024-10-15T16:29:15.502Z","updated_at":"2025-10-26T21:14:04.167Z","avatar_url":"https://github.com/sveetch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. _Python: https://www.python.org\n.. _virtualenv: https://virtualenv.pypa.io\n.. _pip: https://pip.pypa.io\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _Optimus: https://optimus.readthedocs.io/\n.. _Flake8: http://flake8.readthedocs.org\n.. _Bootstrap frontend toolkit: https://getbootstrap.com/\n.. _Webpack: https://webpack.js.org/\n.. _Node.js: https://nodejs.org\n\n\n==========================\nOptimus Bootstrap template\n==========================\n\nA `Cookiecutter`_ template to produce an `Optimus`_ site project.\n\nA sample built from this template is available on repository\n`sveetch-optimus-sample \u003chttps://sveetch.github.io/sveetch-optimus-sample\u003e`_.\n\n\nFeatures\n********\n\nOnce created a project will have everything to start:\n\n* Optimus site project well configured;\n* Modern frontend with a `Node.js`_ environment, `Bootstrap frontend toolkit`_\n  and `Webpack`_;\n* A Makefile with every useful tasks to operate your project;\n* Development in a `Python`_ virtual environment with `virtualenv`_ and `pip`_;\n* Optional GIT repository initialization;\n* `Flake8`_ configuration for quality review;\n\n\nPrerequisite\n************\n\n* `Python`_\u003e=3.8;\n* `virtualenv`_;\n* `pip`_;\n* `Cookiecutter`_;\n* `Node.js`_\u003e=18;\n* GNU make (or any Makefile tool compatible);\n\n\nUsage\n*****\n\nWithout installation\n--------------------\n\nBasically to use this cookie to create a new project you just need to install\n`Cookiecutter`_ version 2.3.0 or latter: ::\n\n    pip install cookiecutter\u003e=2.3.0\n\nYou may then use it from its repository URL: ::\n\n    cookiecutter https://github.com/sveetch/optimus-bootstrap.git\n\n\nWith local installation\n------------------------\n\nTo speed up project creation you may install this cookie on your system.\n\nFirst ensure you have `pip`_ and `virtualenv`_ packages installed and *GNU make*\navailable on your system. Then type: ::\n\n    git clone https://github.com/sveetch/optimus-bootstrap.git\n    cd optimus-bootstrap\n    make install\n\n.. Warning::\n\n    You will need to update your install yourself opposed to the direct\n    repository usage (*without install*) which always try to use the latest version\n    from master branch.\n\n    We recommend to reset it and reinstall it again: ::\n\n        git pull origin master\n        make clean install\n\nMakefile task\n.............\n\nYou can use the included Makefile task: ::\n\n    make project\n\nIt will create all new project in ``dist/`` directory.\n\n\nBash alias\n..........\n\nOnce installed you can also create shortcut with a bash alias in\nyour ``.bash_aliases``: ::\n\n    alias cookoptimus='/home/foo/optimus-bootstrap/.venv/bin/cookiecutter /home/foo/optimus-bootstrap'\n\nSo you will just have to execute following command to create a new project: ::\n\n    cookoptimus\n\n\nOptions\n-------\n\nYou can define version start, project name and project short description.\n\nSome of these have a default value filled from a previous value, obviously\nyou can edit it to your own needs.\n\nYou can pre define some options in your\n`cookiecutter user configuration \u003chttps://cookiecutter.readthedocs.io/en/latest/advanced/user_config.html\u003e`_\nto avoid some inputs. This is especially recommended for options related to author that\nyou should probably always use the same.\n\n\nStructure\n---------\n\nOnce created a project will have this directory structure: ::\n\n    YourProject/\n    ├── frontend/\n    │   ├── js/\n    │   │   └── components/\n    │   └── scss/\n    │       ├── components/\n    │       ├── elements/\n    │       ├── generic/\n    │       ├── objects/\n    │       ├── settings/\n    │       ├── tools/\n    │       └── trumps/\n    └── project/\n        ├── datas/\n        ├── locale/\n        │   ├── en/\n        │   │   └── LC_MESSAGES/\n        │   └── fr/\n        │       └── LC_MESSAGES/\n        ├── settings/\n        ├── sources/\n        │   ├── images/\n        │   └── templates/\n        │       └── partials/\n        └── views/\n\nThis structure sample does not show included Python, JavaScript, Sass files.\n\nfrontend/\n    The frontend sources are located in a distinct directory than site project\n    directory since the latter is managed through Optimus and the first is managed\n    with a Node.js environment. However the frontend is configured to build assets\n    into the project sources so it can embed it in site ressources.\n\nproject/\n    This is the directory which holds everything about site project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveetch%2Foptimus-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsveetch%2Foptimus-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveetch%2Foptimus-bootstrap/lists"}