chrepl
大小:4.95MiB版本:v 0.5.2更新时间:2021-12-21
A tool that injects a ClojureScript Figwheel repl into webpages
chrepl 的使用方法详解,最全面的教程
chrepl 描述:
用户数:26
分类:开发者工具插件
扩展大小:4.95 MiB
最后更新时间:2021-12-21
版本:v 0.5.2
chrepl 插件简介:
这是来自Chrome商店的 chrepl 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
chrepl插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
chrepl插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/chrepl allows you to quickly show a prospective client how your code can improve their website.
ClojureScript is a web programming language based on Clojure, which is derived from Lisp. Lisps have one of the most dynamic programming feedback tools available: the Read, Eval, Print, Loop; or REPL.
In the ClojureScript community, we like to build websites using the live feedback of a REPL. However, we normally compile our REPL functionality into a development version of our website which, in turn, connects back to our REPL server. This chrepl tool allows you to inject client-side REPL functionality into any website on any Chrome tab.
chrepl can be thought of as similar to tampermonkey, but with a live REPL and the full power of ClojureScript. You could even bring in casper.js and automate the web from the comfort of a REPL.
Start REPLing the internet by
1. Installing the clj tool (https://clojure.org/guides/getting_started#_clojure_installer_and_cli_tools)
2. Setting up a compatible project (https://github.com/johnmn3/chrepl-example)
Once this extension is installed, you can just click the "inject" button from the extension's popup and a REPL connection will be established.
Under the hood, chrepl uses the following libraries:
* Bruce Hauman's Figwheel REPL server and client
* Antonin Hildebrand's Chromex and Devtools
This tool is free to use for non-commercial purposes. For commercial use, or to simply contribute to the project, there is a subscription fee of $0.99 a month.
My name is John Newman and I enjoy making tools and libraries for the Clojure/Script community. The story on how this extension came about is pretty simple. Some of my client work involves producing self-contained artifacts that augment the behavior or appearance of existing, sometimes legacy websites. In order to effectively instrument and augment their site, I would usually need a locally running copy of their site that I could integrate a ClojureScript REPL into. This can sometimes take hours or days to get setup. If only I could inject a REPL into existing websites, I wouldn't need to develop against a locally running instance. Thus, chrepl was born. Now, I can jump on a Zoom or Skype call with a potential client and show them augmentations to their site (or any site they choose) right there, in the call. I'm pretty excited to use it in future client calls and I hope you will be too!
Check out the website https://chrepl.app for more information.