{"id":16608961,"url":"https://github.com/dpeta/pesterchumonlinebutsilly","last_synced_at":"2025-07-07T05:02:31.207Z","repository":{"id":111285107,"uuid":"591938958","full_name":"Dpeta/PesterchumOnlineButSilly","owner":"Dpeta","description":"A static pure-JavaScript Pesterchum client (it's a bit too goofy and silly)","archived":false,"fork":false,"pushed_at":"2025-06-28T15:45:37.000Z","size":12431,"stargazers_count":11,"open_issues_count":8,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T16:46:11.133Z","etag":null,"topics":["homestuck","irc","pesterchum"],"latest_commit_sha":null,"homepage":"https://pesterchum.online","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dpeta.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-01-22T12:21:05.000Z","updated_at":"2025-06-28T15:45:40.000Z","dependencies_parsed_at":"2024-05-29T21:47:26.649Z","dependency_job_id":"4696841d-b056-4b2b-84ba-afd1c76d3f7e","html_url":"https://github.com/Dpeta/PesterchumOnlineButSilly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dpeta/PesterchumOnlineButSilly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpeta%2FPesterchumOnlineButSilly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpeta%2FPesterchumOnlineButSilly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpeta%2FPesterchumOnlineButSilly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpeta%2FPesterchumOnlineButSilly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dpeta","download_url":"https://codeload.github.com/Dpeta/PesterchumOnlineButSilly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpeta%2FPesterchumOnlineButSilly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264016713,"owners_count":23544623,"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":["homestuck","irc","pesterchum"],"created_at":"2024-10-12T01:27:40.071Z","updated_at":"2025-07-07T05:02:31.185Z","avatar_url":"https://github.com/Dpeta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PesterchumOnlineButSilly\nA static pure-JavaScript Pesterchum client; not to be confused with the 2014 NodeIRC/Heroku 'Pesterchum Online'!!\n\nPretty much the only thing I've ever made using JavaScript, so it's really not very good. Hopefully at least passably secure though; all content from the server is escaped and the live server has a fairly strict content security policy. ([CSP Evaluator](https://csp-evaluator.withgoogle.com/?csp=https://pesterchum.online))\n\nAn important difference between this and previous PCO clients is that this client is fully client side and connects over a WebSocket connection, this means that:\n - The hosting server only needs to serve static content.\n - The hosting server won't act as a proxy, so banning a PCO user will actually ban the user instead of the PCO server like with the previous clients.\n\nEven if this client is kinda bad; it's probably best if future online clients also use a WebSocket connection now that IRC is gaining support for it, it's better than the PCO server having to proxy all messages.\n\nTo connect to a server other than irc.pesterchum.xyz just swap out the address in ``src/pesterchum.js``.\n\n## Local setup\nJust download and open index-src.html, the site is fully static so there's no further setup :3\n\n## Setup for web server (without babel)\n```sh\nmkdir dist\ncp src/pesterchum.js dist/pesterchum.js\ncat dist/pesterchum.js | openssl dgst -sha256 -binary | openssl base64 -A\n```\nAfterwards you have to put the resulting hash of the script into the integrity fields in index.html's script/preload tags, and ideally also add it to the server's content security header.\n\n## Setup for web server (with babel)\nLets the client run on evil old browsers \u003c/3\n\nInstall dependenies.\n```sh\nnpm install @babel/core @babel/cli @babel/preset-env browserify core-js babelify\n```\nRun source through browserify + babel, equivalent to running bundle.sh:\n```sh\n./node_modules/.bin/browserify src/pesterchum.js -o dist/pesterchum.js -t babelify\ncat dist/pesterchum.js | openssl dgst -sha256 -binary | openssl base64 -A \u0026\u0026 echo\n```\nThen input the resulting hashes, same as the previous setup.\n\n# Contributing\n\u003e [!NOTE]  \n\u003e This section still WIP\n\nBefore sending a pull request, if you modified the `/src/pesterchum.js` file, please run \n`npm run lint`\nThis will run ESLint (``eslint --fix``) and automatically fix problems and enforce style guidelines. \n## Thanks to:\n\nAll the artist collaborating with backgrounds:\n- paleWreath\n- AU Dave\n- Caliborn (Pure art skills!)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpeta%2Fpesterchumonlinebutsilly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpeta%2Fpesterchumonlinebutsilly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpeta%2Fpesterchumonlinebutsilly/lists"}