spaceshipvote banner

spaceshipvote

4 devlogs
7h 19m 59s

vote on flavourtown with ONE TAB! you dont have to open 3000 tabs to vote anymore, now you can see the repo and the website and the readme in one tab.

Demo Repository

Loading README...

tanjim

Shipped this project!

This actually helped me get the votes for the ship faster. Yay!

tanjim

Make the extension use my new client and fix bugs

The bugs fixed are:

  • Pages with no backgrounf color would be transparent, now they are white
  • In the README tab images would be rendered at their mpixel size often making them HUGE
  • In my github client there was no way to authenticate using a PAT which meant a measly 60/hr ratelimit. Adding one increases it to 5k/hour
  • Inside the PAT adding screen the “open with github” button used to be green while the submit button was gray, people would probably click the wrong one

Changelog

In itzmetanjim/spaceshipvote

  • Replace github.com links, fix transparent iframes (9bc597d)
  • FINALLY fix that images dont have a max width (2c1ba03)

In itzmetanjim/github.com

Attachment
Attachment
0
tanjim

Made an alternative Github client for this

Since real github.com does not allow iFrames, i decided to make my own client using the API. As you see i didnt really try too hard to make it look realistic since i am not trying to be phishing. You can try this client out by replacing github.com with tanjim.org/github.com in a repo URL.
Importantly, this supports Github releases as many people use that as their demo link

Changelog

In the spaceshipvote repo, I did some mnor changes

  • Add README (a1042f1)
  • Add a message that some sites dont allow iframes (abf7373)

In the repo for the client,

Attachment
0
tanjim

Added the iframes and registered the extension

Now it works! hooray!
I also registered the extension by adding the X-Flavortown-Ext-17833:true header which is how FT tracks how many people use the extension. This took less than 15 mins thats why it want in a seperate devlog

HOWEVER! Github does not allow iframing so I have to use the Github API to make a github viewer thing. I guess this is an oppurtunity to optimize the client for voting or something

Changelog

  • added rulesets to register the extension (b12f8b9)
  • add the iframes and stuff so it works (fe8c5ff)
  • Fix the README view for relative links (2f92f60)

In the screenshot: the sidebar on the right is what my extension added

Attachment
2

Comments

rupnil.codes
rupnil.codes 3 days ago

wowzers

tanjim
tanjim 3 days ago

thanks!

tanjim

Hey voting person!

since you are voting you probably have a lot of votes left so to make them faster for you and use less RAM download this then continue voting (takes ~5 minutes to download). now back to the devlog…

Make the space for the sidebar

I moved all the stuff to the left by using this simple uncentrify function, then put an example div there (where the iframe stuff will live) using element.after on the div that shows the project info and devlogs.

function uncentrify(x){
    x.style.alignItems="flex-start"
    x.style.marginInline="0"
}

Changelog

Attachment
0