HackerTrans
TopNewTrendsCommentsPastAskShowJobs

manibatra

no profile record

Submissions

Show HN: TapTab – Tab switching web extension for Safari

taptab.dev
45 points·by manibatra·4 anni fa·20 comments

Show HN: I am building a Safari Web Extension to switch tabs efficiently

taptab.manibatra.xyz
30 points·by manibatra·4 anni fa·36 comments

comments

manibatra
·2 anni fa·discuss
Love what you are doing but "never" is just not true. Used Suno to create a song about our daughter the other day which had wife and I in tears.

We are already at a stage where AI is touching hearts.
manibatra
·3 anni fa·discuss
Would love some docs on migrating from Customer.io. Looks really cool. Congrats on the launch!
manibatra
·3 anni fa·discuss
I started really small with my homelab:

  - Got a couple of Raspberry Pi's and connected them to wifi.
  - Installed https://k3s.io/ on them. One master node and one agent/worker.
  - Started adding workloads
  - Now I have PiHole, Tailscale, Promtheus, Grafana, Mimir, Homebridge, a custom Go app that I use to create a bunch of metrics, eg. from my solar power system, etc. 
  - Also added another agent/worker over time.
So start small and easy then go as fancy as you want depending on what you learn/play with.
manibatra
·3 anni fa·discuss
You can use the Wikipedia embedding's released by Cohere to build something pretty easily : https://huggingface.co/Cohere.

If you want a completely offline version you'd be running one of the open source LLMs locally. Otherwise put the embeddings in a VectorDB, query it for the context and send it to one of the completion APIs available (OpenAI, etc)
manibatra
·3 anni fa·discuss
You can only have one index in a pod but you can have multiple namespaces in an index and a vector search is constrained to one namespace at a time : https://docs.pinecone.io/docs/namespaces
manibatra
·3 anni fa·discuss
Depends on the complexity of the requirements. I have built a couple:

- https://crimson-glade-1527.section.app/ : to talk to www.section.io docs. I used straight up python and Gradio. The chatbot doesn't have memory. Just use a CSV for embeddings. Has limited functionality but does it's job well. https://github.com/manibatra/sectiongpt - consider this toy code which was hacked together in a few hours.

- Also building https://www.everbility.com : Using Langchain, Pinecone. I often found Langchain to be a bit of an overkill with it's so many abstractions if your use case is just sending one off prompts. It is powerful though for document ingestion and Agents (which is something I plan to use it more for). When using Langchain you will often have to debug a bunch of edge cases which is understandable since

A random hack I found for improving the quality of answers by a big factor was creating embeddings for entire documents and also sections of document. Resulted in search on the vector space being very accurate for big picture and granular questions.
manibatra
·4 anni fa·discuss
I have a 3 node (Raspberry Pis) k3s cluster with the following :

- Pi-Hole : https://github.com/manibatra/kube-pihole (might be a little rough around the edges, I have to push a few updates)

- Homebridge

- A custom Golang app to poll metrics from my Solar setup and export them as Prometheus metrics

- Prometheus

- Grafana Mimir for long term metrics storage to S3

- Tailscale on all the nodes and all my machines so that I can access my homelab and Pi-Hole when I am on the move.

Bunch more things to add but it's a start!
manibatra
·4 anni fa·discuss
I wish Apple developed this more and made it completely driven by shortcuts.
manibatra
·4 anni fa·discuss
Is that the inertial scrolling in the extension? I agree the scrolling could be smoother and is on my list to fix. I don't use scrolling much as I rely on fuzzy search hence it's not made the top of the list. Thanks a bunch for the feedback. Appreciate it!
manibatra
·4 anni fa·discuss
Yup the cmd+shift+a in Chrome was something I wanted in Safari and was the inspiration behind this.
manibatra
·4 anni fa·discuss
It does but I needed something a little more focussed and featured. Safari surfaces a lot of information from Google suggestions to bookmarks. My brain really wants the focus to be just tabs. I like the idea of visually seeing a list. And on top of that really focussing the keyboard shortcuts.Also

- I can't switch between two tabs really fast. My workflow often involves alternating between two tabs.

- I can't quit, pin, mute a bunch of tabs using the Tab Overview with just keyboard shortcuts.
manibatra
·4 anni fa·discuss
Yup I used to use this all the time. Tedious when you have a bunch of tabs open but useful nonetheless.

And thanks! I am glad you find it interesting!
manibatra
·4 anni fa·discuss
Did not know that! Handy
manibatra
·4 anni fa·discuss
Nope I couldn’t go more granular with the permissions!

I would have loved to. I would like the Web extension API to be less locked down with more fine grained permissions.

I can and will put more details into the privacy policy after the Christmas celebrations!
manibatra
·4 anni fa·discuss
Yea it’s definitely a long way to go but I am hopeful with recent changes that they are trending in the right direction.

Appreciate it! I wish I could make more extensions but the API is locked down!
manibatra
·4 anni fa·discuss
Thanks a bunch! I am glad you like it!
manibatra
·4 anni fa·discuss
It does but I needed something a little more focussed and featured. Safari surfaces a lot of information from Google suggestions to bookmarks. My brain really wants the focus to be just tabs. I like the idea of visually seeing a list. And on top of that really focussing the keyboard shortcuts. Plus switching back and forth between two tabs. Thanks!
manibatra
·4 anni fa·discuss
Tell me more about it please!
manibatra
·4 anni fa·discuss
Yup! I find Safari keyboard shortcut choices not the best.
manibatra
·4 anni fa·discuss
Plus one on Safari not being tied to the system. I would love a more regular cadence of updates. Yup Safari is pretty fast but I do fall back to Brave for my work. I still hope that Safari will open up their Web Extensions API more, they are moving in that direction, so that I can use Safari everywhere!