cynber

joined 2 years ago
MODERATOR OF
[–] cynber@lemmy.ca 2 points 2 years ago (2 children)

I need to set up a proper roadmap, the closest I have right now is https://github.com/cynber/lemmy-instance-assistant/wiki

RES for Lemmy would probably be an end goal, and at this point I'm not sticking to any particular area. It's more that I'm working on the things that I figured out how to do since I'm learning lots as I go. For example, multi-account switcher is a commonly requested feature from RES and something I'd really like to use myself, but I'd need someone with more experience to check my code to make sure I'm not leaking account details anywhere.

Having default sorts should be possible, and a simple way might be to just check the URL. So if on a lemmy site & on home page, it would check if "dataType"=Post and if "sort"="TopDay", and if not it will swap the URL. I'll see if it works in practice and maybe push it in the next update :)

[–] cynber@lemmy.ca 1 points 2 years ago* (last edited 2 years ago) (1 children)

I'll see if I can roll this into a future update for !instance_assistant@lemmy.ca . I wanted to try and get a "post to Lemmy" button working, and this is a part of that. Looks like the reddit one was done using a Reddit API, and while the Lemmy ones are different it shouldn't be too bad.

UPDATE: I'm able to search for links within the body of posts, but haven't figured out why it doesn't search the links yet. I'll look into it later

The only limitation might be that the search is limited to a particular instance. Since there is an unlimited number of instances, I don't think there's an easy way to search them all without some external service doing some caching of some kind. We could have it search a bunch of different instances, but I want to minimize unnecessary / spammy requests.

@Bucky@816am.ddns.net, is it important for the extension icon to display the number, or did you usually run a manual search?****

[–] cynber@lemmy.ca 3 points 2 years ago

Last post about this I promise. I've tried to stagger the posts this time so it doesn't flood your feed

[–] cynber@lemmy.ca 3 points 2 years ago

Relevant bit from the post, we will now also be prepping for the Firefox Mobile app, now that they are opening mobile up to all extensions!

This may need some reworking to make it easier to use on mobile. If you have any thoughts, or would like to participate in the preview/dev releases, let me know here or elsewhere :)

[–] cynber@lemmy.ca 2 points 2 years ago

Hope it helps :)

[–] cynber@lemmy.ca 5 points 2 years ago

have control of your local network

traffic of a particular kind

Could you give an example of what this looks like? I'm sure I'll have friends sending me similar articles / YouTube videos. Would be nice to have a simple and accurate analogy

[–] cynber@lemmy.ca 11 points 2 years ago

This is something that is probably better if implemented in Lemmy itself. It would be tied to a particular community, and it wouldn't need to cross over between instances.

If someone tried to make a browser extension for it, it would only appear for people using the same browser extension. Some third party apps have it like that, and it's not that helpful.

What's better for a browser extension / app to take on is cross-instance functionality, such as jumping between instances, having buttons / content in the UI, etc. I'm working on an extension for that ( !instance_assistant@lemmy.ca ), and while I really want flairs as well, I don't think it would be good for a browser extension.

Once it's implemented in Lemmy itself, then we could probably make it easier to add/remove/view/filter flairs using a browser extension.

[–] cynber@lemmy.ca 5 points 2 years ago

Ah I must have gotten it confused with the lifetime ultra, which was $100

[–] cynber@lemmy.ca 11 points 2 years ago (9 children)

I tried Sync for a bit, but I agree with the other posters that the pricing model is a little outrageous.

Have you considered adding a donation option through google play? I'm not sure what the process is like, but it might make it easier for people to donate.

[–] cynber@lemmy.ca 10 points 2 years ago (1 children)

I've been using Nova Launcher for years now, but I explored other options a few months ago because of the ownership change. Lawnchair was the best one I found, but I didn't switch to it because it looked like it was missing features I needed. Folders was an important one.

Which version / source are you using for the app? I got a bit lost trying to find a recent version. The last release on the GitHub is from 2018, and the last prerelease is from a year ago. There's also an issue for the folders which I was following, and it actually just went stale: https://github.com/LawnchairLauncher/lawnchair/issues/2471

I also see Lawnchair2, but that looked like a fork or something

