{"id":13928717,"url":"https://github.com/h5law/paste-site","last_synced_at":"2026-05-07T20:04:02.459Z","repository":{"id":231698825,"uuid":"531972531","full_name":"h5law/paste-site","owner":"h5law","description":"Basic preact frontend site for the paste-server instance","archived":false,"fork":false,"pushed_at":"2024-06-13T19:44:56.000Z","size":4982,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-26T17:45:09.046Z","etag":null,"topics":["javascript","nodejs","pastebin","pastebin-client","preact"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h5law.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":"2022-09-02T15:05:16.000Z","updated_at":"2024-04-05T10:19:34.000Z","dependencies_parsed_at":"2024-04-05T12:29:57.668Z","dependency_job_id":"f4e792f2-fc45-4a07-b5fd-94b106dfba0b","html_url":"https://github.com/h5law/paste-site","commit_stats":null,"previous_names":["h5law/paste-site"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fpaste-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fpaste-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fpaste-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fpaste-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h5law","download_url":"https://codeload.github.com/h5law/paste-site/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244033829,"owners_count":20387011,"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":["javascript","nodejs","pastebin","pastebin-client","preact"],"created_at":"2024-08-07T18:01:27.854Z","updated_at":"2026-05-07T20:04:02.379Z","avatar_url":"https://github.com/h5law.png","language":"JavaScript","funding_links":[],"categories":["nodejs"],"sub_categories":[],"readme":"# paste-site\n\nThis is a simple Preact frontend for the [paste-server](https://github.com/h5law/paste-server)\n\n## Install\n\nThis requires Node v16.16.0+\n\nTo install simply clone this repo and install the npm dependencies:\n```\ngit clone https://github.com/h5law/paste-site\ncd paste-site\nnpm i\n```\n\nThen to run in a non production environment do either:\n`NODE_ENV=\"development\" npm run dev` or `NODE_ENV=\"development\" npm run serve`\n\nIt is needed to use the `NODE_ENV` before the command so that the SPA looks for\nthe paste-server instance running locally on `127.0.0.1:3000` for the API calls\nas otherwise the SPA will assume this is being served through the paste-server\ninstance it is made for, and will use the `window.location.origin` value for\nmaking API calls which wont work unless the paste-instance server is both\nrunning AND on the same port.\n\n## Build\n\nTo build this yourself simply run:\n```\nnpm run build\n```\n\nAnd have your [paste-server](https://github.com/h5law/paste-server) instance\npoint to the build directory when starting it using the `--spa-dir` flag:\n```\npaste-server start -v --spa-dir=\"./build\"\n```\n\n## TODO\n\n- Make look and feel better\n- Add syntax highlighting with highlight.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh5law%2Fpaste-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh5law%2Fpaste-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh5law%2Fpaste-site/lists"}