r/WritingPrompts • u/sarazond • Dec 16 '14
Off Topic [OT] My gift to /r/WritingPrompts : I made an extension that makes reading stories here a breeze
Hi Reddit!
I like reddit as much as the next guy, and with RES (Reddit Enhancement Suite) installed, I never really felt that it needed anything extra. All that changed ever since /r/WritingPrompts became a default.
Very quickly I realized that reading some of the longer stories can be huge pain on the default reddit look. So I made an extension that makes reading on reddit not suck so much.
Works everywhere on reddit!
Suggestions and feedback welcome :)
And lest I forget, credit where it is due. Thanks a ton /u/youtuber1909 for getting me started with extensions :-*. You can check out his extension here - Subtitles for Youtube [Drag and drop your subtitle files to any youtube video. Ideal for tv shows and movies]
Edit: If you really liked Readr, a rating would help a lot!
Edit 2: Readr for reddit works on all subreddits and self posts on reddit! Not just WritingPrompts
Edit 3: A Firefox version is in the works!
Edit 4: Update v0.2.2 out with a relocated read button, sans-serif font option !
Edit 5: Firefox Version Out! Get it here! Preliminary Review Done! Available for download NOW!
569
u/psycho_alpaca /r/psycho_alpaca Dec 16 '14 edited Dec 16 '14
Jesus, this is too nice. I usually thank people by offering them pictures of alpacas, but I feel like one alpaca is just not good enough this time.
Seriously, though, amazing job. Thanks a bunch and congratulations!
60
248
u/LordOfTheLlamas1704 Dec 16 '14
We meet again, you alpaca bastard. Llamas will prevail!
→ More replies (10)46
44
56
→ More replies (3)19
Dec 16 '14
What the fuck, where did you find a herd of fluffy miniature giraffes?? They're adorable!
107
u/Darkphibre Dec 16 '14 edited Dec 17 '14
He knew he shouldn't... but he did.
Sarazon sat at his desk and glanced out the window. The street light had flickered on, casting a jumping shadow across the road and into his office. Traffic was non-existent, a breeze could be seen tousling stiff bushes and tossing the occasional detritus around. A slight knock caused him to look back at the door, and he unconsciously adjusted his tie.
"Heading home, you good?" It was Sandy, the new intern. She brushed few strands of blond hair from he face, leaning against the door frame but not entering. Sandy usually stayed later than everyone, 'working harder and longer.' She smiled briefly, made eye contact for just the right duration, performed all the socially-acceptable things one does when communicating to a peer.
He stared a bit too long, but then nodded. "Yeah. I'm... I'm just wrapping something up." His hand waved at his monitor, uncommitted. She nodded and left the door, cracked just a bit as she had found it, calling out a "Goodnight!" as she headed towards the elevator.
Sarazon breathed deep and sat up straighter, resolving to get some work done. He pinched his shoulders back, trying to get a kink out of his spine. He must have brushed his mouse, as his screen saver switched off. Spreadsheets and data stared back at him, work that begged to be finished.
With a slight grimace he alt-tabbed and brought up Reddit. He knew he shouldn't.
/r/WritingPrompts caught his attention, and with a click, his grimace became more hard-set. "What is this crap? Why the hell are the words wrapping on hyphenations? Who chose this kerning." He had started with mouthing the words of his incredulity, but what he saw was a train wreck. No, it was worse! His next shouts had the faintest of echoes in the sparse office. "Single-spaced TEXT! WHITE BACKGROUNDS?!"
His breathing ragged, he jabbed the power button on the monitor. It flickered off, swaying on its cheap stand.
A tentative knock and a slight gasp brought him out of his reverie. Sandy was looking at him, her expression a blend of confusion and concern. "Sarazon?"
His looked up with a massive grin, his eyes glinted with a fiery energy. "Sarazon? Are you here early? Or..." her voice drifted off, seeing his tie on the floor and a shirt too wrinkled to account for a morning commute. "... are you ok?"
He noded, keeping his eyes locked to her as he pointed at his monitor. "I did it. Sandy, I did it. You have to see. This is so much better. Oh, the beautiful serifs. And the justification..."
Sarazon caught himself lost in thought. "... it's just so, so... justified." His eyes back to his screen, a wave, gesture. "Come, Sandy... come. Look at my creation. I must share this with everyone!"
"I must share what I did. I. Made. This."
/My first post to WritingPrompts. Did I do it right? :)
27
u/sarazond Dec 16 '14
Oh my God this is......
12
u/Darkphibre Dec 16 '14
In case it wasn't clear: Props for a great implementation on an awesome idea! :)
3
3
u/tctimomothy Dec 17 '14
I see what you did there. You made a post for everyone to test the extension on, guaranteeing lots of exposure.
well played...
→ More replies (1)3
15
u/paperairplanerace Dec 17 '14
This is awesome.
I really like how consistently and precisely you did your general editing and mechanics and italics and stuff. My first time reading it was also simultaneously dramatically reading it aloud to my SO, and you gave me all the right fun dynamic directives to work with.
The only thing I did notice that broke the flow briefly is that the line break near the end at "justification" is a teensy bit confusing for a split second because it seems like Sandy must be talking until one realizes afterward that it's still him. (Assuming I've read it right.) (Also, "A tentative nock->knock".)
But yeah, seriously, 10/10, simple and sweet, funnily delivered, well-edited, and relatably Reddity.
→ More replies (6)8
u/delirium_the_endless Dec 16 '14
Can't think of a more fitting way to thank someone on this sub than a very well written submission. Good job!
89
u/RyanKinder Founder / Co-Lead Mod Dec 16 '14
Very excellent!
70
18
u/YourAverageWalrus Dec 17 '14
Would you mind adding it to the sidebar? Seems really well done.
13
u/RyanKinder Founder / Co-Lead Mod Dec 17 '14
I was going to have /u/SurvivorType do that tomorrow, actually. Maybe he'll do it tonight. :D
11
u/SurvivorType Co-Lead Mod | /r/SurvivorTyper Dec 17 '14
Tiz done! :)
13
u/sarazond Dec 17 '14
This is too much! Thanks a lot mods, didn't expect such a response for a side project :')
31
21
u/InsaneHusband Dec 16 '14
Is it possible to have the Read button before the text (beside the name?) The laziness in me doesn't want to scroll to the bottom of a passage in order to click something that enables me to read it in a better format...I'm american.
24
u/sarazond Dec 16 '14
You know what, that is an excellent idea. I'll figure out an elegant way for this to show up on the top of a post. This is on the top of my dev list!
22
u/sarazond Dec 16 '14
Also, for the american in you, pressing 'Esc' button with Readr open closes it :D
→ More replies (2)
26
u/Chaos20X6 Dec 16 '14
Will there be a Firefox version?
41
u/sarazond Dec 16 '14
Yes! I'll be porting this over to firefox as well as safari in the coming days. I'll keep you posted. (I haven't made a firefox extension ever so it might be a couple of days, probably this weekend)
→ More replies (3)10
11
9
u/skygrinder89 Dec 16 '14
Let me know when you open-source it, wouldn't mind contributing in my free time.
EDIT: Completely forgot - good work (wo)man!
→ More replies (1)4
3
u/misformalin Dec 16 '14
This is so good. My heartiest congratulations on achieving what I was not able to.
Which begs the question: Why does reddit not publish a "best of writingPrompts" book every year?
→ More replies (1)
3
Dec 16 '14
Thank you, this has made reading long comments and stories a lot easier.
Will you be adding more settings and customisability options to allow for different fonts and sizes as well as some other options?
3
u/sarazond Dec 16 '14
Thanks for checking out Readr, LeeSteer10. Yes, I will most definitely be adding some alternate themes and customization options for Readr apart from the 2 modes you see right now. I will not be messing around with the core features though, so it will remain as easy it is to use right now.
3
3
u/IHaveNoTact Dec 16 '14
I love it! And I have a silly question: How do you enable the color inversion? I don't see an Options link in Tools -> Extensions.
5
u/sarazond Dec 16 '14
Oh, I might not have made it very clear. There should be a button on the bottom right corner of the Readr viewer. This toggles the night mode. You can watch the video linked in the original post for a demonstration. thanks for checking it out :)
→ More replies (2)
3
3
u/Advisery Dec 17 '14
Perhaps the option to 'read' it could be put at the top of the post rather than the bottom?
2
3
u/lucitribal Dec 17 '14
If you have Opera you can use Chrome extensions with THIS and install Readr from OP's link.
2
u/sarazond Dec 17 '14
Woah, can someone confirm that this works? I'll put this link up in the the original post and the apps description.
→ More replies (3)
2
2
u/youtuber1909 Dec 16 '14
Woah, Super nice. Just love it. Thanks for putting all the effort.
2
u/sarazond Dec 16 '14 edited Dec 17 '14
Thanks!
Edit: This is the guy who prompted me to make this extension! Check it out here - Subtitles For Youtube [Drag and drop your subs on any youtube video]
2
u/MissionMisterWoof Dec 16 '14
Curious Web Developer in training: How does it work?
4
u/sarazond Dec 16 '14
It's not that hard actually. Without going in to too much detail, here is how it works :
The chrome extension runs some JS that adds the read button based on pre existing conditions.
Alongside this, I added a container with my html to the bottom of the body tag.
I then added a click handler on the button that uses jQuery to grab the contents of the post.
This is then inserted into my previously added container which I then fade into view.
The chrome extension boilerplate code was from here : http://extensionizr.com/
2
u/MissionMisterWoof Dec 16 '14
Wow thanks for the reply this might help me take over the wor-I mean program some extensions.
3
2
2
2
2
Dec 16 '14 edited Dec 16 '14
Neat. I can't access a PC now but does this work with any subreddit of just this one? I'd like to use this with /r/nosleep for example.
Edit: apparently it does.
RemindMe! 1 Day
2
u/sarazond Dec 16 '14
It works on every subreddit on reddit! It also works on self posts on front page as well as profile pages.
2
2
2
u/Dont_Prompt_Me_Bro Dec 17 '14
This is pure gold!
Would it be a good idea to have this on the sticky?
1
u/sarazond Dec 17 '14
It is already on the sidebar under useful links, but being on sticky is upto the mods
2
Dec 17 '14
MAKE AN APP, I WILL PAY YOU FOR IT!
2
u/sarazond Dec 17 '14
Don't have a lot of experience with app development, but I could work on something really basic over the winter break. This is exciting!
2
8
u/garfunkle21 Dec 16 '14
Have you approached the RES team to see if it could be integrated into that?
2
2
4
u/AsciiFace Dec 16 '14
Waiting for that open source so I can look for bugs and make sweet sweet pull requests
1
u/Will_learn_for_food Dec 16 '14
This is brilliant. Works really well. Thanks for the work that went into it!
3
1
u/fringly /r/fringly Dec 16 '14
This... this is sexy as hell! Looks amazing, works perfectly!
I give you massive respect sir, you saw something out there and you made it work better. Thank you for this!
3
1
1
1
u/VivereInSomnis Dec 16 '14
Will the source be available to check out?
3
u/sarazond Dec 16 '14
At this point, I wouldn't want people to judge me on it :P. But rest assured that once it gains some stability, I'll put it up on github. Bit swamped with other feature requests and my day job as a dev.
→ More replies (1)2
u/VivereInSomnis Dec 16 '14
I'm not making any accusations, but there have been problems in the past with people making malicious plugins and putting them on reddit. Anyway, I will look forward that. It looks absolutely amazing and I wouldn't mind using it to read those paranormal threads on Askreddit that popup every now and then!
→ More replies (1)
1
Dec 16 '14
Definitely clean, simple, and well executed! Commented, rated, and all that good stuff, man!
This is going to make those long posts and comments far more reasonably easier to read.
1
1
1
Dec 16 '14
Can somebody do this for /r/nosleep
3
u/sarazond Dec 16 '14
Hey /u/dtsyk. This extension is not limited to /r/WritingPrompts. It is a single extension that can be used on any subreddit, self posts (even on the front page), user profile page etc. So go ahead and install away!
1
u/IM_A_NOVELTY Dec 16 '14
Aww, RES doesn't work well with this. It doesn't open albums or videos (as in your OP).
Otherwise, a very cool extension!
3
1
1
u/jakedageek127 Dec 16 '14
This looks amazing! thank you!
This would be fantastic for /r/talesfromtechsupport or any of the "story" subreddits! Please post this around the other subs too!
1
1
1
1
u/SilhouetteOfLight Dec 16 '14
Yes, I like. So things display differently in your plugin vs in normal reddit, right?
→ More replies (3)
1
1
Dec 16 '14
This is great. /r/WritingPrompts have become the stories I use to get myself to sleep.
Here, have $2 as a mini-thank you. /u/changetip
→ More replies (4)
1
u/Lexilogical /r/Lexilogical | /r/DCFU Dec 16 '14
This is glorious! Good job, it's the add-on I've been hoping to find for the last 6 months.
→ More replies (1)
1
1
u/criss990 Dec 16 '14 edited Jan 06 '25
ossified rude cows pet sophisticated marvelous childlike vegetable mountainous zesty
→ More replies (1)
1
1
1
u/Athrul Dec 16 '14
Sounds great.
Sadly, I can't install it. Stupid Webstore network_error.
→ More replies (1)
1
1
1
1
u/Sokonit Dec 17 '14
Wait the night function stays on once you put it! awesome, Nice to see OC/OT being appreciated.
2
1
u/cudabox Dec 17 '14
This is such a great tool! I think this will be usefull for pretty much every subreddit where there happens to be wall of text, like asoiaf and askreddit.
Regarding the option to shuffle through comments. Please make it an option to read others comments rather than just OP's comment. This will make it so much more useful outside of WP as well.
I love that it's so clean and simple, and the option of night-mode.
→ More replies (1)
1
1
1
u/Tobl4 Dec 17 '14
Sorry, couldn't find the source, so I'll ask: in what language did you develop? if it's (somewhat) pure js, maybe make it into a userscript so that it can be used / maintained across different browsers.
Suggestion time: next to the day/night switch there should be one for sans/serif. Sans is far more legible on mid- to low-res displays and even on high-res that could properly display serif fonts, many prefer sans due to being used to it on screen. Professionally developed free to use fonts include "Open Sans" (nice and wide, but terribly overused) and "Source Sans Pro" (almost condensed, it's so slim), if you use @font-face that is. Also note that Verdana is considered the most legible of the fallback-sans, not Arial/Helvetica.
→ More replies (1)
1
u/AJaxus Dec 17 '14
This is fantastic man, great work. Such a simple change but you're right - it makes reading so much easier than squinting at a comment.
Can the mods sticky this so this sub can get behind it?
→ More replies (1)
1
1
u/CboehmeRoblox Dec 17 '14
my only suggestion is Firefox compatibility, other than that, I can't really suggest anything.
2
1
1
u/NotFreeAdvice Dec 17 '14
Suggestion: can you add a word count to the display? Would this be possible? It might be nice to know how long you will be reading, before you start...
→ More replies (1)
1
u/abou123 Dec 17 '14
This looks really cool, however my one gripe is that those of us who use Firefox can't use it.
2
u/sarazond Dec 17 '14
This was a 1 man - 2 weekend project guys, I'm working on the firefox port as we speak :D
→ More replies (2)
1
u/Darth_Bothersome Dec 17 '14
Is there a Firefox version planned/available?
2
u/sarazond Dec 17 '14
I'm working on it as we speak! I'll post back here when I'm done!
→ More replies (1)
1
u/noahnu Dec 17 '14 edited Dec 17 '14
I needed to take a break from studying so I wrote my own version: WP Reader
A bit of a different approach. My version combines multi-part stories together (or at least attempts to) and allows you to easily view all submissions in a thread in order. I didn't spend long on it so hopefully there aren't any bugs.. it is an extremely basic version.
EDIT: Just realized some of the formatting gets lost if you don't have "Use subreddit style" checked in RES. I'll fix it when I find time.
2
1
1
u/runetrantor Dec 17 '14
Sounds awesome, and for other subs too! (Shame many of the posters over those dont know about making paragraphs...)
1
u/sarazond Dec 17 '14
Yeah, it works everywhere! The reddit comment editor could use some work. Far too long have people struggled with formatting issues.
→ More replies (1)
1
u/TheEndOfLevelBoss Dec 17 '14
An Opera version (the browser, I'm cool with both though) would be dope. Great work.
2
u/sarazond Dec 17 '14
Its already on my list, but it might be a while for that :)
→ More replies (1)
1
u/WildTurkey81 Dec 17 '14
Awesome! I'm sure the guys at /r/nosleep would like this!
1
u/sarazond Dec 17 '14
A lot of people have been asking. Go ahead and X-post it there if you feel like it? Or I can do it myself at a later time..
1
u/Arknell Dec 17 '14 edited Dec 17 '14
I just switched back to Firefox. It's bi-annual, ane they lead the speed race right now. Any chance of a Firefox addon?
2
1
u/sixthfinger Dec 17 '14
You Da Real MVP OP. Seriously I am still subscribed to this subreddit because I enjoyed it a couple of times, but every time I see a post I check the length of the top comment, then bail out. Hope that'll change.
Edit: does it work for phones also?
2
u/sarazond Dec 17 '14
Yup, I hope this extension improves the reading experience so potential readers do not get discouraged because of how it looks.
1
u/asalaja Dec 17 '14
lurker here, i just want to say thank you for your work.
This is awesome for reading story / long comment in reddit.
1
1
u/honeypuppy Dec 17 '14
This has reminded me - is there anything like this for Android? I know there are reddit apps, but what's the best if the main thing you want to do is read?
1
u/sarazond Dec 17 '14
I used reddit sync back when I was on android, nothing particularly for reading comes to mind, but otherwise reddit sync was perfect. I'm now using alien blue.
1
u/sheikheddy Dec 17 '14
I would appreciate if you moved the read button to the left of the reply one because that would reduce unintentional clicks.
2
1
u/mvonballmo Dec 17 '14
Do you have an issue tracker for this yet? I just noticed that the reminder message that shows up after first use says "Dont show me again".
1
u/sarazond Dec 17 '14
You can report any issues on the chrome webstore itself - Support Section. Thanks for letting me know :)
1
u/lynxlynxlynx- Dec 17 '14
Could not install package: 'UTILITY_PROCESS_CRASHED_WHILE_TRYING_TO_INSTALL'.
:(
2
u/sarazond Dec 17 '14
Hey /u/lynxlynxlynx- . Thanks for reporting this issue. I looked into this, and it seems like this is a known bug with chrome on ubuntu. Could you try completely quitting your browser and then restart it? If that doesnt fix the issue, I'll have to get back to you one this :(
→ More replies (2)
1
u/hinduismtw Dec 17 '14
Woah! I've been posting some sanskrit and english combined text to /r/hinduism and even that renders great.
Thanks! this is awesome.
2
u/sarazond Dec 17 '14
Woah that is unexpectedly cool :D Feel free to spread the word about this among your readers :)
1
u/MaverickHusky Dec 17 '14
This is super awesome OP! Thank you for sharing. I don't know if you have heard of Spritzel before but it is a tool to help you read faster. I use it often to read stories on /r/WritingPrompts and /r/HFY it might be interesting to include it in to your application too.
2
1
u/Migratory_Locust Dec 17 '14
Great tool, but can I change background and textcolour? I hate being blinded by white backgrounds.
Edit: Okay, I see it is under upcoming features, looking forward to it, because I would love to use it.
1
u/sarazond Dec 17 '14
For now, you can try out the night mode! There is a button at the bottom right corner that toggles the night mode.
→ More replies (2)
1
1
u/joeltb Dec 17 '14
Wow thanks! This makes reading Reddit on the desktop so much easier! Easy on the eyes.
2
1
u/minc1 Dec 17 '14
This is freaking awesome dude! You should offer this as an extension for other sites too, some of the newspaper could use this :-)
1
u/sarazond Dec 18 '14
You could try an extension called Readability. It worked really well the last time I tried it.
1
Dec 18 '14
This is an awesome plugin!!!!!! I usually don't read this sub, so I feel lucky to have found it. Most of the subs I read have the stories in self-posts, not comments, so I'm very appreciative that you added the feature of reading self-posts (yes, I read change logs. Developers tend to have interesting senses of humor). Anyway. I have a suggestion. I've noticed that the read button doesn't appear until after I've expanded the post. Would it be possible to make it appear when the page loads? I'm not sure if I'm explaining it right. Anyway, Thanks for making something that I will use every day.
1
u/sarazond Dec 18 '14
Thank you! The read button shows up only when you expand because the text has not yet loaded (Reddit does this dynamically). So unless you press the expand button, there is nothing for me to display. There are ways to fix this (i.e. Triggering the expand button on clicking on the read button), but they would require some additional logic that I currently haven't put in. But thanks for pointing this out, I'll make a note of this for future releases :)
1
u/j1xwnbsr Dec 30 '14
Any progress on the Firefox version?
1
u/sarazond Dec 31 '14
Hey there! I have been away from my laptop for the last week or so. I'm getting back home today, so i'll be releasing a basic FF version in the next 2-3 days. Ciao!
1
1
u/brooky12 Jan 02 '15
Hey there, reddit doesn't like link shortners, you adding the goo.gl caused reddit to remove your post - I've reapproved it, but any future edits with that link shortner in it will cause reddit to remove it again and someone will have to manually approve it. I'd advise linking directly or finding some other way to link it without a shortner if you plan on editing this post in the future.
1
u/sarazond Jan 02 '15
Hey, thats too bad. I had no clue. I'll put in the direct link ASAP. Thanks for the heads up!
1
3
38
u/sarazond Dec 16 '14
I'll be around for a couple of hours if anyone has any questions/feature requests. Thanks for checking it out guys!