Code Monkey home page Code Monkey logo

go-block-them-all's Introduction

全自動Twitterブロック機

このツールは、PublicStreamを監視して、設定したキーワードが見つかったら自動で投稿者をブロックします。

ツイート本体だけでなく、ユーザーのdescriptionやURL、名前に対してもマッチを行います。

How to use

conf/cred.goを設定してください。

package conf

const ConsumerKey = ""
const ConsumerSecret = ""
const OAuthToken = ""
const OAuthSecret = ""

次に、NGワードを設定してください。

conf/words.go

package conf

var NGCommon = []string{
	"雑学",
	"格言",
	"名言",
}

var NGText = []string{
	"#うちの子どうしてこうなった選手権",
	"#インターネット老人会",
	"nijie.info",
	"pixiv",
	"描きました",
	"入社式",
	"新社会人",
}

var NGDescription = []string{
	"公式ツイッター",
	"公式Twitter",
	"公式アカウント",
}

var NGScreenName = []string{
	"公式",
}

var NGURL = []string{
	"nijie.info",
	"pixiv",
}

気が済むまでこの世の嫌いなワードを並べたら、

make run

go-block-them-all's People

Contributors

ledyba avatar

Watchers

 avatar  avatar  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.