Giter Club home page Giter Club logo

untweet's Introduction

untweet

A little command line utility that destroys likes and tweets.

Install

Binaries

Check out the latest release for macOS and Linux binaries.

Go

go get -u github.com/imwally/untweet/cmd/untweet

Requirements

To communicate with Twitter's API you will need the following:

  • Consumer Key
  • Consumer Secret
  • Access Token
  • Access Token Secret

Which means you will need to create an app through Twitter's developer portal.

How to Use

The 4 keys from above are required for every call to untweet. Environment variables are also supported:

TWITTER_API_KEY
TWITTER_API_KEY_SECRET
TWITTER_API_TOKEN
TWITTER_API_TOKEN_SECRET

or use command line flags:

  -key string
    	Twitter API Consumer Key
  -key-secret string
    	Twitter API Secret Key
  -token string
    	Twitter API Access Token
  -token-secret string
    	Twitter API Access Token Secret

Usage

USAGE:
    untweet command [command options]

COMMAND:
    dump         Dump likes or tweets
    tweets       Destroy tweets
    likes        Destroy likes

OPTIONS:
    Use -h on each command to view options

Backup Before You Destroy

Dump all likes or tweets to stdout in json format:

$ untweet dump -likes
$ untweet dump -tweets

Other Useful Information

Keep likes of tweets from people you follow:

$ untweet likes -keep-following

Destroy tweets older than a certain time (from now):

1 week

$ untweet tweets -older 168h

48 hours

$ untweet tweets -older 48h

Checkout Go's time package for more valid duration strings.

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.