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

clippy.min.js no longer works #10

Open
krasnit opened this issue Sep 27, 2021 · 4 comments
Open

clippy.min.js no longer works #10

krasnit opened this issue Sep 27, 2021 · 4 comments

Comments

@krasnit
Copy link

krasnit commented Sep 27, 2021

There is a link in clippy.min.js to an external agents folder that is no longer active. This makes this js unable to display any agent. The latest link in this js is set to "clippy.BASE_PATH="//s3.amazonaws.com/clippy.js/Agents/", which is dead. To resolve the issue, download the agents folder from Github and edit this clippy.BASE_Path reference to point to the location of that downloaded folder on the local machine, or host it on a reliable external server and point it to there.

@krasnit krasnit changed the title clippy.min .js no longer works clippy.min.js no longer works Sep 27, 2021
@forivall
Copy link

forivall commented May 9, 2022

also, gitcdn.xyz is also down. I'm not sure if it's just temporary, but I think it would be better to bundle the assets inside the package published to npm, and then use unpkg.com like https://unpkg.com/browse/[email protected]/ - (also, the intellij config files should be excluded 😛)

@joeyparis
Copy link

I got this working by setting window.CLIPPY_CDN to https://cdn.jsdelivr.net/gh/pi0/clippyjs/assets/agents/ which links it directly to this github repo's current branch. jsdelivr.net seems to have a better service record than gitcdn.xyz

@djbritt
Copy link

djbritt commented Jan 24, 2023

I fixed it by changing the AWS links to point to the files within this repo.

clippy.js
clippy.BASE_PATH = 'clippy/agents/';

load.js
clippy.BASE_PATH = 'clippy/agents/';

clippy.min.js
clippy.BASE_PATH = "clippy/agents/",

I can now load the agents fine.

1j01 added a commit to 1j01/98 that referenced this issue Feb 20, 2023
I could have also just set clippy.BASE_PATH, but these URLs will
presumably never work again, so might as well, right?
(There's a chance the library would be updated in the future,
and this change could slip through the cracks, that's the only risk.)

pi0/clippyjs#10
@lizozom
Copy link

lizozom commented Mar 6, 2023

I created a fresh version of Clippy with a modern stack here.
It uses typescript, rollupjs 2.x, no JQUERY, and lazy loading modules (no cdn).
Hope it helps!

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

5 participants