Repository: agata/dl.biscuit
Branch: master
Commit: d068c2505590
Files: 2
Total size: 1.9 KB
Directory structure:
gitextract_pagv2vrv/
├── README.md
└── download.js
================================================
FILE CONTENTS
================================================
================================================
FILE: README.md
================================================
# dl.biscuit
================================================
FILE: download.js
================================================
var updateDownloadButton = function() {
var patterns = {
'OS X': /^.+[.]dmg$/,
'Windows': /^.+[.]exe$/,
'Windows XP': /^.+[.]exe$/,
'Ubuntu': /^.+[.]AppImage$/,
'Debian': /^.+[.]AppImage$/,
'Fedora': /^.+[.]AppImage$/,
'Red Hat': /^.+[.]AppImage$/,
'SuSE': /^.+[.]AppImage$/
}
var linkElem = document.getElementById('download-link');
var textElem = document.getElementById('download-text');
var pattern = patterns[platform.os.family];
if (!pattern) {
if (linkElem) {
linkElem.style.background = '#777';
}
if (textElem) {
textElem.innerText = location.pathname === '/ja' ?
'Windows、Mac、Linuxから\nダウンロードしてください。' : 'Please download from Windows, Mac or Linux';
}
return;
}
var update = function(release) {
var assets = release.assets.filter(function(asset) {
return asset.name.match(pattern) !== null;
});
if (assets.length === 1) {
var asset = assets[0];
if (linkElem) {
linkElem.setAttribute('href', asset.browser_download_url);
}
if (textElem) {
var version = release.tag_name;
var ext = asset.name.substring(asset.name.lastIndexOf('.') + 1);
var text = textElem.innerText;
var newText = text
.replace('Biscuit', 'Biscuit for ' + platform.os.family)
.replace('v1.0.0', version)
.replace('exe', ext);
textElem.innerText = newText;
}
} else {
console.log('Can not detect an asset.');
}
};
axios.get('https://api.github.com/repos/agata/dl.biscuit/releases/latest').then(function(res) {
var release = res.data;
update(release);
});
};
updateDownloadButton();
gitextract_pagv2vrv/ ├── README.md └── download.js
Condensed preview — 2 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2K chars).
[
{
"path": "README.md",
"chars": 13,
"preview": "# dl.biscuit\n"
},
{
"path": "download.js",
"chars": 1945,
"preview": "var updateDownloadButton = function() {\n var patterns = {\n 'OS X': /^.+[.]dmg$/,\n 'Windows': /^.+[.]exe"
}
]
About this extraction
This page contains the full source code of the agata/dl.biscuit GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 2 files (1.9 KB), approximately 543 tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.