{"id":18720193,"url":"https://github.com/torahappy/RDWP","last_synced_at":"2025-11-10T20:30:19.051Z","repository":{"id":62669515,"uuid":"109588513","full_name":"aidatorajiro/RDWP","owner":"aidatorajiro","description":"A functional deep web implementation","archived":false,"fork":false,"pushed_at":"2024-12-02T08:30:09.000Z","size":24328,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-28T11:26:42.905Z","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/aidatorajiro.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":"2017-11-05T14:53:30.000Z","updated_at":"2024-12-02T08:30:13.000Z","dependencies_parsed_at":"2024-12-28T11:35:04.985Z","dependency_job_id":null,"html_url":"https://github.com/aidatorajiro/RDWP","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidatorajiro%2FRDWP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidatorajiro%2FRDWP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidatorajiro%2FRDWP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidatorajiro%2FRDWP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidatorajiro","download_url":"https://codeload.github.com/aidatorajiro/RDWP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239582512,"owners_count":19663092,"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":["adventure","art","deep-web","deepweb","haskell","internet","reflex","reflex-frp","web"],"created_at":"2024-11-07T13:29:47.773Z","updated_at":"2025-11-10T20:30:18.983Z","avatar_url":"https://github.com/aidatorajiro.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\nOr without hot reloading: `./run-warp.bash`\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"}