Skip to content

Add xkcd extension - #69

Merged
mattisssa merged 3 commits into
raycast:mainfrom
maggie-j-liu:xkcd
Oct 19, 2021
Merged

mattisssa merged 3 commits into
raycast:mainfrom
maggie-j-liu:xkcd

Conversation

@maggie-j-liu

Copy link
Copy Markdown
Contributor

Description

Adds a new extension to browse the xkcd comics and keep track of the ones you've read.

Type of change

  • New extension

Screencast

raycast-xkcd.mov

Checklist

@PitNikola PitNikola added the new extension Label for PRs with new extensions label Oct 17, 2021

@mattisssa mattisssa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting one! Stuck for a while reading some comics during the review 😄.

Everything seems to be good. A few things to fix before publishing:

In your Detail screen, you are using actions without icons. Either all actions should have icons or none. You can use built-in icons here or custom ones. Let us know if you need some help with that.

CleanShot 2021-10-19 at 14 26 22@2x

Comment thread extensions/xkcd/package.json Resolved
Comment thread extensions/xkcd/package.json Resolved
Comment thread extensions/xkcd/package.json Resolved

@mattisssa mattisssa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fixes 👍

@mattisssa
mattisssa merged commit ba8ef86 into raycast:main Oct 19, 2021
FezVrasta pushed a commit to FezVrasta/extensions that referenced this pull request Nov 24, 2021
* add xkcd extension

* add open random unread to action panel

* make requested changes
@maggie-j-liu
maggie-j-liu deleted the xkcd branch March 27, 2022 22:00
raycastbot added a commit that referenced this pull request Jul 9, 2025
* Update easydict extension

