..and again

This commit is contained in:
johnd0e
2025-07-12 22:14:06 +02:00
parent 579dd29fab
commit 9f1cc9465d
2 changed files with 21 additions and 28 deletions

View File

@@ -1,48 +1,41 @@
## Why
> [!TIP]
> [GitHub Copilot](https://docs.github.com/en/copilot/quickstart) is free to use for
> <strong>verified</strong> [students], [teachers], and [maintainers] of <strong>popular</strong> open source projects.
<details>
> [GitHub Copilot Pro] is <strong>[free]</strong> to use for <strong>verified</strong> students, teachers,
> and maintainers of <strong>popular</strong> open source projects.
- Students and teachers: visit [Benefits for everyone at school](https://education.github.com/benefits)
- Maintainers: check https://github.com/github-copilot/free_signup
If you are not eligible, it indicates that your project needs more stars.
</details>
Other options include limited experience of Copilot without a paid plan, or individual Copilot plan.
Even if you don't meet the eligibility criteria, the paid subscription
([_Individual_](https://docs.github.com/en/copilot/copilot-individual/about-github-copilot-individual))
is more affordable than [OpenAI's offering](https://chat.openai.com/#pricing).
It costs only $10 and still provides access to the latest generative models from
[OpenAI](https://openai.com/news/), [Anthropic](https://www.anthropic.com/) and [Google](https://ai.google/get-started/our-models/).
[GitHub Copilot Pro]: https://docs.github.com/en/copilot/concepts/copilot-billing/about-individual-copilot-plans-and-benefits#github-copilot-pro
[free]: https://docs.github.com/en/copilot/how-tos/manage-your-account/getting-free-access-to-copilot-pro-as-a-student-teacher-or-maintainer
> [!NOTE]
> If the above options are not suitable for you - consider trying completely
> free alternative: [openai-gemini](https://github.com/PublicAffairs/openai-gemini).
[students]: https://github.com/pricing#i-am-a-student-can-i-get-access-to-github-copilot-for-free
[teachers]: https://github.com/pricing#i-am-a-teacher-can-i-get-access-to-github-copilot-for-free
[maintainers]: https://github.com/pricing#i-work-on-open-source-projects-can-i-get-access-to-github-copilot-for-free
## What
GitHub Copilot chat is exclusively available through selected IDEs.
[GitHub Copilot] provides access to the latest generative models from [OpenAI], [Anthropic] and [Google].
Is is available through selected [IDEs].
The `openai-github-copilot` project enables its use across a broader range of tools.
It provides a general OpenAI-compatible API that can be deployed at no cost.
(However, a GitHub Copilot subscription is still required.)
[GitHub Copilot]: https://docs.github.com/en/copilot/get-started/what-is-github-copilot
[OpenAI]: https://openai.com/news/product-releases/
[Anthropic]: https://www.anthropic.com/
[Google]: https://deepmind.google/models/gemini/
[IDEs]: https://docs.github.com/en/copilot/how-tos/completions/getting-code-suggestions-in-your-ide-with-github-copilot
## Serverless?
Although it runs in the cloud, it does not require server maintenance.
It can be easily deployed to Cloudflare for free
(with generous [limits](https://developers.cloudflare.com/workers/platform/limits/#worker-limits)
suitable for personal use).
It can be easily deployed to Cloudflare for free (with generous [limits] suitable for personal use).
> [!TIP]
> Running the proxy endpoint locally is also an option,
> though it's more appropriate for development use.
> Running the proxy endpoint locally is also an option!
[limits]: https://developers.cloudflare.com/workers/platform/limits/#worker-limits
## How to start

View File

@@ -58,9 +58,9 @@ const handleOPTIONS = async () => {
});
};
const chatVersion = "0.26.5";
const vscodeVersion = "1.99.3";
const apiVersion = "2023-07-07";
const chatVersion = "0.29.0";
const vscodeVersion = "1.102.0";
const apiVersion = "2025-04-01";
const getToken = async (authKey) => {
if (authKey.startsWith("sk-")) { // dumb attempt to hide real auth key from malicious web services
const decoded = atob(authKey.substring(3));