News for hackers. Stuff that matters.
Re:Show HN: URL shortner without Servier side processing, si... by madeofpalk on Saturday June 16, 2018 @01:16PM (#17328268)
Oh, it does have server-side processing, just not your own.
Re:Show HN: URL shortner without Servier side processing, si... by ahnick on Saturday June 16, 2018 @01:29PM (#17328332)
I was just going to say that. I'm guessing what was meant was maybe the redirection logic is all happening in the client, which is true. However, when you just read the title I assumed it meant everything, even the storage of the address itself, was being stored in the client. That didn't make sense to me, because you need to be able to share the links. Then I saw it was using jsonstore.io under the covers and the world made sense again.
Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Saturday June 16, 2018 @09:32PM (#17330463)
goal of my project was to build a url shortner which can be hosted even in GitHub/Gitlab without any need to buy a costly PHP or NodeJs or Other hosting.
Re:Show HN: URL shortner without Servier side processing, si... by debaserab2 on Saturday June 16, 2018 @01:15PM (#17328263)
Couldn’t anyone delete your entire database of URL’s trivially? Seems like this would be pretty unsafe to use for anything.
Re:Show HN: URL shortner without Servier side processing, si... by eberkund on Saturday June 16, 2018 @01:28PM (#17328328)
No, because despite the deceptive title it does actually use server side processing. It relies on https://www.jsonstore.io/ for the actual data storage.
Re:Show HN: URL shortner without Servier side processing, si... by detaro on Saturday June 16, 2018 @01:56PM (#17328504)
And the API key with write access is in the page source of the redirector, so it can do the lookup at jsonstore.io...
Re:Show HN: URL shortner without Servier side processing, si... by doomrobo on Saturday June 16, 2018 @01:31PM (#17328350)

  fossURL
  
  Easy to use url shortner which does not need any fancy database or server side system
The project uses jsonstore.io as a backend. I think the author would agree that that's a "fancy database" by their own definition. Also jsonstore.io is not open source.
Re:Show HN: URL shortner without Servier side processing, si... by detaro on Saturday June 16, 2018 @01:58PM (#17328514)
https://github.com/bluzi/jsonstore - but it relies on firebase, a non-open-source, even fancier database
Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Saturday June 16, 2018 @09:28PM (#17330448)
I agree that jsonstore.io is a fancy database , but goal of my project was to build a url shortner which can be hosted even in GitHub/Gitlab without any need to buy a costly PHP or NodeJs or Other hosting.
Re:Show HN: URL shortner without Servier side processing, si... by jajoosam on Saturday June 16, 2018 @12:33PM (#17328070)
I've implemented something like this before, instead of using jsonstore, I'm using goo.gl's api and adding a hash.

https://chhota.ga - it even works on custom domains with just one line of js.

Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Saturday June 16, 2018 @12:53PM (#17328156)
goo.gl is shutting down, i think you've to find other alternative api.

By the way if you have any ideas you can check my repo and contribute, we can work together to make it better.

I think we are almost at same age

Re:Show HN: URL shortner without Servier side processing, si... by madeofpalk on Saturday June 16, 2018 @05:59PM (#17329703)
goo.gl is shutting down, but is being replaced by some sort of Firebase URL shortener which also has an API, and uses goo.gl URLs.
Re:Show HN: URL shortner without Servier side processing, si... by jitl on Saturday June 16, 2018 @01:44PM (#17328433)
I was hoping for some kind of crazy compression. Dissapointed to find a state store after the headline.
Re:Show HN: URL shortner without Servier side processing, si... by tscs37 on Saturday June 16, 2018 @01:54PM (#17328482)
:/

It uses jsonstore.io for server side processing, I think the title is a bit disingenuous...

Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Saturday June 16, 2018 @09:24PM (#17330433)
Is there any URL Shortner which can be hosted at GitHub/Gitlab Pages?
Re:Show HN: URL shortner without Servier side processing, si... by kshvmdn on Sunday June 17, 2018 @06:14PM (#17334620)
I built https://github.com/kshvmdn/point to do exactly this.

Only supports GitHub Pages right now, but might update it soon to support GitLab as well.

Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Monday June 18, 2018 @01:48AM (#17336208)
When i started working on project, i found a stackoverflow thread where most of people said that using

<meta http-equiv="refresh" content="0; url=" /> can create lot of complexity

Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Saturday June 16, 2018 @09:33PM (#17330467)
goal of my project was to build an url shortner which can be hosted even in GitHub/Gitlab without any need to buy a costly PHP or NodeJs or Other hosting.
Re:Show HN: URL shortner without Servier side processing, si... by tscs37 on Monday June 18, 2018 @12:02AM (#17335959)
Which is a good goal, though I think you could probably have worded the title better.
Re:Show HN: URL shortner without Servier side processing, si... by bauripalash on Monday June 18, 2018 @01:49AM (#17336211)
Might be, that's a mistake! Though a updated my README