From 1ff3859b66457252966a55c11b50f46b414d5c94 Mon Sep 17 00:00:00 2001 From: Ivan Yurchenko Date: Sat, 14 Dec 2024 14:18:27 +0200 Subject: [PATCH] Release 0.3.0 --- Makefile | 12 ++++++++---- README.md | 4 ++-- manifest-firefox.json | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c508f43..cd1414c 100644 --- a/Makefile +++ b/Makefile @@ -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: @@ -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 @@ -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 diff --git a/README.md b/README.md index b4f6d69..a30d5f9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/manifest-firefox.json b/manifest-firefox.json index ff493db..ea7a0b2 100644 --- a/manifest-firefox.json +++ b/manifest-firefox.json @@ -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",