News for hackers. Stuff that matters.
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by hacker256 on Saturday May 16, 2020 @08:30PM (#23208355)
Hey HN! I worked hard to make this so that everyone, even Grandma and Grandpa, can now blog, make a website, or even learn to code with JavaScript!

You can send an email to [email protected] and it will automatically create a post based on your Subject and Body of your e-mail!

You can also attach javascript, css, or html files to make a full website that is hosted free by just sending an email!

I hope you guys like it!

Re:Show HN: Hacker Spring – Instant blog by email, no signup... by MaxLeiter on Saturday May 16, 2020 @09:22PM (#23208639)
It’s a great idea. I think it would be a lot nicer to read without the typing animation for blog text. It seems like a fast site - show that off!
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by hacker256 on Saturday May 16, 2020 @09:24PM (#23208645)
Thank you! The animation site was actually just to show that you could attach a javascript file and embed it in your e-mail!

https://hackerspring.com/p/protonmail.com/hackerspring/5ec06...

Is an example without the javascript!

Re:Show HN: Hacker Spring – Instant blog by email, no signup... by plibither8 on Sunday May 17, 2020 @01:36AM (#23209827)
But... why? Giving a user complete control over JS code that will run directly off the site is inherently an unsafe idea, for you and for the user.
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by hacker256 on Monday May 18, 2020 @09:46AM (#23222222)
Sorry about that, a more serious answer: There are already hundreds of thousands of webhosts who offer Javascript hosting - what makes this one any less safe?
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by generalpass on Saturday May 16, 2020 @09:30PM (#23208683)
Do your grandma and grandpa know css and js? Kidding! Although if they did, that would be cool.

How much do you hate me if I spoof email addresses?

Is the source published anywhere?

I noticed a minor typo in the header:

  8     <meta name="author" content="Podesta Pizzeria, LLC
  9 ">
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by hacker256 on Saturday May 16, 2020 @09:35PM (#23208708)
I fixed the typo! Thank you!

It was because of an issue where saving a file included an extra \n. I wrote a script to trim the files and it's fixed now!

Re:Show HN: Hacker Spring – Instant blog by email, no signup... by gshdg on Saturday May 16, 2020 @09:22PM (#23208637)
I assume each blog is distinct FIOS he’s by the sender’s email address?

What happens if someone sends an email spoofing your FROM address?

Re:Show HN: Hacker Spring – Instant blog by email, no signup... by hacker256 on Saturday May 16, 2020 @09:26PM (#23208656)
A spoofed email will just be ignored because it won't pass the checks!
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by gshdg on Sunday May 17, 2020 @09:05AM (#23211705)
What checks?
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by generalpass on Sunday May 17, 2020 @09:15AM (#23211751)
Said the spider to the fly.
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by gshdg on Sunday May 17, 2020 @02:48PM (#23214242)
Heh. I’m just curious, and the answer might affect my decision whether to use something like this, but you have a point.
Re:Show HN: Hacker Spring – Instant blog by email, no signup... by hacker256 on Sunday May 17, 2020 @02:57PM (#23214327)
The checks have changed significantly since we last spoke! Right now there are ~30 conditionals as it relates to determining if an e-mail is legit, and I imagine this will increase and be tweaked over time!