Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Config api.github.com for query data #648

Open
liangyuanpeng opened this issue Apr 10, 2023 · 0 comments
Open

[Feature] Config api.github.com for query data #648

liangyuanpeng opened this issue Apr 10, 2023 · 0 comments

Comments

@liangyuanpeng
Copy link

liangyuanpeng commented Apr 10, 2023

I want the user can see the comment when they have not login. Also working for when they can not access api.github.com

https://api.github.com/repos/liangyuanpeng/liangyuanpeng.github.io/issues/86/comments?page=1&per_page=25

https://api.github.com/search/issues?q=%22%E7%94%A8kind%E6%90%AD%E5%BB%BAk8s%E9%9B%86%E7%BE%A4%E7%8E%AF%E5%A2%83-%E8%BF%9C%E9%B9%8F%E7%9A%84%E5%8D%9A%E5%AE%A2%20%7C%20liangyuanpeng%27s%20Blog%22%20type%3Aissue%20in%3Atitle%20repo%3Aliangyuanpeng%2Fliangyuanpeng.github.io&sort=created&order=asc

So i want to use my url replace api.github.com to search github issue and issue comments.

It would be great if the script have the config for api.github.com, like:

<script src="https://utteranc.es/client.js"
        ***searchapi="my.com"***
        repo="[ENTER REPO HERE]"
        issue-term="pathname"
        theme="github-light"
        crossorigin="anonymous"
        async>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant