Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanyu committed Dec 14, 2024
1 parent 92c2945 commit 1ff3859
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CHROME_ARTIFACT_DIR=web-ext-artifacts-chrome
FIREFOX_ARTIFACT_DIR=web-ext-artifacts-firefox

.PHONY: clean
clean:
rm -rf dist-firefox dist-chrome web-ext-artifacts-firefox web-ext-artifacts-chrome
rm -rf dist-firefox dist-chrome $(CHROME_ARTIFACT_DIR) $(FIREFOX_ARTIFACT_DIR)

.PHONY: dev-prepare
dev-prepare:
Expand All @@ -20,7 +23,8 @@ dist-firefox:

.PHONY: build-firefox
build-firefox: dist-firefox
npx web-ext build --source-dir dist-firefox --artifacts-dir web-ext-artifacts-firefox --overwrite-dest
npx web-ext build --source-dir dist-firefox --artifacts-dir $(FIREFOX_ARTIFACT_DIR) --overwrite-dest
cd $(FIREFOX_ARTIFACT_DIR) && for f in *.zip; do mv "$$f" "$$(echo $$f | sed 's/\.zip/-firefox.zip/')" ; done


dist-chrome: dist-firefox
Expand All @@ -30,8 +34,8 @@ dist-chrome: dist-firefox

.PHONY: build-chrome
build-chrome: dist-chrome
npx web-ext build --source-dir dist-chrome --artifacts-dir web-ext-artifacts-chrome --overwrite-dest

npx web-ext build --source-dir dist-chrome --artifacts-dir $(CHROME_ARTIFACT_DIR) --overwrite-dest
cd $(CHROME_ARTIFACT_DIR) && for f in *.zip; do mv "$$f" "$$(echo $$f | sed 's/\.zip/-chrome.zip/')" ; done

.PHONY: build
build: build-firefox build-chrome
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hacker News TL;DR

A bring-your-own-key browser extension for summarizing Hacker News articles with OpenAI and Anthropic LLMs.
A bring-your-own-key browser extension for summarizing Hacker News articles with OpenAI, Anthropic, and Ollama LLMs.

The extension will add the summarize buttons to the HN front page and article pages. Just provide your Anthropic or OpenAI API key and you're good to go.
The extension will add the summarize buttons to the HN front page and article pages. Just provide your Anthropic or OpenAI API key or Ollama URL and you're good to go.

🔒️ Security note: The API keys are stored in your browser's storage and synced across devices if the browser is configured to do so.
They are sent by the extension to the LLM providers only.
Expand Down
4 changes: 2 additions & 2 deletions manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "Hacker News TL;DR",
"version": "0.2.0",
"description": "A bring-your-own-key extension for summarizing Hacker News articles with OpenAI and Anthropic LLMs.",
"version": "0.3.0",
"description": "A bring-your-own-key extension for summarizing Hacker News articles with OpenAI, Anthropic, and Ollama LLMs.",
"icons": {
"16": "icon16.png",
"32": "icon32.png",
Expand Down

0 comments on commit 1ff3859

Please sign in to comment.