NextDotID / proof_server

ProofService: A DID.
https://docs.next.id
MIT License
63 stars 20 forks source link

[Bounty] Headless browser for fetching Proof Post #40

Open hominluo opened 1 year ago

hominluo commented 1 year ago

Catalogue

tl;dr: add a headless browser mechanism alongside current API-based proof post fetching channel.

Bounty Description

For now, proof_server performs proof_post fetching by API or single HTTP GET. But in real world, there may be no way for some platforms to do this way. Including:

To make proof_server supports more and more services later, we need a headless browser to simulate normal user's page-browsing flow.

Design goal

Winner Info

We will select up to 2 winners and each will receive at least $3000 as the winning prize.

Submission Info

Please make sure you read through our docs before starting your hacking. You will need to create a pr to this repo to submit your work.

Contact Info

@hominluo @nykma here or Telegram for any question regarding how to work on Next.ID.

gitcoinbot commented 1 year ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1452.5352 MASK attached to it as part of the nextdotid fund.

unJokers commented 1 year ago

cool

lyledavids commented 1 year ago

Hi @hominluo @nykma

Is it possible to integrate this with Puppeteer? What repo must the PR be in?

nykma commented 1 year ago

You can make this as an independent module alongside "proof_service" . If you want to involve in, create a repo under your namespace first.

lyledavids commented 1 year ago

@nykma Do I just have to show the json response?

nykma commented 1 year ago

How to design the response API structure is up to you. Just to make sure proof_service side can get the proof post content posted by user.

lyledavids commented 1 year ago

Going to keep the same response structure. Just want to know if that is all that must be returned?

lyledavids commented 1 year ago

only json

lyledavids commented 1 year ago

@nykma for https://proof-service.next.id/v1/proof endpoint Always getting screen - mismatch message

Is this normal?

tommy-a commented 1 year ago

Hi @hominluo @nykma

Just stumbled upon this bounty and started working on it a few days ago; I'm close to finishing but don't think I'll make it in time for the submission deadline, would it be possible to submit it tomorrow, or is this a hard cutoff?

Thanks!

lyledavids commented 1 year ago

@tommy-a there was a hackathon extension for a extra day

synycboom commented 1 year ago

Hi @hominluo

I'm not sure whether or not you guys have selected the winners. Could you tell me the estimated announcement date?