Giter VIP home page Giter VIP logo

Comments (4)

giga-a avatar giga-a commented on July 17, 2024 2

Hey Seth, I finished making shared detection for the examples listed above!

from social-analyzer.

giga-a avatar giga-a commented on July 17, 2024 1

I added generic and shared detections entries to sites.json 9525193. The generic detections could be used with all websites. And, the shared detection for the ones you mentioned.

The backend logic for generic and shared detection is being tested. It will be pushed to Github in stages..

from social-analyzer.

giga-a avatar giga-a commented on July 17, 2024 1

I have manually added the shared detections logics to NodeJS Web App and CLI 96249fc. Mastodon instances have "type":"shared" & "name":"mastodon" in detections. This will make the engine checks shared_detections for the "name":"mastodon" ๐ŸŽ‰

I will be adding similar logics to the Python CLI later on. That Python CLI is a stand alone and does not interact with NodeJS. So, it may take sometime to implement

Here is an example in the NodeJS CLI

node app.js --cli --mode "fast" --username "johndoe" --websites "fosstodon mastodon mstdn" --output "pretty"
[!] Detections are updated every often, make sure to get the most updated ones
[Good] NodeJS Version Check
[Checking] fosstodon.org
[Checking] mastodon.cloud
[Checking] mastodon.social
[Checking] mastodon.technology
[Checking] mastodon.xyz
[Checking] mstdn.io

[Detected] 3 Profile[s]

[
  {
    "found": 3,
    "link": "https://mastodon.cloud/@johndoe",
    "rate": "%100.00",
    "title": "johndoe (@[email protected]) - mastodon.cloud",
    "language": "English",
    "type": "unavailable"
  },
  {
    "found": 3,
    "link": "https://mastodon.social/@johndoe",
    "rate": "%100.00",
    "title": "johndoe (@[email protected]) - Mastodon",
    "language": "English",
    "type": "unavailable"
  },
  {
    "found": 3,
    "link": "https://mastodon.xyz/@johndoe",
    "rate": "%100.00",
    "title": "johndoe (@[email protected]) - Mastodon",
    "language": "English",
    "type": "unavailable"
  }
]

[Unknown] 3 Profile[s]

[
  {
    "link": "https://fosstodon.org/@johndoe",
    "title": "The page you are looking for isn't here.\n - Mastodon",
    "language": "English",
    "type": "unavailable"
  },
  {
    "link": "https://mastodon.technology/@johndoe",
    "title": "The page you are looking for isn't here.\n - Mastodon",
    "language": "English",
    "type": "unavailable"
  },
  {
    "link": "https://mstdn.io/@johndoe",
    "title": "The page you are looking for isn't here.\n - Mastodon",
    "language": "English",
    "type": "unavailable"
  }
]

from social-analyzer.

giga-a avatar giga-a commented on July 17, 2024

Added shared to the Python CLI

python3 app.py --cli --mode "fast" --username "johndoe" --websites "fosstodon mastodon mstdn" --output "pretty"
[!] Detections are updated very often, make sure to get the most up-to-date ones
[Checking] mastodon.cloud
[Checking] fosstodon.org
[Checking] mstdn.io
[Checking] mastodon.technology
[Checking] mastodon.xyz
[Checking] mastodon.social

[Detected] 3 Profile[s]

{
    "found": 3,
    "language": "English",
    "link": "https://mastodon.cloud/@johndoe",
    "rate": "%100.0",
    "title": "johndoe (@[email protected]) - mastodon.cloud",
    "type": "unavailable"
}

{
    "found": 3,
    "language": "English",
    "link": "https://mastodon.xyz/@johndoe",
    "rate": "%100.0",
    "title": "johndoe (@[email protected]) - Mastodon",
    "type": "unavailable"
}

{
    "found": 3,
    "language": "English",
    "link": "https://mastodon.social/@johndoe",
    "rate": "%100.0",
    "title": "johndoe (@[email protected]) - Mastodon",
    "type": "unavailable"
}


[unknown] 3 Profile[s]

{
    "language": "English",
    "link": "https://mastodon.technology/@johndoe",
    "title": "The page you are looking for isn't here. - Mastodon",
    "type": "unavailable"
}

{
    "language": "English",
    "link": "https://mstdn.io/@johndoe",
    "title": "The page you are looking for isn't here. - Mastodon",
    "type": "unavailable"
}

{
    "language": "English",
    "link": "https://fosstodon.org/@johndoe",
    "title": "The page you are looking for isn't here. - Mastodon",
    "type": "unavailable"
}

from social-analyzer.

Related Issues (20)

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.