Skip to content

Commit

Permalink
update infos
Browse files Browse the repository at this point in the history
  • Loading branch information
claromes committed Jan 12, 2024
1 parent 38102bc commit 068dcc9
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 25 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
Copyright (C) 2023 Clarissa Mendes

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

<program> Copyright (C) <year> <name of author>
Social Switch Copyright (C) 2023 Clarissa Mendes
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
51 changes: 32 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,69 @@
# Picuki Switch
# Social Switch

[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/elmbjjhgiifenlhffpjcjfkjmilbbfki)](https://chrome.google.com/webstore/detail/picuki-switch/elmbjjhgiifenlhffpjcjfkjmilbbfki)


<p align="center">
<img src="icons/icon128.png">
</p>

Redirects Instagram URLs to Picuki.com, an Instagram viewer.
Redirect Instagram URLs to Picuki.com or Imginn.con, Instagram viewers.

> [!NOTE]
> This extension is not affiliated with Picuki or Instagram.
> This extension is not affiliated with Picuki, Imginn or Instagram.
## Installation

- [Chrome Web Store](https://chrome.google.com/webstore/detail/picuki-switch/elmbjjhgiifenlhffpjcjfkjmilbbfki)

## Usage

Redirection is automatic. Access any profile, search tagged photos or tags on Instagram and the extension will redirect to Picuki.com.

Access any profile, posts, tagged posts or tags on Instagram and the extension will redirect automatically to Picuki.com or Imginn.com.

[List of each type of URL for testing](urls.md).
Select a viewer option and enable or disable redirection through the popup.

### Demo Video
<p align="center">
<img src="assets\popup.jpg">
</p>

[<img src="assets/picuki_thumb.jpg" width="30%">](https://www.youtube.com/watch?v=H66LBDbLBKY "Demo Video on YouTube")
For photo URLs (`https://www.instagram.com/p/<short_code>`), regardless of the redirection option, the extension will redirect to Imginn.com, as this viewer uses the original photo short code. However, for tag URLs (`https://www.instagram.com/explore/tags/<tag_name>`), regardless of the redirection option, the extension will redirect to Picuki.com, as only this viewer supports tag search.

### Supported URLs

`https://instagram.com/<handle>`

`https://instagram.com/<handle>/`
`https://instagram.com/<handle>/tagged`

`https://instagram.com/<handle>/?*`
`https://www.instagram.com/p/<short_code>` *(only Imginn)*

`https://instagram.com/<handle>/tagged`
`https://www.instagram.com/explore/tags/<tag_name>` *(only Picuki)*

### Unsupported URL

`https://instagram.com/<handle>/tagged/`
`https://www.instagram.com/s/<long_code>?story_media_id=<story_media_id>`

`https://www.instagram.com/explore/tags/<tag_name>`
`https://www.instagram.com/tv/<short_code>/?igshid=<igsh_id>`

`https://www.instagram.com/explore/tags/<tag_name>/`
## Development

### Unsupported URL
$ `git clone [email protected]:claromes/socialswitch.git`

$ `cd socialswitch`

[List of each type of URL for testing](urls.md)

### Linter:

Prerequisite: Node.js

$ `npm install`

`https://www.instagram.com/p/<short_code>`
$ `npm run lint`

## Roadmap

- [x] Tags URL
- [ ] Add to Firefox Add-ons
- [ ] Media URL redirection
- [x] Post URLs
- [ ] TikTok options
- [ ] Firefox Add-ons

*Background image of the [promotional assets](assets) by [MagicPattern](https://unsplash.com/@magicpattern) on Unsplash*
Binary file removed assets/picuki_promo_1400.jpg
Binary file not shown.
Binary file removed assets/picuki_thumb.jpg
Binary file not shown.
Binary file added assets/popup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/promo_440.jpg
Binary file not shown.
Binary file added assets/social_1400.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/social_440.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"manifest_version": 3,
"name": "IG Switch",
"version": "1.0",
"name": "Social Switch",
"version": "0.4",
"description": "Redirect Instagram URLs to Picuki or Imginn",
"homepage_url": "https://github.com/claromes/igswitch",
"homepage_url": "https://github.com/claromes/socialswitch",
"author": "Claromes",
"permissions": [
"storage",
Expand Down
7 changes: 6 additions & 1 deletion urls.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@

---

https://www.instagram.com/p/CwX31XMMYAV

---

https://www.instagram.com/explore/tags/instagram

https://www.instagram.com/explore/tags/instagram/

- Unsupported

https://www.instagram.com/p/CwX31XMMYAV
https://www.instagram.com/s/<long_code>?story_media_id=<story_media_id>
https://www.instagram.com/tv/<short_code>/?igshid=<igsh_id>

0 comments on commit 068dcc9

Please sign in to comment.