- docs: update changelog (#72)
- chore: add maxchang3 as a contributor (#71)
- Update dependencies and add DeepLX support (#70)
- chore(deps): bump axios from 1.7.4 to 1.8.2 (#69)
- feat: support gemini translate (#68)
- docs: update changelog
- feat: replace api key textfield with password
- fix: set bing retry count to 3, avoid too much retry request
- fix: remove old Youdao translate API
- fix: improve error handling
- fix: do not encode text for Youdao translate
- chore: npm audit fix
- fix: use new Youdao webTranslate API
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#67)
- docs: update changelog
- Revert "chore: add two issue templates"
- Revert "chore: enable to open new issues"
- fix: bing host is incorrect if check ip failed
- docs: update changelog
- docs: update changelog
- feat: support AR language for DeepL
- docs: update changelog
- perf: set gpt-4o-mini as default OpenAI model
- chore: update star notification action
- chore(deps): bump axios from 1.6.0 to 1.7.4 (#64)
- chore: update star notification action
- refactor: remove support for Youdao API translate
- fix: openai API URL is null will cause crash
- fix: ignore first inputChange event, fix for #62 (#63)
- Update follower-change-notification.yml
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#60)
- chore: add two issue templates
- chore: enable to open new issues
- perf: use Authorization DeepL-Auth-Key instead of auth_key
- perf: improve prompt, add few-shot
- perf: improve OpenAI prompt
- perf: remove unused OpenAI function
- feat: add custom DeepL endpoint, remove wild DeepL keys (#54)
- Merge pull request #55 from HernandoR/fear-api-update
- feat: update raycast api 1.62->1.68
- Merge pull request #53 from izualx/main
- Update README.md
- Merge pull request #52 from tisfeng/dependabot/npm_and_yarn/follow-redirects-1.15.6
- chore(deps): bump follow-redirects from 1.15.5 to 1.15.6
- perf: revert to openAIAPIURL, avoid breaking user config
- Merge pull request #51 from rookiezn/support-openai-http-url
- perf: able to set custom OpenAI model
- fix: support http protocol for custom OpenAI api url
- Merge pull request #50 from tisfeng/dependabot/npm_and_yarn/follow-redirects-1.15.5
- chore(deps): bump follow-redirects from 1.15.1 to 1.15.5
- chore: add @typescript-eslint/eslint-plugin@latest --save-dev
- docs: update changelog
- perf: update release note
- Merge branch \'aidevjoe-main\'
- perf: show error toast if serive has no api key
- perf: remove default API keys
- perf: remove Apple language detect
- feat: add enable Baidu language detect option
- chore: migrate 1.50.0
- chore: migrate 1.48.8, update .eslintrc.json
- chore: npx @raycast/migration@latest
- perf: add Baidu as default detection
- perf: add Dutch and Ukrainian for Apple Translate
- Merge pull request #49 from tisfeng/dependabot/npm_and_yarn/axios-1.6.0
- chore(deps): bump axios from 1.3.4 to 1.6.0
- Merge pull request #48 from tisfeng/dependabot/npm_and_yarn/find-exec-and-play-sound-1.0.3
- chore(deps): bump find-exec and play-sound
- Merge pull request #47 from tisfeng/dependabot/npm_and_yarn/crypto-js-4.2.0
- chore(deps): bump crypto-js from 4.1.1 to 4.2.0
- chore: update follower-change-notification
- chore: update star-fork-notification
- chore: update star-fork-notification
- docs: update README
- Merge pull request #46 from liyaodong/main
- feat: allow to customize OpenAI API URL
- fix: rename issue template
- fix: rename issue template
- chore: update issue templates, remove others template
- chore: update issue templates, remove bug and feature template
- perf: if only enabled one detect service, use it directly
- chore: update issue templates
- perf: remove redundant swift file
- fix: remove redundant Package.swift
- perf: add Package.swift
- fix: use executable file instead of swift source file
- docs: update changelog
- docs: update README and changelog
- perf: add test AES link
- docs: update changelog
- docs: update README
- Merge pull request #41 from aidevjoe/main
- perf: use execa to run swift directly
- perf: add more recognitionLanguages in Swift
- chore: upgrade yaml, npm audit fix
- perf: improve code
- fix: improve OCR Translate
- feat: add OCR recognition
- Merge pull request #40 from hezhizhen/typo
- chore: add spell checker to CI and fix existing typos
- docs: update changelog
- fix: openai cannot work if no agent, so get agent first
- fix: openAI translation may miss first char
- perf: remove default Volcano app key
- docs: update changelog
- Merge pull request #37 from ZhenpengWu/main
- fix: check if OpenAI service is enabled in preference before calling OpenAI API
- docs: update changelog
- chore: update issue templates
- docs: update README
- perf: turn off some translation services by default
- perf: stop loading when OpenAI error
- perf: improve prompt
- perf: disable OpenAI by default
- perf: improve translat prompt
- fix: handle OpenAI error ECONNREFUSED
- docs: update README
- docs: update README
- perf: improve language detect, disable Apple detect
- perf: improve prompt
- perf: improve chat quote handling
- perf: try to remove stream quotes
- perf: improve chat prompt
- perf: improve response error toast
- perf: remove default Caiyun token
- perf: show up to 6 exam tags
- fix: volcano interface property name is wrong
- perf: remove loading toast
- docs: update README
- docs: update README
- docs: update package.json
- fix: rename file
- docs: update release screenshot
- docs: update release screenshot
- docs: update release note
- perf: add searching and finished ✅ emoji
- perf: improve OpenAI error toast
- perf: improve detect language speed
- perf: use proxy for OpenAI by default, remove quote
- feat: support getting OpenAI result by stream
- perf: add DeepL support for Korean and Norwegian
- feat: add support for OpenAI translate
- perf: update axios to 1.3.4
- perf: update Node version to 18.10, update dependencies, update google-translate-api to 9.1
- docs: update README
- perf: add support for fallbackText
- docs: update changelog
- fix: youdao web dict meta may be nil
- perf: remove log
- perf: use user input text instead of selected text when using Fallback Command
- docs: update README
- docs: update README
- docs: update README
- chore: update workflows
- docs: update release note
- chore: update workflows
- chore: update workflows
- fix: get bing web translate token failed
- docs: update release note
- perf: try to get system proxy from env first
- fix: baidu Burmese language code is wrong
- docs: update README
- docs: update README
- docs: update README
- docs: update README
- perf: add disabled console.log flag
- fix: disable console.log in production env
- docs: update README image
- chore: update repo icon
- Revert "chore: improve multiple string"
- chore: improve multiple string
- Revert "chore: improve multiple string"
- chore: improve multiple string
- chore: use <p> instead of <br>
- chore: update workflows
- chore: update workflows
- chore: fix workflows
- chore: fix workflows
- chore: revert
- chore: fix multiple line string error
- Revert "chore: fix multiple line string error"
- chore: fix multiple line string error
- chore(workflows): improve star-fork-notification
- chore(workflows): improve star-fork-notification
- chore(workflows): star-fork-notification
- docs: update changelog
- docs: update metadata
- perf(UI): improve list accessory tag color
- fix: searchText is empty when acivated from arguments
- docs: update Eudic icon
- perf(UI): use list tag accessory to show exam type
- chore: update raycast/api to 1.45.0
- perf(UI): update Eudic icon
- chore: update @types/react to 18.0.25
- chore: update @raycast/api to 1.43
- docs: update changelog
- docs: update release note
- perf: improve release note info
- fix: auto get a new deepL key if quota exceeded
- chore: add Icon for file
- chore: change npm registry to https, npm update some  package
- chore: fix commintlint error
- fix: update French say voice
- docs: update README
- chore: update @raycast/api and @types/react
- docs: update changelog
- fix: arguments no longer empty but its properties empty cause crash
- docs: update changelog and release note
- fix: action list key error
- docs: update README
- docs: update README
- refactor: improve show query webItem action
- docs: update metadata
- docs: update changelog
- docs: update changelog and release note
- perf: improve language detect, mark two identical language as prior
- feat: add support for new 25 languages including Ukrainian, total support for 48 languages
- perf: improve getting Youdao web cookie
- perf: change delay get system proxy time to 3000ms
- feat: support arguments for Easydict
- feat: add open web query in detail page
- docs: update README
- perf: improve translating multi-line text show details markdown
- perf: improve remove self html tag function
- feat: add a `Copy Text` action on show more details page
- docs: update package.json
- perf: change to show `Open in Eudic` first if Eudic is installed by default
- fix: unexpected proxy error, use hpagent instead of https-proxy-agent
- chore: update agent-base to 6.0.2
- style: improve code
- docs: update README
- docs: add use with PopClip
- perf: change to keep two phonetic if word has
- docs: update changelog and release note
- perf: handle no cat and no def case, eg 艾
- perf: improve modern Chinese dict subsense and no cat case
- perf: improve modern Chinese dict dot color
- perf: improve modern Chinese dict markdown, handle subsense
- perf: improve modern Chinese dict details markdown
- perf: improve Youdao Chinese phonetic
- perf: change to always display show more details
- perf: add show Copy Text first option, add shortcut for web query action
- perf: improve modern Chinese dict detail markdown
- feat(UI): add Youdao modern Chinese dict
- fix: linguee unfeatured show more details incorrectly
- feat: use proxy in Linguee by default
- fix: youdao web dictionary guess language may be incorrect
- perf: cancel delayed proxy query if input is cleared
- perf: improve playing word audio, change to use speechUrl first
- fix: improve ts array type
- perf: improve show more details
- perf: improve word phonetic display
- fix: youdao dict miss some word phonetic, eg. record
- docs: change google.cn to google.com
- docs: update README
- docs: update README
- docs: update README
- docs: update changelog
- docs: update package.json
- perf: improve language detect
- perf: improve handling detect API list, remove Google detect
- chore: try to fix greetings.yml
- chore: update greetings.yml
- perf: when enable system proxy, do not delay Google request
- perf: change delay query proxy time to 600ms
- perf: improve getting system proxy agent
- perf: delay query Google and DeepL with proxy
- fix: get system proxy cause slowdown
- fix: json.stringfy httpsAgent and parse can cause error
- perf: change to use Google tld com and proxy by default
- perf: turn on Volcano translate by default
- docs: update README and changelog
- docs: update metadata
- perf: improve Linguee Wikipedia type display
- perf: change to use Volcano https
- perf: improve translation detail display
- perf: improve Linguee check text is word
- fix: linguee wikipedia cannot show more detail
- perf: improve show more detail markdown
- style: rename appleDetectLangChineseName
- perf: add default Volcano access key
- chore: update @raycast/api to 1.40.0
- docs: update package.json
- docs: update README
- docs: add github issue template
- perf: use file-type to check wav audio file
- docs: update README
- chore: update github greetings
- perf: use execa instead of exec
- perf: if downloaded file is wav formate, try covert to m4a
- perf: return is Chinese IP if check IP API throw error
- perf: only use enabled detect API, except Google and Bing
- perf: improve language detect
- fix: volcano detection return youdaoLangCode is wrong
- perf: change to use lowercase word Youdao web audio
- docs: update README
- perf: improve language function names
- perf: use Samantha instead of Alex as English say command
- feat: add show Volcano web translate top  action
- feat: add Volcano language detect
- feat(UI): add Volcano translate display
- refactor: improve Volcano generate sign API
- fix: set defaultMaxListeners to 15
- Merge branch \'baidu-translate\'
- feat: test Volcano translate API
- perf: improve show more detail markdown
- feat: add shortcut for showing more detail
- perf: set Youdao Baike text language to Chinese
- perf: improve Chinese and English language code usage
- feat: add show detail action
- perf: show Youdao dict when has baike or wikipedia
- docs: update release note
- perf: rename LanguageItem language code
- perf: turn off DeepL and Baidu translate by default
- perf: change axios timeout to 15s
- docs: update README extension icon
- docs: update README
- Merge pull request #19 from Jax0rz/main
- Update play audio icon
- 规范图标大小和风格
- Update extension icon with a better look and style with Raycast standard.
- fix: get Youdao web cookie may fail, casue crash
- perf: change axios default timeout from 15s to 10s
- perf: improve language detect
- docs: update README
- docs: update README
- docs: update README
- docs: update README
- perf: improve Youdao dictionary show empty entry condition
- perf: change Apple translate delay time to 1.0s
- docs: update package.json
- docs: update README and changelog
- perf: add token for getting ip info
- fix: when switch proxy, bing translate may encounter error
- docs: update README and changelog
- fix: when deepL get error code 456, return incorrect promise
- fix: hide Youdao translate when use it as dictionary translation
- perf: change default perferred languages
- perf: stop Apple detection temporarily
- chore: upgrade @raycast/api to 1.39.2
- fix: apple translate Chinese-Traditional error
- perf: improve langauge detection accuracy when disable speed first
- docs: update README
- feat: add enable Bing translate preference option
- feat: add Bing language detection
- feat(UI): add Bing translate section
- perf: improve to get bing config when fails
- perf: change bing token expiration from 10 to 5 min
- docs: update package.json
- perf: improve if eles condition in setup()
- perf: if bing translate result is empty, check ip and tld, then request again
- perf: google tld use preferred language check first
- perf: if enabled proxy, wait for getting system proxy and get selected text before request
- refactor: improve get and update ip info, improve bing tld
- perf: improve language detect last fail handing
- feat: add bing web translate API
- perf: add isChina to queryWordInfo
- fix: detect language resovle undefined incrorrect condition
- fix: enabled Youdao translate but not star requesting
- fix: stop Apple translate if has cleared query
- perf: improve word audio, use Youdao web audio first
- perf: improve language detect
- perf: separate Youdao dictionary and translation request
- perf: improve playing audio
- perf: improve Youdao web translate cookie
- perf: improve download word audio, use Youdao type=2 from JSON
- perf: delay auto playing word audio, avoid blocking UI
- style: improve code
- perf: improve language detect
- perf: improve abort Apple script timeout
- fix: enable Youdao API translation
- perf: improve Apple scripts
- refactor: improve language detect, remove local detect timer
- perf: improve run execa apple script
- refactor: use execa improve exec apple scripte
- fix: show error toast may crash
- refactor: improve detect language function, use Promise instead of callback
- feat: add preferences language detection speed first option
- perf: improve language detection
- perf: improve Baidu language detect
- perf: improve Tencent language detect
- perf: improve axios config
- perf: improve extension startup response speed, -0.5s
- perf: improve language detection
- perf: do not use Apple language detect, when preferred languages contain English
- feat: add web Baidu language detect API
- docs: update changelog
- docs: update README and changelog
- fix: linguee auto play word audio
- perf: improve detect three identical valid language
- perf: improve query word info phonetic display
- feat: add Linguee phonetic and exam types
- refactor: improve md5 function
- fix: youdao web translate may return html error
- perf: improve wikipedia dot color
- feat: test Baidu web translate API
- docs: update changelog
- feat: only English word can automatically play audio
- refactor: improve list display type judgement
- feat: add Youdao dict wikipedia digest type
- perf: improve Youdao word audio, change to use type=0
- feat: add Youdao dictionary baike type
- perf: default turn on auto play audio
- fix: change json file format
- docs: update changelog
- perf: do not show error toast when finish or cancel exec command
- perf: return reject(undefined) when cancel request
- perf: if exec already finished, do not kill and throw error
- fix: handle Tencent translate unsupported language error
- perf: kill process if exec shortcut timeout
- docs: update changelog
- perf: move `Open In Eudic` to first action
- fix: youdao web translate may have multiple results
- perf: improve translation from-to section title display
- docs: update Youdao dictionary demo json
- perf: use Youdao dictionary as first sort order
- docs: update README
- docs: update package.json and README
- feat: enable sort dictionary and translation order
- perf: improve api detect language, three api mark as true
- perf: do not request Youdao translate when has enabled Youdao dictionary
- perf: only show Youdao dictionary when has Details section
- refactor: improve check dictionary or translation query type
- perf: check Youdao web translate from-to language
- perf: improve format check if Youdao dictionary has entries
- perf: only query text is word enable play audio automatically
- fix: show Youdao web translation only key is the same
- fix: add check Youdao Chinese --> English isWord
- perf: improve Youdao dictionary explanation display
- fix: filter explanation empty string text display
- perf: improve update Linguee translation
- feat: use Youdao translation result as Youdao dictionary translation
- perf: improve query Youdao dictionary function
- perf: improve request type error toast
- fix: youdao Chinese --> English explanation show incorrectly
- perf: improve format Youdao web dict model
- style: improve code
- perf: improve Youdao dict forms display
- perf: improve one line translation display
- feat: use Youdao dictionary Get api ✨
- fix: handle Youdao web dict invalid result: const
- fix: youdao translation one line break display
- perf: improve Youdao dictionary translation display
- fix: youdao web-translation may be undefined
- perf: change Youdao translation from array to string
- feat: add Youdao Chinese -> English dictionary
- feat: add new Youdao web dictionary api
- feat: use new Youdao web translate
- chore: update github star workflow
- chore: update github star workflow
- feat: test Youdao web translate api
- chore: update @raycast api to ^1.39.0
- perf: change lib to es2021
- perf: improve check text is word
- perf: update check is word for playing word audio
- perf: check queryWordInfo is a word
- perf: add Youdao translated text too long toast handling
- fix: set max trim text length to 1830, for Google web translate
- perf: remove default Youdao appId and appKey
- docs: update README
- docs: update README
- docs: update README
- docs: update README
- perf: only query Youdao dictionary when query text is word
- perf: do not request Linguee if query text is not word
- feat: add Youdao ai demo api
- docs: update README
- docs: update README
- docs: update release note, style code
- perf: only two api detect idential language, and it is preferred, use it
- perf: if Baidu detect language is confirmed and perferred, use it
- perf: update release note web url
- docs: update README
- fix: new version release prompt flicker when changing list focus
- docs: update README and preference
- docs: update release note
- docs: update README
- docs: update README
- d