[–] cynber@lemmy.ca 1 points 2 years ago* (last edited 2 years ago) (1 children)

This is something we have a workaround on an extension I'm working on. You can right-click on a link and have it open in your home instance

https://lemmy.ca/c/instance_assistant

[–] cynber@lemmy.ca 4 points 2 years ago* (last edited 2 years ago) (1 children)

Hi :)

I'm one of the people working on Instance Assistant, a browser extension for Lemmy and Kbin. It lets you switch instances, improves on the 'community not found page', and has a few other tools that we are currently implementing.

Here are some links:

We don't have a clear description, but one that might work could be "Browser extension with tools for Lemmy/Kbin instances and communities"

 

It looks like some instances logged out all users as a precautionary measure https://lemmy.ca/post/1318583

This wasn't super clear when using the app, and it looked like things weren't loading properly. Having a message like "you have been signed out" on the subscription feed would make this more clear. Right now it just says that I don't have any subscriptions.

 

I just submitted a large update to both Firefox and Chrome web stores. Once it goes through review, you will be able to update to the new version. I'll make more posts to spread the word after that process is done.


So how is this different from other similar extensions?

You may have noticed the extension's name changed to be more generic (and include Kbin 🥳). I'm trying to make this a more well-rounded extension, and that means I've incorporated some features from the other extensions, in my own way.

Lemmy Links, Kbin Links, and the other forks:

This is a great extension that replaces links on your page with versions that go to your home instance. However, in order for this to work, it needs to recursively check every element on your page whenever DOM content (say, the code the browser is reading) changes. This is somewhat resource intensive, and while testing I ran into lag and freezing issues. As such, I decided to not include this functionality in the same way.

Instead, I've added a right click context menu that does the same thing. This way the user can pick which links they want the code to run on, and it's a lot more efficient resource wise. While it's an extra click, I felt this was a reasonable compromise. However I'm open to feedback!

Lemmy Home Instance Helper

This is another extension which checks if you are logged in to an instance, and it creates a button to the search page.

As this extension is creating a button on any foreign instance linking to the community page, the situation where this would be helpful is when a community hasn't been loaded into your home instance yet (ex. because you're the first one to try accessing it). What I've done instead is create a section that appears on such "Community not found" pages with more instructions on how you can start the loading/fetching process, as well as buttons to trigger the search or to open the community elsewhere. Again, open to feedback!


As always, I'd love to collaborate with other people while building this. I'm cleaning up my code, but feel free to look at the GitHub. If this extension is popular, I will definitely need help for translations and for things like getting the extension on Safari (I don't have a recent Apple device to sign the extension with).


Summary of Changes:

  • Added support for Kbin
  • Fixed issue where button wouldn't load when navigating to a community within Lemmy (fix is only on Firefox version for now).
  • (NEW) Right-click context menu on Lemmy/Kbin community links to let you open them directly. You can test them out here: https://lemmy.ca/post/1282303. This is also only on Firefox for now.
  • (NEW) Information and buttons added to "Community Not Found" error pages to let you fetch the community or open it elsewhere.
  • Updates to sidebar button to state the current selected instance and provide more detailed instructions as a dropdownList
  • Refactored the code to remove more unnecessary permissions.
  • Another pile of bugfixes, UI improvements, and better wording for instructions.

Future Plans:

  • Bringing over the new changes to Google Chrome. Since chrome requires Manifest 3, I still need to iron out some issues with the service workers. The missing features are all related to the background processes that are running on the Firefox version.
  • Pushing to other browsers. Microsoft Edge needs some more testing, and I'm looking into other browsers. Unfortunately, I don't have a device that can sign the extension for Safari, so I will need some help to port that over. There are tools available for that, so it shouldn't be too hard :)
  • Setting up a proper Settings page to allow users to turn off features that they don't like
  • Either fixing the options page, or removing it entirely
  • Finishing the setup so that people can contribute translations / other languages to the extension.
  • Adding an option to save your own instances to the popup, for those that have multiple home instances.
1
submitted 2 years ago* (last edited 2 years ago) by cynber@lemmy.ca to c/instance_assistant@lemmy.ca
 

Links that should work

Links that should not work:

Image file that should work:

 

cross-posted from: https://lemmy.ca/post/778315

Introducing the Lemmy Instance Assistant (browser extension)


Hey everyone :)

