davidgasquez / gitcoin-grants-data-portal

🌲 Open source, serverless, and local-first data hub for Gitcoin Grants data!
https://grantsdataportal.xyz/
MIT License
25 stars 3 forks source link

DNS-setup for portal short-name #50

Closed DistributedDoge closed 3 months ago

DistributedDoge commented 6 months ago

I think it is handy to to have pet name for data portal tables so we can use it like so. This can be achieved with DNS configuration, and no server.

import pandas
pandas.read_parquet('http://grant-data.xyz/projects.parquet')

Which domain registrars actually provide path redirect feature needed for this setup to work?

Would be interesting to try official-sounding-domain with Cloudflare to see how that would work.

DistributedDoge commented 5 months ago

So far HTTP=>HTTPS redirect from http://grant-data.xyz to IPNS bucket is working ok, if a bit slow at times.

Final puzzle to figure out is how to make HTTPS://grant-data.xyz => HTTPS://bucket-url.com work.

Because I really don't want to maintain a server just for that, I looked at some high-magic solutions:

Two solutions I found so far:

DistributedDoge commented 3 months ago

Closing this one, as we went with cloudflare, and got this to work:

https://grantsdataportal.xyz/