Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Nov 19, 2023
1 parent ca52ab3 commit 9eba4df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _posts/2023-11-19-hack-github-copilot.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ console.log(`replace ${path}`, js.length, replaced.length);

这里的思路就是用 express 启一个服务器,然后调用暴露出来的接口即可。代码我放在了 [Github](https://github.com/purocean/expose-github-copilot-http-api)

效果如下:
![Img](./FILES/2023-11-19-hack-github-copilot.md/img-20231119180113.png)

## 对接 Yank Note

把下面的内容,写成一个js文件,放置到 Yank Note js 插件目录,然后重启 Yank Note 即可。代码我也放在了上面的 [Github](https://github.com/purocean/expose-github-copilot-http-api) 仓库中, 请参考仓库中的文件:`yn-github-copilot.js`
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9eba4df

Please sign in to comment.