Yacy-it - A Firefox Plugin to use YaCy as a personal bookmarking tool

I recently came across YaCy on a HackerNews post discussing bookmarking tools. I was blown away by the functionality and the simplicity of the tool as a personalized search engine. However, there is a bit of friction in using it as quick bookmarking tool, so I created a Firefox Plugin that can add the current tab to the search index when YaCy is running on localhost:8090.

Full post: Personal Bookmarking using YACY & yacy-it – Arunmozhi

The quick and dirty first version: Release Version 1.0 · tecoholic/yacy-it · GitHub

I hope someone find this useful. :slight_smile:

4 Likes

I have added a simple UI and published the Addon to the Firefox addon portal. It can be installed from YACY it – Get this Extension for 🦊 Firefox (en-US)

However, you might see errors when adding links to the index. This is because of the lack of CORS headers in the API responses from the YaCy server. In order to fix that, add the following lines in you yacy/defaults/web.xml file after the <description> block

  <filter>
   <filter-name>cross-origin</filter-name>
   <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
   <init-param>
       <param-name>allowedOrigins</param-name>
       <param-value>*</param-value>
   </init-param>
   <init-param>
       <param-name>allowedMethods</param-name>
       <param-value>*</param-value>
   </init-param>
   <init-param>
       <param-name>allowedHeaders</param-name>
       <param-value>*</param-value>
   </init-param>
 </filter>
 <filter-mapping>
     <filter-name>cross-origin</filter-name>
     <url-pattern>/*</url-pattern>
 </filter-mapping>

Once you have added this you can restart yacy, the errors should disappear in the plugin when you add links.

1 Like