I started using Lemmy during the blackout, and I was finding it annoying to subscribe to new communities that I came across. I wanted to be able to quickly open a link on my home instance instead of copy/pasting the code, searching for it, and then subscribing. I looked around for an extension and didn’t see any * , so I started working on my first browser extension!

Firefox version is live, the Chrome version is still going through the review/approval stage. I’m working on getting it on other browsers as well.

https://addons.mozilla.org/addon/lemmy-instance-assistant

This extension will let you set your home instance (https://lemmy.ca/ for me), and then it will insert a button onto community pages on other Lemmy instances (see screenshots on extension page). I tried to mimic the existing design for the button, and I included some popular instances so you can quickly copy and paste when selecting your home instance.

Give it a try and let me know what you think!

Why doesn’t it redirect automatically?

Initially I tried to make it redirect, similar to ‘Old Reddit Redirect’. This is still possible, but it might be a little dangerous to have it set up that way. Since there is no way to predict what URL a Lemmy site will have, we can’t restrict the extension to specific domains. This means that the extension MAY run on other sites, depending on how it is detecting the Lemmy site. A button popping up is less harmful than being redirected unexpectedly.

Future plans:

GitHub link: https://github.com/cynber/lemmy-instance-assistant

  • As mentioned above, we can’t specify which domains the extension should run on since that’s not something we can predict. I’d like to improve the specificity of which pages the button will appear on, to minimize unexpected behaviour. As this is my first extension, I’d appreciate help with this while I learn it myself!
  • Right now the button does not appear if you are already viewing a community in a different instance, even if that is not YOUR instance (ex. You are looking at lemmy.world/c/technology@lemmy.ml, while your home instance is lemmy.ca). This limitation comes from the method I used to distinguish between the community page and your home instance page. I’m planning to change it to use the URL itself instead of card elements.
  • It would be nice to be able to jump to a specific post. Currently, it appears that Lemmy post URLs do not include a slug for the community/instance, making it challenging to implement something like this. I plan on exploring this some more (relevant thread: https://github.com/LemmyNet/lemmy/issues/875)
  • I want to add a button next to other Lemmy links in the post body / comments. However, I'm still trying to figure out the best way to do this and which links it should appear next to.

Other thoughts:

Some of the third party Reddit tools that I used the most were the browser extensions. Reddit Enhancement Suite made it a LOT easier to start using Reddit, and other extensions like Old Reddit Redirect (the inspiration for my extension) fixed other annoyances. While there are a lot of areas where Lemmy can improve, I think it makes more sense to implement certain enhancements through browser extensions and separate tools. That is to say, I’m happy to let this be pushed into Lemmy’s code, but right now I feel like it makes more sense as a separate extension.

(*) Also when I started building my extension, I didn’t see any similar ones listed. A few other ones have now popped up, and it looks like a lot of them were forked from this project. So if you don’t like mine, there are others that you can try :) Similarly, I’m happy to collaborate if you want to help / integrate my extension into a bigger project!

 

cross-posted from: https://lemmy.ca/post/778315

Introducing the Lemmy Instance Assistant (browser extension)


Hey everyone :)

I started using Lemmy during the blackout, and I was finding it annoying to subscribe to new communities that I came across. I wanted to be able to quickly open a link on my home instance instead of copy/pasting the code, searching for it, and then subscribing. I looked around for an extension and didn’t see any * , so I started working on my first browser extension!

Firefox version is live, the Chrome version is still going through the review/approval stage. I’m working on getting it on other browsers as well.

https://addons.mozilla.org/addon/lemmy-instance-assistant

