Hacker News new | ask | show | jobs
by hacker256 2230 days ago
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 anything@hackerspring.com 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!

3 comments

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!
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!

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.
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?
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 ">
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!

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?

A spoofed email will just be ignored because it won't pass the checks!
What checks?
Said the spider to the fly.
Heh. I’m just curious, and the answer might affect my decision whether to use something like this, but you have a point.
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!