Giter VIP home page Giter VIP logo

antiabuseapi's Introduction

antiAbuseAPI

antiAbuseAPI is a serverless REST API deployed on Vercel that takes in words seperated by '_' or spaces and returns either true or false if the words sent to the endpoint contains any cuss words in any language .

Usage

Send your query string to the end https://antiabuse-api.vercel.app/api/

  • If the string contains abuse words then the api will respond with JSON true
  • If the string does not contain an abusive word then the api will respond with JSON false

Requirements

vercel CLI
nodejs

Deployment

sudo npm i -g vercel
git clone https://github.com/adithyapaib/antiabuseapi
cd antiabuseapi
npm i
vercel dev

Words contribution

If you would like to contribute more words to this API your are free to so inside the api/gali.ts file. make sure the words are in the array of strings format (follow the syntax).

Syntax

  • If the word is in a language that has a variable named with it then and text is the word that you want to insert.

const hindi: string[] = [ "text", .....];

  • If you want to add a gali in a language that is not in the program, you can definitely do so as follows.
  • If the word is in a language that doesn't have a variable named with it then and text is the word that you want to insert.
const  language_name: string[]  = [ "text", .....]; 
let  language_nameGali: string[]  =  language_name.map(name  =>  name.toLowerCase());
const  gali: string[]  =  [...hindiGali, ...tuluGali, ...language_nameGali];

๐Ÿค Our Contributors

Dont forget to star this repo and follow me!

antiabuseapi's People

Contributors

5h15h1r avatar adarsh-chakraborty avatar adithyapaib avatar akshay-899 avatar alphaqx avatar arifmamon avatar ayushkarn32 avatar epicx67 avatar goosebumpss avatar gpsurya avatar hitu69 avatar incrivee2001 avatar kaushikboi avatar manjulmittal avatar maqbull avatar mohdsauood avatar mprajwalkini avatar mrpiyushprajapati avatar pratik-shirodkar avatar pridude avatar rahulbiswas12 avatar rushiranpise avatar susmitbhamare avatar tanujkumar70 avatar thesanjok avatar trishala01 avatar tusharc20 avatar uekichinos avatar utkarsh00003 avatar vikas-vaidya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

antiabuseapi's Issues

Change imports and fix some codes

Hello, I liked your project, and I would like to be able to help change the refactoring of the backend code and be able to improve its readability. Could you assign this issue to me?

Query Specific Language

Hi there, nice API.
Just a recommendation, if you can query specific language instead all.

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.