GithubHelp home page GithubHelp logo

benjaminfayaz / sherlock-deno-web Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 49 KB

Web client built on top of the sherlock-deno project

Home Page: https://sherlock.benjaminfayaz.de

TypeScript 70.41% CSS 29.59%
sherlock deno alephjs aleph typescript

sherlock-deno-web's Introduction

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/[email protected]/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.

sherlock-deno-web's People

Contributors

benjaminfayaz avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.