Hacker News new | ask | show | jobs
by kjksf 1455 days ago
Do you have an option to use a .csv from url, e.g.: https://csvfiddle.io/?url=https://foo.com/bar.csv

If not, could you implement it?

I ask because I'm working on a web-based file manager (https://filerion.com/)

One of the feature ideas I have is letting people to view CSV files.

I don't want to implement my own csv viewer and would rather integrate with tools like csvfiddle.

I.e. the user would right-click on a .csv file in my file manager, one of the options would be "View in CSVFiddle".

When chosen, I would create publicly visible, CORS-compatible url for the .csv file (so that you can fetch() it) and launch cvsfiddle.io?url=<url> in a new window.