small update, and readme updated

This commit is contained in:
arnaucode
2017-05-17 09:21:21 +02:00
parent 0b2521f2a8
commit 06debf0e7f
6 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,9 @@
# twitterReader
# twitterReader [![Go Report Card](https://goreportcard.com/badge/github.com/arnaucode/twitterReader)](https://goreportcard.com/report/github.com/arnaucode/twitterReader)
twitter reader assistant written in Go lang
uses festival for the text to speech features
uses Festival Speech Synthesis System (http://www.cstr.ed.ac.uk/projects/festival/) for the text to speech features
![twitterReader](https://raw.githubusercontent.com/arnaucode/twitterReader/master/twitterReader.png "twitterREader")
to execute

View File

@@ -15,6 +15,9 @@ func festivalEn(text string) {
reader := strings.NewReader(text)
festival.Stdin = reader
err = festival.Run()
if err != nil {
fmt.Println("error")
}
}
func festivalCa(text string) {

View File

@@ -1,7 +1,7 @@
package main
func main() {
c.Cyan("hi")
c.Cyan("connecting to twitter api and getting the last tweets")
client := readConfigTokensAndConnect()
tweets := getTimeline(client)
for i := 0; i < len(tweets); i++ {

View File

@@ -34,7 +34,7 @@ func readConfigTokensAndConnect() (client *twitter.Client) {
// twitter client
client = twitter.NewClient(httpClient)
fmt.Println("connection successfull")
fmt.Println("connection successful")
return client
}

Binary file not shown.

BIN
twitterReader.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB