{"id":21909202,"url":"https://github.com/somehowchris/planetb-syntax-highlighter","last_synced_at":"2025-04-16T01:54:46.153Z","repository":{"id":37901366,"uuid":"434674564","full_name":"somehowchris/planetb-syntax-highlighter","owner":"somehowchris","description":"A Web-App written in Rust with Yew, using the same SyntaxHighlighter from Google Code Archive as planetb.ca","archived":false,"fork":false,"pushed_at":"2025-04-15T12:37:00.000Z","size":8342,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T01:54:31.970Z","etag":null,"topics":["code","highlight","planetb","syntax","wasm","webassembly","word"],"latest_commit_sha":null,"homepage":"https://highlighter.christof.weickhardt.ch","language":"Rust","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/somehowchris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["somehowchris"]}},"created_at":"2021-12-03T17:10:07.000Z","updated_at":"2024-10-07T17:13:28.000Z","dependencies_parsed_at":"2023-02-08T09:45:20.217Z","dependency_job_id":"b6ddf70b-3f2d-4924-9877-e3dc34c8315e","html_url":"https://github.com/somehowchris/planetb-syntax-highlighter","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":"yewstack/yew-wasm-pack-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somehowchris%2Fplanetb-syntax-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somehowchris%2Fplanetb-syntax-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somehowchris%2Fplanetb-syntax-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somehowchris%2Fplanetb-syntax-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/somehowchris","download_url":"https://codeload.github.com/somehowchris/planetb-syntax-highlighter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183107,"owners_count":21226141,"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":["code","highlight","planetb","syntax","wasm","webassembly","word"],"created_at":"2024-11-28T17:15:57.402Z","updated_at":"2025-04-16T01:54:46.115Z","avatar_url":"https://github.com/somehowchris.png","language":"Rust","funding_links":["https://github.com/sponsors/somehowchris"],"categories":[],"sub_categories":[],"readme":"# PlanetB SyntaxHighlighter\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/somehowchris/planetb-syntax-highlighter)\n\n## About\n\nThis is a small app, providing static files to have a frontend to format your code so you can paste it with styles to places like word documents.\n\u003e Copying rich text has some pain-points with firefox, if you're not a old grown firefox user and you experience pain, use a chromium powered browser like brave, edge or chrome\n\nVisit [this github page](https://somehowchris.github.io/planetb-syntax-highlighter/) to have a go. Everything stays inside your browser, if you are concerned about security and code leaking check out the [container section](#container) to host it yourself.\n\n\n## Container\n\nThis app is also built as a `nginx-alpine` container image for `arm64` and `amd64` platforms. It's available on github container registry. The container will expose it static file server http interface on port __80__.\n\nTo use it:\n```\ndocker run -p 8000:80 ghcr.io/somehowchris/planetb-syntax-highlighter:0.1.10\n```\n\u003e This will start the container and open it to your network on port `8000`\n\n## 🚴 For Developers\n\nThis app is built with rust and wasm-webpack. Dependent code such as the `SyntaxHighlighter` is copied from the google archive and as is in JS. If you would like to know more about it [head to this readme page](./src/assets/js/highlighter/README.md)\n\n### 🛠️ Build\n\nWhen building for the first time, ensure to install dependencies first.\n\n```\nyarn install\n```\n\n```\nyarn run build\n```\n\n### 🔬 Serve locally\n\n```\nyarn run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomehowchris%2Fplanetb-syntax-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomehowchris%2Fplanetb-syntax-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomehowchris%2Fplanetb-syntax-highlighter/lists"}