This is an application that program codes and description post to gist, then post the link and the capture image to Twitter. It may be used to discussion of programming meetup on Twitter.
By type codes by the CodePiece and type description, you can post the codes to Gists, then the gist link and the thumbnail are posted to Twitter.
If you don't type program codes, you can post tweet to Twitter normally too. In this time, post tweet adding entered hashtags, so you can use the CodePiece in daily use when you don't need to add a program code.
Entered hashtags are kept after post, so you don't warry about forgetting adding hashtags. It's very useful in an event where you post some tweets using the same hashtags; for example a programming meetup.
In addition, you can enter more than one hashtags too. It is good at tweet with two or more hashtags continuously.
You can always see the tweets searched with entered hashtags. To enter hashtags for tweet, The CodePiece app query the tweet with, and show the tweets on right side area.It is useful to do tweeting something while watching tweets about entered hashtags.
The following environment is required to use the CodePiece app.
- macOS X 10.15 or greater
- GitHub account
- Twitter account
Store the App CodePiece.app
to /Applications
folder or ~/Applications
folder, or other folder as you like.
To post gist, you have to register a GitHub account on the app's preference pane in the CodePiece app.
To select CodePiece
→ Preferences...
on the system menu,
you can see the CodePiece app's preference window.
On the preference window, select GitHub
on the menu bar.
Push the Authentication
button, then default browser will be launched and show the authorization page of GitHub. To authorizing with your GitHub account in the page, you are able to post gists using the CodePiece.
To post tweet, you have to register a Twitter account like registering a GitHub account.
In the CodePiece's preference window, to push Twitter
button, you can see the preference pane for registering twitter account.
Push the Authentication
button, then default browser will be launched and show the authorization page of Twitter. To authorizing with your Twitter account in the page, you are able to tweet using the CodePiece.
You can use following url scheme.
Launch the CodePiece app with custom informations. Following query string is accepted.
Key | Value |
---|---|
hashtags | Open with the hashtags. If you want to specify two or more hashtags, set these separating with space. |
language | Open with the language. Specifying language is available only language the CodePice app is able to detect. |
hashtags | Open with the code text. |