{"id":32101211,"url":"https://github.com/falling-sky/fsbuilder","last_synced_at":"2026-01-18T18:05:12.000Z","repository":{"id":79532870,"uuid":"54331451","full_name":"falling-sky/fsbuilder","owner":"falling-sky","description":"falling-sky processor that reads templates and translations, outputs compiled publishable content","archived":false,"fork":false,"pushed_at":"2024-01-04T18:18:11.000Z","size":6005,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T19:52:35.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/falling-sky.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}},"created_at":"2016-03-20T17:43:41.000Z","updated_at":"2023-08-08T05:42:03.000Z","dependencies_parsed_at":"2024-06-21T18:56:25.351Z","dependency_job_id":"3029b392-bed4-48c2-a295-e49d852d8425","html_url":"https://github.com/falling-sky/fsbuilder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/falling-sky/fsbuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falling-sky%2Ffsbuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falling-sky%2Ffsbuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falling-sky%2Ffsbuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falling-sky%2Ffsbuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falling-sky","download_url":"https://codeload.github.com/falling-sky/fsbuilder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falling-sky%2Ffsbuilder/sbom","scorecard":{"id":391841,"data":{"date":"2025-08-11","repo":{"name":"github.com/falling-sky/fsbuilder","commit":"f9741050e6f798ab6bdf592ece8ab382915d768a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/falling-sky/fsbuilder/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/falling-sky/fsbuilder/go.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T18:00:16.611Z","repository_id":79532870,"created_at":"2025-08-18T18:00:16.611Z","updated_at":"2025-08-18T18:00:16.611Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28547004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: 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":[],"created_at":"2025-10-20T02:01:24.921Z","updated_at":"2026-01-18T18:05:11.993Z","avatar_url":"https://github.com/falling-sky.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Builder\nGo based template compiler for falling-sky\n\nThis is being built as a replacement to falling-sky's `build.pl`, which has a large number of dependencies.\n\n\n## Index\n\n* [Builder](#Builder)\n  * [Index](#Index)\n  * [Templates](#Templates)\n  * [Includes](#Includes)\n  * [Translations](#Translations)\n* [Installation](#Installation)\n  * [Prerequisites](#Prerequisites)\n  * [Configuration](#Configuration)\n\n\n## About\n\nThis tool will do several things:\n\n \n\n * Read `translations/falling-sky.pot` for the existing database of translation strings\n * Read `translations/dl/*/*.po` for translations provided by translators (and downloaded from CrowdIn)\n * Read `templates/js` for top-level .js files \n * Read `templates/css` for top-level .css files \n * Read `templates/html` for top-level .html files \n * Read `templates/php` for top-level .php files\n * Read `templates/apache` for top-level .htaccess and .example files\n * Read `images/` for .gif .png .jpg and .jpeg files \n \nFor outputs, this will create one directory called `output/`.\n * `output/` contains js, css, html, php files, plus some apache files\n * `output/images` contains images, plus one .htacces file\n * `ouputt/images-nc` contains the same images, plus a different .htaccess  file\n\n\n## Templates\n\nThese are the real sources for the falling-sky project; aka test-ipv6.com (and mirror sites).\n\nThes are processed by [Go's template engine](https://golang.org/pkg/text/template/).  For the template engine we use `[%` and `%]` as markers.  \n\nThese variables are defined:\n\n`[% $page %]` - Base page name with full text.  This is defined inside the .html files specifically, and used by header.inc and navigation includes to selectively enable and disable features/outputs.  A typical usage will be to assign the page name at the top - such as: `[% $page := \"6to4\" %]`.\n\n`[% .Baasename %]` -  Base page name (used in the filename).  Example would be simply \"index\".  Defined before template expansion.\n\n`[% .GitInfo.Repository %]` - Git repo info for the current directory.\n\n`[% .GitInfo.Version %]` - A synthetic version number based on the latest git tags, and log count.  Update the tags to increment the major/minor version numbers.\n\n`[% .GitInfo.Date]` - UTC time that the last Git commit was made.\n\n`[% .DirSignature %]` - A signature string that includes the .GitInfo.Version as well as a md5 hash of the most important bits of Apache configuration.  The md5 hash will remain constant unless languages are added, or the Apache templates change.\n\n## Includes\n\n\nThese directives are also defined, but with strict limitations.\n\n`[% PROCESS \"filename.inc\" %]` will replace the `[%..%]` with the contents of `filename.inc`.  This gives us the ability to have include files; to break things into reusable parts.  Some of the web pages, for example, reuse content across various FAQ pages.\n\n\n\n\n## Translations\n\n\nWe are doing translations just outside of the template engine.  We do this partially for speed (the same template output can be used for all langauges); but also to make it simpler to edit.\n\nText that is to be translated is simply wrapped around double curly braces, like these examples:\n\n```javascript\n  x = \"{{JavaScript text to be translated}}\"\n```\n\n```html\n\u003cspan\u003e{{HTML text to be translated}}\u003c/span\u003e\n```\n\nThe use of `{{` and `}}` should be safe for text editors that offer syntax checking and highlighting.\n\n# Installation\n\n## Prerequisites\n\nBuilding this application requires [Go](https://golang.org/dl/).  This has been tested with Go 1.6.\n\nThis tool *could* make use of third party tools to optimize output.  These tools include: uglify-js2, cssmin, (html) tidy.    At this time their gains are not adequate for what they cost is both in time and browser obfuscation.  \n\nIf we were to use those, we would use those in post-processing.\nIf the project does encourage post-processing again, we will document the post-processing commands.  For now those remain dormant.\n\n## Building\n\n```bash\n#Make sure `GOPATH` is set in your environment.\necho $GOPATH\ncd $GOPATH\nmkdir -p $GOPATH/src/github.com/falling-sky\ncd $GOPATH/src/github.com/falling-sky\ngit clone git@github.com:falling-sky/builder.git\ncd builder \ngo build\ncp builder /path/to/falling-sky/source/\n```\n\n### Shortcut from falling-sky source code\n\nYou might find it easier to use `make builder` from the falling-sky source directory. This will automatically set up a GOPATH for you, clone the source, and build the binary.  \n\n  \n\n## Configuration\n\nThe build tool does support a config file.  Run this to get a template:\n\n`builder --example \u003e builder.conf`\n\nAnd then, after editing the configuration..\n\n`builder --config builder.conf`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalling-sky%2Ffsbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalling-sky%2Ffsbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalling-sky%2Ffsbuilder/lists"}