{"id":36466227,"url":"https://github.com/richardjennings/precrypt","last_synced_at":"2026-01-12T00:03:41.206Z","repository":{"id":236775107,"uuid":"793122644","full_name":"richardjennings/precrypt","owner":"richardjennings","description":"AES GCM Encrypted HTML, JS, CSS Loader SPA ","archived":false,"fork":false,"pushed_at":"2024-05-03T07:49:18.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T11:27:24.858Z","etag":null,"topics":["aes-gcm","encryption","javascript","webcrypto-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/richardjennings.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-04-28T13:46:49.000Z","updated_at":"2024-05-05T09:09:50.000Z","dependencies_parsed_at":"2024-05-03T08:45:42.194Z","dependency_job_id":null,"html_url":"https://github.com/richardjennings/precrypt","commit_stats":null,"previous_names":["richardjennings/precrypt"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/richardjennings/precrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardjennings%2Fprecrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardjennings%2Fprecrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardjennings%2Fprecrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardjennings%2Fprecrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richardjennings","download_url":"https://codeload.github.com/richardjennings/precrypt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardjennings%2Fprecrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28328728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["aes-gcm","encryption","javascript","webcrypto-api"],"created_at":"2026-01-12T00:03:40.746Z","updated_at":"2026-01-12T00:03:41.202Z","avatar_url":"https://github.com/richardjennings.png","language":"Go","readme":"# PreCrypt\n\nPreCrypt generates a HTML page which can self load embedded AES GCM encrypted HTML, CSS, Javascript when a correct \npasscode is entered.\n\nAn example is available on [Github Pages](https://richardjennings.github.io/precrypt/).\n\n\n## CLI Usage\n\nKey is hex encoded and is generated if not supplied.\n\n```\nprecrypt --html example/index.html --css example/style.css --js example/index.js --key 329625b9767075c799e90499c59f4e775c0c0ca8c8320b99fc485ba68add025b index.html\n```\n\n## Library Usage\n\n```\nerr := precrypt.Render(precrypt.RenderOptions{\n    HtmlFiles:  []string{\"example/index.html\"},\n    CssFiles:   []string{\"example/style.css\"},\n    JsFiles:    []string{\"example/index.js\"},\n    Key:        []byte{\"passphrasewhichneedstobe32bytes!\"},\n    Out:        os.Stdout,\n}\n```\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardjennings%2Fprecrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardjennings%2Fprecrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardjennings%2Fprecrypt/lists"}