Skip to content

benjaminfayaz/sherlock-deno-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sherlock-deno-web 🕵️ search users across 270+ websites in your browser

ℹ️ You can visit the website here: sherlock.benjaminfayaz.de

This project is a web client for the deno implementation of the sherlock project.

Local Development

Since we fetch the site results directly in the browser, we need to avoid CORS via a CORS Proxy. You can use any desired CORS proxy but in this case I am using the cors-anywhere project. For ease of use you can use one of the docker images like

docker run -p 3000:3000 psimonov/cors-anywhere

Working with the original sherlock-deno

When you want to adjust code of the original sherlock-deno project, you have to do the following steps:

  1. Create a symlink of the original sherlock-deno project
ln -s PATH_TO_SHERLOCK_DENO PATH_TO_SHERLOCK_DENO_WEB/sherlock-deno

This is necessary because in this web project we can't import external local modules (see this issue for reference)

  1. Change the import map of the sherlock module
{
  ...
  "sherlock/": "https://deno.land/x/sherlock@v2.1.0/src",
}

becomes

{
  ...
  "sherlock/": "./sherlock-deno/src/",
}

Now you can work with your local clone of both projects.

Known issues

Sadly the aleph build command doesn't work. Run it once, then manually correct the following import in .aleph/production/app.bundling.js:

import "./-/fonts.googleapis.com/css2.[SOME-HASH].bundling.js";

to

import "./-/fonts.googleapis.com/css2.[SOME-HASH].js"; // remove the .bundling

and then run it again.

About

Web client built on top of the sherlock-deno project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published