Git Product home page Git Product logo

Comments (6)

anc95 avatar anc95 commented on July 18, 2024 1

我觉得他可能是记录从哪里复制的进程,去激活这个窗口,
然后直接 粘贴替换的。因为刚刚就是选中复制的状态

试了下确实可以,我之前以为焦点切换到 writely 之后,其他软件的选中状态会消失,刚试了下回到其他窗口,当时选中的东西还在,那确实可以先这么着

我没用过 Deepl,但本地装了 Grammarly,感觉 Grammarly 的编辑和替换交互更智能一些

谢谢相关信息,可以找个周末整一波客户端了,客户端方案应该会用 https://tauri.app/,electron 太大了

from writely.

ap1024 avatar ap1024 commented on July 18, 2024 1

可以看看openai-translator这个项目,里面有用到

from writely.

kickTiger avatar kickTiger commented on July 18, 2024 1

如果作者是闲暇之余做这个,我觉得还是先做好插件再说,不要摊子铺太开了

其实这个插件的使用体验已经非常好了,拖拽的很丝滑了,设计的也很合理。

网页里的应用, 如果是写作方面的,其实已经很局限了。与其在网页去扩展各种功能和提示词,不如专注于写作。

写作的话, 能够脱离浏览器才能更多人使用。到时候没有API的人就可以充值使用,不然纯爱发电也不长久了🤭

from writely.

anc95 avatar anc95 commented on July 18, 2024

其实最开始是想做成客户端的,在非浏览器中(如 微信、word、任何客户端软件)编辑都可以使用,但对于客户端的技术不是很熟,就先从浏览器插件开始了

客户端主要是交互上有几个技术问题需要调研下

  1. 如何确定当前客户端滑词的文本 (类似浏览器 Selection API)
  2. 如何对客户端上其它软件编辑器内文本进行插入,替换等编辑操作

from writely.

kickTiger avatar kickTiger commented on July 18, 2024

我觉得可以这样处理:不去判断是否选中
1、临时方案:参考deepl的做法,两次Ctrl+C之后的文件,就可以处理了。监听粘贴板就可以了,就不用考虑和软件的互动了。
2、还是DeepL的做法,处理后的文本,可以复制也可以插入到其他软件,不过他有时候也没法插入。

  • 我觉得他可能是记录从哪里复制的进程,去激活这个窗口,
  • 然后直接 粘贴替换的。因为刚刚就是选中复制的状态

3、要让writely的窗口可以钉在屏幕上,可以展开也可以小球,也可以减少需要激活的状态。包括现在在浏览器里,也是应该可以钉在屏幕上的更好用

这种的话,就没有太过于复杂的交互。

from writely.

ap1024 avatar ap1024 commented on July 18, 2024

如果作者是闲暇之余做这个,我觉得还是先做好插件再说,不要摊子铺太开了

from writely.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.