fetch('https://api.github.com/repos/handism/handism.github.io/issues', {
method: 'POST',
headers: {
'Accept': 'application/vnd.github+json',
'Authorization': 'Bearer YOUR_GITHUB_TOKEN'
},,
body: JSON.stringify({
"title": "Bug report",
"body": "This is a test issue."
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
インプットの解析およびコード生成は完全にブラウザのメモリ内で行われます。