MCPcopy Index your code
hub / github.com/conversationai/harassment-manager

github.com/conversationai/harassment-manager @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
647 symbols 1,232 edges 131 files 32 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Harassment Manager

Online abuse and harassment silence important voices in conversation, forcing already marginalized people offline.

Harassment Manager is a web application that aims to empower users to document and take action on abuse targeted at them on online platforms. It is designed for anyone that experiences significant online harassment, which can be episodic or an ongoing challenge. The tool has been built and tested using a community based research and design process with active Twitter users that experience significant and/or frequent harassment (more details about our research process and published results are available on Arxiv). Target users include folks who are disproportionately impacted by online harassment such as women and other marginalized groups, journalists, activists, and politicians.

This web app was built by Jigsaw, a unit within Google that explores threats to open societies and builds technology that inspires scalable solutions, in collaboration with Twitter. To detect potentially harmful comments, it uses Jigsaw’s Perspective API, which uses machine learning to identify “toxic” language. We define toxicity as language that is rude, disrespectful or likely to make someone leave a conversation. You can read our model cards to learn more about how our machine learning models are trained.

Development

  • Setup contains a technical overview of the application and how to set up dependencies
  • Development covers how to set up a local environment for development
  • Deployment contains instructions on how to deploy the application

Support

For any technical issues, please create an issue in this repository. For additional support and to contact us, see https://developers.perspectiveapi.com/s/contact-us.

Resources

There are many organizations, tools, and resources to support people who are experiencing online harassment. Below, we've included a few sources of information, as well as organizations and tools that can be used to help navigate.

Get Informed

Explore Digital Tools

Connect with Organizations

Extension points exported contracts — how you extend this code

CloudTrace (Interface)
(no doc) [1 implementers]
src/server/contrib_typings/google-cloud-trace.d.ts
AnalyzeCommentRequest (Interface)
(no doc)
src/perspectiveapi-types.ts
SocialMediaItem (Interface)
(no doc)
src/common-types.ts
ReportTableBodyContent (Interface)
(no doc)
src/app/pdf_service.ts
DebugAgent (Interface)
(no doc) [1 implementers]
src/server/contrib_typings/google-cloud-debug-agent.d.ts
RequestedAttributes (Interface)
(no doc)
src/perspectiveapi-types.ts
ScoredItem (Interface)
(no doc)
src/common-types.ts
RequestCache (Interface)
(no doc)
src/app/social-media-item.service.ts

Core symbols most depended-on inside this repo

getSheetsCellForString
called by 57
src/server/middleware/google-sheets.middleware.ts
itemMeetsRegexFilters
called by 23
src/app/filter_utils.ts
applyFilters
called by 20
src/app/create-report/create-report.component.ts
getSelectedComments
called by 19
src/app/create-report/create-report.component.ts
itemMeetsToxicityRangeFilters
called by 16
src/app/filter_utils.ts
getCommentsForReport
called by 13
src/app/report.service.ts
applyCommentFilters
called by 11
src/app/filter_utils.ts
write
called by 10
src/server/serving.ts

Shape

Method 318
Class 134
Interface 99
Function 82
Enum 14

Languages

TypeScript100%

Modules by API surface

src/app/create-report/create-report.component.ts55 symbols
src/common-types.ts45 symbols
src/app/report.service.ts24 symbols
src/app/pdf_service.ts23 symbols
src/server/middleware/twitter.middleware.ts22 symbols
src/app/firestore.service.ts20 symbols
src/app/home-page/home-page.component.ts19 symbols
src/app/toolbar/toolbar.component.ts17 symbols
src/server/serving.ts16 symbols
src/app/share-report/share-report.component.ts16 symbols
src/app/filter-dropdown/filter-dropdown.component.ts15 symbols
src/perspectiveapi-types.ts14 symbols

For agents

$ claude mcp add harassment-manager \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact