Git Product home page Git Product logo

gweet's Introduction

computers are garbage

fuck computers all my boys hate computers

gweet's People

Contributors

francesco149 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gweet's Issues

Tweeting without an image crashes the app

I know it defeats the purpose, but the Optional if the tweet contains at least one media file. phrase in help text suggests that it is not a desired behavour.

$ gweet -text "test... test... test..."
gweet 1.1.0

2017/06/22 00:55:35 Loading config from /home/ale/.local/bin/gweet.json
2017/06/22 00:55:35 Initializing API interface for account iamale_ru
2017/06/22 00:55:35 Tweeting {"test... test... test...", [], lewd=false}.
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.(*gweet).tweet(0xc820010aa0, 0xc820012700, 0x7ffd3b57beeb, 0x17, 0xc82000a440, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/media/loli/WD-tan/coding/go/src/github.com/Francesco149/gweet/main.go:200 +0x1c41
main.main()
	/media/loli/WD-tan/coding/go/src/github.com/Francesco149/gweet/main.go:262 +0x680

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/home/loli/go/src/runtime/asm_amd64.s:1805 +0x1

goroutine 5 [chan receive]:
github.com/ChimeraCoder/anaconda.(*TwitterApi).throttledQuery(0xc820012700)
	/media/loli/WD-tan/coding/go/src/github.com/ChimeraCoder/anaconda/twitter.go:246 +0xb7
created by github.com/ChimeraCoder/anaconda.NewTwitterApi
	/media/loli/WD-tan/coding/go/src/github.com/ChimeraCoder/anaconda/twitter.go:115 +0x1c6

Scheme issue

Makoto :: ~/.sharenix % ~/.sharenix/sharenix -m="fs"                           
Debug: Parsing config...
Taking screenshot...
Debug: Using 1 screens
Debug: 0    X: 0    Y: 0    Width: 1366 Height: 768
Debug: Building 1366 x 768 image
Debug: Drawing (0,0)-(1366,768)
Uploading to Twitter
Debug: gweet map[_tails:$input$]
Post gweet: unsupported protocol scheme ""

Twitter converts images to JPEG

Depending on contents of the screenshot, this might be undesired. However, this can be prevented (tl;dr: make some pixels semi-transparent). It might be nice to integrate this technique into your tool as well.

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.