10 ms·
Show HN: Pen.io
- caudipublius 16y agoHow did you come with the concept? Future update idea, if you could collate pages you've created. Instead of it getting lost in the void if you forget the IRL and need it months from now.
- dhimes 16y agoI agree with this update idea.
- Khroma 16y agoWhat do you mean by collate in this sense?
- caudipublius 16y agoA loose way of collecting/tracking pages you've created.
- prawn 16y agoGroup somehow, short of it being a blog of sequential posts and an expectation of future content.
- MichaelGG 16y ago"Create beautiful text based pages in seconds and share them with world" I think you may have meant "with the world".
- feint 16y agothanks for the pickup. Fixed
- dhimes 16y agoVery cool idea, and nice site. I noticed that you are serving your own jquery. I've read that it's better to link to Google's host as it is more likely to be cached (and other reasons). Is this a conscious decision on your part, or is it just a part of the puzzle you haven't wrestled with yet? (Honest question- I don't know the right answer because I haven't wrestled with it yet.) Google jquery link: <script type="text/JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
- feint 16y agoYes Google or hosting on another CDN is the best option. Its something I will switch over to.
- eps 16y agoOne reason not to use CDN-hosted common scripts is to not share visitors statistics with the CDN. Believe it or not, but it is a valid concern for many businesses.
- davidu 16y agoWhen it's cached, your browser won't make an HTTP request to the CDN. That's the entire point. They can do some VERY ROUGH back of the envelope calculations to figure out based on cache-expiry headers and number of requests how many new people you are bringing to JQuery but not much else. Dan Kaminsky proved this earlier in his DNS/TTL cache sniffing tricks. And by the time you are large enough to have an impact, your audience will be large enough for you to justify using your own JQuery hosted URL. In short, USE THE CDN JQUERY. :-)
- feint 16y agoI use MaxCDN and will use it for this project as well.
- collypops 16y agoYou shouldn't have to depend on CDNs as there's no guarantee they'll be up all of the time. I usualayy have a local fallback that can be triggered in this way: <script type="text/JavaScript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script>!window.jQuery && document.write(unescape('%3Cscript src="/js/jquery-1.4.2.min.js"%3E%3C/script%3E'))</script> The second script looks for the jQuery global object that should exist after the CDN fetch. If it doesn't exist, it knows to get your own copy. (If you're wondering "hey, where's the 'http:' part in that src attribute?", it's because it's a safer way to ask for a resource when you don't know if the you are under http or https.) Also, you should try to place your <script> tags near the bottom of the <body>, rather than the <head> so that they don't block the rest of the page from loading/rendering.
- cosgroveb 16y agoI like this... Very minimalist but cool. Rich text editing would be a pretty sweet addon.
- Groxx 16y ago<?xml version="1.0" encoding="UTF-8"?> Hm. Anyone know why Firefox 4b11 wouldn't respect that tag? It's throwing it into ISO-8859-1.
- coderdude 16y agoIt's probable that Firefox is a little "smarter" about content encodings than to simply rely on what the document claims to be. The site is being served up as text/html, so despite his XML declaration at the top I believe the spec says to fall back on ISO-8859-1 in situations of uncertainty and that is also the default charset for text/html.
- savrajsingh 16y agoI really like this. It's how the Internet should've worked a long time ago. ;)
- mcantelon 16y agoWould be cool to have a link to help. I ended up accidentally deleting the intro text that comes as the default page content and couldn't figure out how to make a new page.
- sfphotoarts 16y agoI like this, however, I'd rather this be something I could deploy privately on my own web hosting. I've been looking for a simple cms system when I write plain text files and something like this generate all the pagination, layout and so forth.
- Khroma 16y agoSo like a blog? How would yours be different from a blog? I'm curious.
- sfphotoarts 16y agomost blogs are database backed. this (http://news.ycombinator.com/item?id=699780 http://news.ycombinator.com/item?id=699780) had promise but it seems to have been both abandoned and gone. I can write one obviously, but I was hoping to find something that did the layout like pen.io does. Jekyll is close when I looked at it. Maybe I should revisit.
- JonnieCache 16y agohttps://github.com/mojombo/jekyll https://github.com/mojombo/jekyll
- lordlarm 16y agoI wanted to test this and decided on the name "test", which was taken. I tried "test1", then "test12" .. etc. My point: let me choose if I want a nice URL, and if I decide, then tell me if it is taken. I the meantime I would have enjoyed something like: pen.io/fjS7f Besides from that: great idea and nice design.
- feint 16y agogood point. I'll look at making a random URL function
- aaronblohowiak 16y agoyou can use https://github.com/aaronblohowiak/Random-ID/raw/master/uuid.js https://github.com/aaronblohowiak/Random-ID/raw/master/uuid.... -- just call newId(4) to get four characters of b64uri randomnes.. or newId(10), &etc.
- ajaymehta 16y agoLove the super simple sign-up. I think this combined with the basic gist of start.io would make a killer app.
- pmarin 16y ago¿How can I delete the page?
- liamk 16y agoIt would be good if I could delete a page that I just created!
- coderdude 16y agoIt's good to see some of the UI elements from Premium Pixels in use. I always liked those text boxes. (The submit button as well.)
- eps 16y agoThe text input boxes look completely messed up in Safari on iPad. Needs fix in' perhaps?
- coderdude 16y agoUgh... input elements are the worst when it comes to compatibility across different browsers and operating systems. I've wracked my brain for hours working out various techniques to get a simple newsletter signup for working right across the majority of my visitor's platforms. I think anyone who has dealt with that can feel for the guy. ;)
- healthyhippo 16y agoThis is pretty dope. The design is particularly excellent. Nice work
- ElbertF 16y agoBe careful with JavaScript and saving plain text passwords in cookies: http://cookie.pen.io http://cookie.pen.io I just stole your password. :) <img src="" onerror="alert(document.cookie.replace(/^.+pw=([^;]+);.+$/, '$1'));">
- deleted 16y ago[deleted]
- olalonde 16y agoNice reminder to use throw away passwords on untrusted sites. (no offense feint)
- feint 16y agosorry my mistake and thanks for picking it up. Passwords are now hashed and working on the js now
- bmelton 16y agoI'm not an expert in these sorts of things, but even that is probably asking for trouble (though considerably less so.) What's worked for me in the past was to generate a random string each time I create a session for the user, which is valid to create exactly one session for the user. That string is consumed with each use and a new one is generated and saved to the cookie (which again, is good for the NEXT login.) I'm sure it's also far from perfect, and causes potential havoc for users switching devices, and that sort of thing (though, where I've applied it, that was considered a feature, not a bug -- YMMV). Back on subject, Pen.IO looks money, but I'd be worried about running out of page names fairly quickly. Have you thought about tying those to an account? bmelton.pen.io/test isn't quite as good as test.pen.io, but in 3 months, I don't like the odds of getting a page name less than 10 characters... and this problem only gets worse as you get more popular.
- JoachimSchipper 16y agoSee http://searchyc.com/bcrypt http://searchyc.com/bcrypt. Really, you can't do crypto in Javascript - see e.g. http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/ http://rdist.root.org/2010/11/29/final-post-on-javascript-cr....
- aquadoctorbob 16y agoReminds me of TidyPub, also featured on HN a few months back: http://news.ycombinator.com/item?id=1952882 http://news.ycombinator.com/item?id=1952882
- jacobolus 16y agoOr Jottit? http://jottit.com/ http://jottit.com/ http://news.ycombinator.com/item?id=54977 http://news.ycombinator.com/item?id=54977 http://news.ycombinator.com/item?id=48770 http://news.ycombinator.com/item?id=48770 http://news.ycombinator.com/item?id=73049 http://news.ycombinator.com/item?id=73049
- _sh 16y agoOr TiddlyWiki? http://www.tiddlywiki.com http://www.tiddlywiki.com http://news.ycombinator.com/item?id=3433 http://news.ycombinator.com/item?id=3433 <-- Check out the low id, '1432 days ago' Such an awesome thing.
- feint 16y agoor like my own Write.fm - similar idea but some key differences (subdomains, markup, multiple pages etc). I like the idea of TidyPub though
- guynamedloren 16y agoI immediately thought the same thing. This is far, far too similar to TidyPub, though they do both look great... so I guess I can't complain? Nice work, regardless.
- phatbyte 16y agoI like this. Very minimalistic, easy to use.
- g00gle 16y agoVery nice site and well executed, however... It doesn't support Unicode? I created http://namuna.pen.io/ http://namuna.pen.io/ with devnagari script and it shows garbled text. I hope you know that ~2-3 billion people don't use Roman Script.
- olalonde 16y agoSeems to work from Chrome... Would still be better to throw in a <meta charset="utf-8"> for browser compatibility I guess.
- g00gle 16y agoI am on FFox 4 beta 11 on WinXP and I tried it with IE7 also. I get this on both: http://imgur.com/q0PfT http://imgur.com/q0PfT
- cookiecaper 16y agoYou may not have correct fonts installed. I get this on Fx nightlies: http://imgur.com/w6s0t http://imgur.com/w6s0t
- g00gle 16y agoI use Devanagari script extensively and have never faced the problem on other sites (FB, GMail etc). I changed the default encoding to UTF-8 but no avail. Can you pls tell me what I doing wrong?
- lurchpop 16y agoappeared correctly for me on ff 3.6/win
- Tycho 16y agoCool. like how it gives you a subdomain, that way you can tell people the address in conversation. What are you using to host/script it? http://littlepoem.pen.io/ http://littlepoem.pen.io/ (password: password)
- nhangen 16y agoI love the idea, but I hate the domain. Still, going to use this to replace the PDF's I've been penning.
- trampsymphony 16y agoFWIW, when I see pen.io I get a penis/penile sort of vibe. Beautifully executed service, though.
- hnhg 16y agoIt's definitely something that at least in the north of England would be hurled around as a playground insult.
- ctide 16y agoI suppose I'm pretty immature, but when I saw the URL I immediately assumed it was a Web 2.0 porn site.
- udfalkso 16y agoSame here.
- dhbradshaw 16y agoI love it. Better, I showed my wife and she loved it too. One thing that I wanted while I was editing was a tag list (like you have on the About page, but right there on the edit page).
- feint 16y agogood idea. I'll look at putting it somewhere on the edit page
- richpalmer2 16y agoI'm getting "Column count doesn't match value count at row 1"
- jfeldstein2 16y agoMe too.
- ryanhuff 16y agoMe too. Safari 5.0.3 on the Mac.
- feint 16y agothat bug should be fixed now
- richpalmer2 16y agoAwesome. Quick turnaround. Looks good now.
- aik 16y ago"Column count doesn't match value count at row 1" when trying to create my first page. I'm in Chrome.
- deleted 16y ago[deleted]
- zb 16y agoThat column of text is far too wide for comfortable reading. Good suggestions on picking an appropriate measure here: http://webtypography.net/Rhythm_and_Proportion/Horizontal_Motion/2.1.2/ http://webtypography.net/Rhythm_and_Proportion/Horizontal_Mo...
- srik1234 16y agoJust curious.. where did you register the .io domain? Are 3 letter domains still available in .io registry?
- ved 16y agoWhy are you asking plain text password once I have logged in ? Its incredibly risky and scary.
- hasenj 16y agoEverytime I edit a page it says "you must be logged in" .. (I believe I am logged in)
- feint 16y agofixing that now
- mufti 16y agoThe user interface look good. It's like posterious. I ve got this error: Parse error: syntax error, unexpected '}' in /nfs/c02/h08/mnt/41076/domains/pen.io/html/functions/common.php on line 346
- Jsarokin 16y agoWould be cool to add a grouping by hashtag function. So I choose the page name for my first entry to be Test123, and I also add hashtag #StartupPosts Then later I make an entry called BlahBlah1 and hashtag #StartupPosts , it groups the two together. Then users can search by Hashtags to find posts. Also, common hash tags would allow people to search content from multiple users. For example #Religion would have a bunch of religion based posts, from different users etc.
- feint 16y agoLove the idea. I was thinking of something similar - my implementation was a bit different but I like the idea of hashtags.
- mattezell 16y agovery nice. kept me playing for 20 mins and I will be back.
- kuldeep_kap 16y agoI think you should give them out editable pretty URLs made from title of the post such as pen.io/this-is-a-test-page instead of sub-domains. This will also help you with the SEO. Assume that people will want to build lot of pages. Don't let the lack of sub-domains hinder this. Plus, in future you can let them build a blog or something from this set of pages. Advantage you have is you are letting them start-off with minimum resistance.
- feint 16y agoyou can have: this-is-a-test.pen.io plus with the current model I have you can also have: this-is-a-test.pen.io/page/1 etc. So actually people can create more pages.
- ernestipark 16y agoLooks nice. I actually developed a site that is eerily similar, but a bit different over January. Haven't released it yet though. Anyways, small bug for your :video tag. No opening < for the iframe tag, so it just shows up as HTML.
- deleted 16y ago[deleted]
- tobych 16y agoDoesn't "text based" need a hyphen? And the sentence a period?
- benatkin 16y agoThis is reminiscent of infogami. I dug up some old pages. http://itre.cis.upenn.edu/~myl/languagelog/archives/003008.html http://itre.cis.upenn.edu/~myl/languagelog/archives/003008.h... http://blog.reddit.com/2006/02/infogami.html http://blog.reddit.com/2006/02/infogami.html http://webpy.org/ http://webpy.org/ I'm quite fond of web.py. It appears that it is still actively maintained and can do quite a lot. http://webpy.org/cookbook/ http://webpy.org/cookbook/
- dahlia 16y agoOnly I missed is that it invented a new markup language poor than well-known existing ones e.g. Markdown, reStructuredText.
- tadruj 16y agothis page is majkemi, the proof of simplicity
- unicornporn 16y agoSweet. <center> worked, that made me happy. I think you should implement Markdown.
- conjectures 16y agoNice concept - would be good to have a footer link to the instructions when in edit mode. For me, being able to use markdown or similar would be a big plus.
- bbuffone 16y agoI like the site -> http://bobbuffone.pen.io/ http://bobbuffone.pen.io/
- mcovey 16y agoThanks for showing me your Penio
- lurchpop 16y agoI'd recommend reversing the workflow like http://min.us http://min.us. Accept the content first, then authenticate when users try & save. It removes a barrier to entry, and for people just testing, doesn't waste subdomains. I'd also recommend ditching the subomain for a subdir. Regular people don't really get it. Yes, there are major services that do it, but i know from experience that social networking has trained average folks for years to use subdirs vs subdomains (twitter, facebook, myspace).
- hnal943 16y agoImmature as it may sound, pen.io may not be the best choice for a domain name; at first glance I think of body parts.