mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Remove Glime bot
This commit is contained in:
parent
55a434c039
commit
1d820b02cb
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -13,7 +13,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Before submitting, please confirm the following
|
label: Before submitting, please confirm the following
|
||||||
options:
|
options:
|
||||||
- label: I confirm this was discussed, and the maintainers suggest I open an issue (note that AI bots are not maintainers).
|
- label: I confirm this was discussed, and the maintainers asked that I open an issue.
|
||||||
required: true
|
required: true
|
||||||
- label: I am aware that if I create this issue without a discussion, it will be removed without a response.
|
- label: I am aware that if I create this issue without a discussion, it will be removed without a response.
|
||||||
required: true
|
required: true
|
||||||
|
@ -34,13 +34,6 @@ These companies help the Homepage project by providing services, tools, and reso
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-bottom: 16px;">
|
|
||||||
<a href="https://glimelab.ai/"><img src="https://framerusercontent.com/images/28KxmT1G06GrFM8TKeNAC03QIms.svg" alt="Crowdin" style="max-width: 100%; height: 64px; display: block;" /></a>
|
|
||||||
<p>
|
|
||||||
GlimeLab provides the project with the awesome AI chatbot here and on GitHub and Discord.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="margin-bottom: 16px;">
|
<div style="margin-bottom: 16px;">
|
||||||
<a href="https://www.jetbrains.com/"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" alt="JetBrains" style="max-width: 100%; height: 64px; display: block;" /></a>
|
<a href="https://www.jetbrains.com/"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" alt="JetBrains" style="max-width: 100%; height: 64px; display: block;" /></a>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
var glimeScript;
|
|
||||||
var glimeStyles = [];
|
|
||||||
document$.subscribe(function () {
|
|
||||||
if (!glimeScript) {
|
|
||||||
glimeScript = document.createElement("script");
|
|
||||||
glimeScript.setAttribute("src", "https://cdn.glimelab.ai/widget/1.0.0/widget.js");
|
|
||||||
glimeScript.setAttribute("onload", "onGlimeLoad()");
|
|
||||||
document.head.appendChild(glimeScript);
|
|
||||||
} else {
|
|
||||||
var newGlimeStyle = document.createElement("style");
|
|
||||||
document.head.appendChild(newGlimeStyle);
|
|
||||||
var i = 0;
|
|
||||||
glimeStyles.forEach((rule) => {
|
|
||||||
newGlimeStyle.sheet.insertRule(rule.cssText, i);
|
|
||||||
i++;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
onGlimeLoad = () => {
|
|
||||||
window.glime.init("Bl3mlvfCnTnRm5");
|
|
||||||
setTimeout(() => {
|
|
||||||
const sheets = document.styleSheets;
|
|
||||||
[...sheets].forEach((sheet) => {
|
|
||||||
if (!sheet.href) {
|
|
||||||
[...sheet.cssRules].forEach((rule) => {
|
|
||||||
if (!rule || rule.href || !rule.selectorText) return;
|
|
||||||
if (rule.selectorText.indexOf(".css-") === 0 || rule.selectorText.indexOf("glime") > -1) {
|
|
||||||
glimeStyles.push(rule);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}, 1000);
|
|
||||||
};
|
|
@ -45,10 +45,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#glimeRoot * {
|
|
||||||
font-family: var(--md-text-font) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#carbonads {
|
#carbonads {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
@ -6,10 +6,6 @@ hide:
|
|||||||
- navigation
|
- navigation
|
||||||
---
|
---
|
||||||
|
|
||||||
## Introducing the Homepage AI Bot
|
|
||||||
|
|
||||||
Thanks to the generous folks at [Glime](https://glimelab.ai), Homepage is now equipped with a pretty clever AI-powered bot. The bot has full knowledge of our docs, GitHub issues and discussions and is great at answering specific questions about setting up your Homepage. To use the bot, just hit the 'Ask AI' button on any page in our docs, [open a GitHub discussion](https://github.com/gethomepage/homepage/discussions) or check out the [#ai-support channel on Discord](https://discord.com/channels/1019316731635834932/1177885603552038993)!
|
|
||||||
|
|
||||||
## General Troubleshooting Tips
|
## General Troubleshooting Tips
|
||||||
|
|
||||||
- For API errors, clicking the "API Error Information" button in the widget will usually show some helpful information as to whether the issue is reaching the service host, an authentication issue, etc.
|
- For API errors, clicking the "API Error Information" button in the widget will usually show some helpful information as to whether the issue is reaching the service host, an authentication issue, etc.
|
||||||
|
@ -225,8 +225,6 @@ theme:
|
|||||||
|
|
||||||
extra_css:
|
extra_css:
|
||||||
- "stylesheets/extra.css"
|
- "stylesheets/extra.css"
|
||||||
extra_javascript:
|
|
||||||
- "scripts/extra.js"
|
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
version:
|
version:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user