{"id":30615577,"url":"https://github.com/torahappy/rdwp","last_synced_at":"2025-08-30T08:05:53.484Z","repository":{"id":62669515,"uuid":"109588513","full_name":"torahappy/RDWP","owner":"torahappy","description":"A functional deep web implementation","archived":false,"fork":false,"pushed_at":"2025-08-11T02:32:05.000Z","size":24383,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-11T04:12:25.329Z","etag":null,"topics":["adventure","art","deep-web","deepweb","haskell","internet","reflex","reflex-frp","web"],"latest_commit_sha":null,"homepage":"https://rdwp.netlify.app/","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/torahappy.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":"2017-11-05T14:53:30.000Z","updated_at":"2025-08-11T02:32:09.000Z","dependencies_parsed_at":"2025-06-23T19:36:11.930Z","dependency_job_id":null,"html_url":"https://github.com/torahappy/RDWP","commit_stats":null,"previous_names":["torahappy/rdwp"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/torahappy/RDWP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torahappy%2FRDWP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torahappy%2FRDWP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torahappy%2FRDWP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torahappy%2FRDWP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torahappy","download_url":"https://codeload.github.com/torahappy/RDWP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torahappy%2FRDWP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272821200,"owners_count":24998599,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["adventure","art","deep-web","deepweb","haskell","internet","reflex","reflex-frp","web"],"created_at":"2025-08-30T08:05:45.759Z","updated_at":"2025-08-30T08:05:53.480Z","avatar_url":"https://github.com/torahappy.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"$$$$$$$$$=\u003c\u003c\u003e\u003e==\u003c\u003c\u003e\u003e==\u003c\u003c=\u003c\u003c=\u003c\u003c\u003e\u003e=\u003e\u003e==\u003c\u003c\u003e\u003e==\u003c\u003c\u003e\u003e==\u003c\u003c\u003e\u003e==\u003c\u003c=\u003c\u003c=\u003c\u003c=\u003c\u003c=\u003c\u003c\u003e\u003e=\u003e\u003e=\u003e\u003e==\u003c\u003c=\u003c\u003c=\u003c\u003c\u003e\u003e==\u003c\u003c\u003e\u003e==\u003c\u003c=\u003c\u003c$\n=\u003c\u003c\n$\u003c$\u003e!\n\n\n# memo\n\n## dependencies\n\nBuild dependencies for Ubuntu:\n\n`libwebkit2gtk-4.0-dev gobject-introspection libgirepository1.0-dev fonts-takao gir1.2-webkit2-4.0`\n\nGHCUp recommended.\n\n## build locally\n\nlinux only\n\n### WARP\n\n1. `cp stack.linux.warp.yaml stack.yaml`\n2. `stack build`\n\n### GHCJS 8\n\nInstall nix first.\n\n1. `./build-nix-ghcjs-bare.bash`\n\n### GHCJS 9\n\nSee \u003chttps://www.haskell.org/ghcup/guide/#ghc-js-cross-bindists-experimental\u003e to setup experimental GHCJS. We need `javascript-unknown-ghcjs-ghc-9.10.0.20240413`.\n\n1. `./build-cabal-910.bash`\n\n### WEBKIT\n\n1. `cp stack.linux.warp.yaml stack.yaml`\n2. `stack build`\n\n## run locally\n\nlinux only\n\n### WARP\n\nHot reload using custom websocket server.\n\n1. `SERVER_MODE=WARP node ./watch.js`\n\nAccess to `http://localhost:11923` via Google Chrome. (Firefox not supported)\n\nYou can also change the hostname by specifying `SERVER_HOST`\n\n### GHCJS 8 and 9\n\nHot reload using browser-sync.\n\n1. `yarn install`\n2. `SERVER_MODE=GHCJS node ./watch.js`\n\n### WEBKIT\n\n1. `./run-webkit.bash`\n\nhot reloading is WIP.\n\n## docker\n\n### docker (nix + ghcjs / wasm, for production)\n\n1. `docker build -f build-tools/docker-nix/Dockerfile -t myimage .`\n2. `docker run -itd --name mycontainer myimage`\n3. `./build-nix-ghcjs-docker.bash`\n\n### docker (stack + ghcup + X11 forwarding, for development)\n\n1. `mkdir .stack-cache`\n1. `mkdir .cabal-cache`\n1. `mkdir -p .stack-cache/hooks/`\n1. `curl https://raw.githubusercontent.com/haskell/ghcup-hs/master/scripts/hooks/stack/ghc-install.sh \u003e .stack-cache/hooks/ghc-install.sh`\n1. `chmod +x .stack-cache/hooks/ghc-install.sh`\n1. `echo \"system-ghc: false\" \u003e\u003e .stack-cache/config.yaml`\n1. `docker-compose up`\n\n#### Use nvim\n\n1. `docker exec -it rdwp-myservice-1 /root/uid-remap.bash bash` or `ssh haskell@localhost -p2222` (password: haskell)\n2. `cd /workspace/frontend; nvim .`\n3. Happy editing!\n\n#### Use vscode's Remote Container\n\n1. Access to `ssh haskell@localhost -p2222` (password: haskell)\n2. Run `code /workspace/frontend`\n3. Happy editing!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorahappy%2Frdwp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorahappy%2Frdwp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorahappy%2Frdwp/lists"}