This extension will let you set your home instance (https://lemmy.ca for me), and then it will insert a button onto community pages on other Lemmy instances (see screenshots on extension page). I tried to mimic the existing design for the button, and I included some popular instances so you can quickly copy and paste when selecting your home instance.

Give it a try and let me know what you think!

Why doesn’t it redirect automatically?

Initially I tried to make it redirect, similar to ‘Old Reddit Redirect’. This is still possible, but it might be a little dangerous to have it set up that way. Since there is no way to predict what URL a Lemmy site will have, we can’t restrict the extension to specific domains. This means that the extension MAY run on other sites, depending on how it is detecting the Lemmy site. A button popping up is less harmful than being redirected unexpectedly.

Future plans:

GitHub link: https://github.com/cynber/lemmy-instance-assistant

  • As mentioned above, we can’t specify which domains the extension should run on since that’s not something we can predict. I’d like to improve the specificity of which pages the button will appear on, to minimize unexpected behaviour. As this is my first extension, I’d appreciate help with this while I learn it myself!
  • Right now the button does not appear if you are already viewing a community in a different instance, even if that is not YOUR instance (ex. You are looking at lemmy.world/c/technology@lemmy.ml, while your home instance is lemmy.ca). This limitation comes from the method I used to distinguish between the community page and your home instance page. I’m planning to change it to use the URL itself instead of card elements.
  • It would be nice to be able to jump to a specific post. Currently, it appears that Lemmy post URLs do not include a slug for the community/instance, making it challenging to implement something like this. I plan on exploring this some more (relevant thread: https://github.com/LemmyNet/lemmy/issues/875)
  • I want to add a button next to other Lemmy links in the post body / comments. However, I'm still trying to figure out the best way to do this and which links it should appear next to.

Other thoughts:

Some of the third party Reddit tools that I used the most were the browser extensions. Reddit Enhancement Suite made it a LOT easier to start using Reddit, and other extensions like Old Reddit Redirect (the inspiration for my extension) fixed other annoyances. While there are a lot of areas where Lemmy can improve, I think it makes more sense to implement certain enhancements through browser extensions and separate tools. That is to say, I’m happy to let this be pushed into Lemmy’s code, but right now I feel like it makes more sense as a separate extension.

(*) Also when I started building my extension, I didn’t see any similar ones listed. A few other ones have now popped up, and it looks like a lot of them were forked from this project. So if you don’t like mine, there are others that you can try :) Similarly, I’m happy to collaborate if you want to help / integrate my extension into a bigger project!

 

cross-posted from: https://lemmy.ca/post/778315

Introducing the Lemmy Instance Assistant (browser extension)


Hey everyone :)

I started using Lemmy during the blackout, and I was finding it annoying to subscribe to new communities that I came across. I wanted to be able to quickly open a link on my home instance instead of copy/pasting the code, searching for it, and then subscribing. I looked around for an extension and didn’t see any * , so I started working on my first browser extension!

Firefox version is live, the Chrome version is still going through the review/approval stage. I’m working on getting it on other browsers as well.

https://addons.mozilla.org/addon/lemmy-instance-assistant

This extension will let you set your home instance (https://lemmy.ca for me), and then it will insert a button onto community pages on other Lemmy instances (see screenshots on extension page). I tried to mimic the existing design for the button, and I included some popular instances so you can quickly copy and paste when selecting your home instance.

Give it a try and let me know what you think!

Why doesn’t it redirect automatically?

Initially I tried to make it redirect, similar to ‘Old Reddit Redirect’. This is still possible, but it might be a little dangerous to have it set up that way. Since there is no way to predict what URL a Lemmy site will have, we can’t restrict the extension to specific domains. This means that the extension MAY run on other sites, depending on how it is detecting the Lemmy site. A button popping up is less harmful than being redirected unexpectedly.

Future plans:

GitHub link: https://github.com/cynber/lemmy-instance-assistant

  • As mentioned above, we can’t specify which domains the extension should run on since that’s not something we can predict. I’d like to improve the specificity of which pages the button will appear on, to minimize unexpected behaviour. As this is my first extension, I’d appreciate help with this while I learn it myself!
  • Right now the button does not appear if you are already viewing a community in a different instance, even if that is not YOUR instance (ex. You are looking at lemmy.world/c/technology@lemmy.ml, while your home instance is lemmy.ca). This limitation comes from the method I used to distinguish between the community page and your home instance page. I’m planning to change it to use the URL itself instead of card elements.
  • It would be nice to be able to jump to a specific post. Currently, it appears that Lemmy post URLs do not include a slug for the community/instance, making it challenging to implement something like this. I plan on exploring this some more (relevant thread: https://github.com/LemmyNet/lemmy/issues/875)
  • I want to add a button next to other Lemmy links in the post body / comments. However, I'm still trying to figure out the best way to do this and which links it should appear next to.

Other thoughts:

Some of the third party Reddit tools that I used the most were the browser extensions. Reddit Enhancement Suite made it a LOT easier to start using Reddit, and other extensions like Old Reddit Redirect (the inspiration for my extension) fixed other annoyances. While there are a lot of areas where Lemmy can improve, I think it makes more sense to implement certain enhancements through browser extensions and separate tools. That is to say, I’m happy to let this be pushed into Lemmy’s code, but right now I feel like it makes more sense as a separate extension.

(*) Also when I started building my extension, I didn’t see any similar ones listed. A few other ones have now popped up, and it looks like a lot of them were forked from this project. So if you don’t like mine, there are others that you can try :) Similarly, I’m happy to collaborate if you want to help / integrate my extension into a bigger project!

 

cross-posted from: https://lemmy.ca/post/778315

Introducing the Lemmy Instance Assistant (browser extension)


Hey everyone :)

I started using Lemmy during the blackout, and I was finding it annoying to subscribe to new communities that I came across. I wanted to be able to quickly open a link on my home instance instead of copy/pasting the code, searching for it, and then subscribing. I looked around for an extension and didn’t see any * , so I started working on my first browser extension!

Firefox version is live, the Chrome version is still going through the review/approval stage. I’m working on getting it on other browsers as well.

https://addons.mozilla.org/addon/lemmy-instance-assistant

This extension will let you set your home instance (https://lemmy.ca/ for me), and then it will insert a button onto community pages on other Lemmy instances (see screenshots on extension page). I tried to mimic the existing design for the button, and I included some popular instances so you can quickly copy and paste when selecting your home instance.

Give it a try and let me know what you think!

Why doesn’t it redirect automatically?

Initially I tried to make it redirect, similar to ‘Old Reddit Redirect’. This is still possible, but it might be a little dangerous to have it set up that way. Since there is no way to predict what URL a Lemmy site will have, we can’t restrict the extension to specific domains. This means that the extension MAY run on other sites, depending on how it is detecting the Lemmy site. A button popping up is less harmful than being redirected unexpectedly.

Future plans:

GitHub link: https://github.com/cynber/lemmy-instance-assistant

  • As mentioned above, we can’t specify which domains the extension should run on since that’s not something we can predict. I’d like to improve the specificity of which pages the button will appear on, to minimize unexpected behaviour. As this is my first extension, I’d appreciate help with this while I learn it myself!
  • Right now the button does not appear if you are already viewing a community in a different instance, even if that is not YOUR instance (ex. You are looking at lemmy.world/c/technology@lemmy.ml, while your home instance is lemmy.ca). This limitation comes from the method I used to distinguish between the community page and your home instance page. I’m planning to change it to use the URL itself instead of card elements.
  • It would be nice to be able to jump to a specific post. Currently, it appears that Lemmy post URLs do not include a slug for the community/instance, making it challenging to implement something like this. I plan on exploring this some more (relevant thread: https://github.com/LemmyNet/lemmy/issues/875)
  • I want to add a button next to other Lemmy links in the post body / comments. However, I'm still trying to figure out the best way to do this and which links it should appear next to.

Other thoughts:

Some of the third party Reddit tools that I used the most were the browser extensions. Reddit Enhancement Suite made it a LOT easier to start using Reddit, and other extensions like Old Reddit Redirect (the inspiration for my extension) fixed other annoyances. While there are a lot of areas where Lemmy can improve, I think it makes more sense to implement certain enhancements through browser extensions and separate tools. That is to say, I’m happy to let this be pushed into Lemmy’s code, but right now I feel like it makes more sense as a separate extension.

(*) Also when I started building my extension, I didn’t see any similar ones listed. A few other ones have now popped up, and it looks like a lot of them were forked from this project. So if you don’t like mine, there are others that you can try :) Similarly, I’m happy to collaborate if you want to help / integrate my extension into a bigger project!

view more: ‹ prev next ›