Giter Club home page Giter Club logo

codepiece's Introduction


CodePiece

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.



What the app can do

Post tweet with Source Code

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.

Also post tweet without codes

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.

Keeping Hashtags

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.

Show timeline of entered hashtags.

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.

Required

The following environment is required to use the CodePiece app.

  • macOS X 10.15 or greater
  • GitHub account
  • Twitter account

How to setup

Install the CodePiece

Store the App CodePiece.app to /Applications folder or ~/Applications folder, or other folder as you like.

CodePiece

Register GitHub account

To post gist, you have to register a GitHub account on the app's preference pane in the CodePiece app.

To select CodePiecePreferences... 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.

Register Twitter account

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.

URL Scheme

You can use following url scheme.

codepiece://open

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.

codepiece's People

Contributors

akio0911 avatar es-kumagai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

codepiece's Issues

Crash

  1. setting up both accounts and clear hash tag.
  2. restart CodePiece
  3. brown item it has upper arrow, apear in twitter time line upside.
  4. click that item.
  5. 'Open In Twitter' button is turn to enable. (This is bug.)
  6. click 'Open In Twitter' button to crash.

piece of Crach report.

Process: CodePiece [75099]
Path: /Applications/CodePiece.app/Contents/MacOS/CodePiece
Identifier: jp.ez-style.appid.CodePiece
Version: 1.4.12 (62)
App Item ID: 1021284423
App External ID: 818426232
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: CodePiece [75099]
User ID: 502

Date/Time: 2017-03-22 23:54:20.530 +0900
OS Version: Mac OS X 10.12.3 (16D32)
Report Version: 12
Anonymous UUID: 60329EEA-C6A3-0CB4-1736-9DBE4395A3EC


Application Specific Information:
Performing @selector(openBrowserWithCurrentTwitterStatus:) from sender NSButton 0x600000147fe0
fatal error: Cannot open browser.: file /Data/Development/Projects/CodePiece/CodePiece/ViewController.swift, line 383

英語がよくわからないので日本語で

  1. 両アカウントを設定し、ハッシュタグをクリアします
  2. CodePiece を再起動します
  3. タイムラインの上部に上矢印がついた茶色のアイテムが出現します
  4. 茶色のアイテムをクリックします
  5. 'Open In Twitter'ボタンが有効になります (これが大元のバグです)
  6. 'Open In Twitter' をクリックするとクラッシュします

フォントカラーの対応

xcodeのフォントのDefaultだとフォントカラー的に問題ないのですが、Midnightなど他のテーマを使っていると白地のフォントカラーが無効になってしまうので、CodePieceにカラーテーマを増やして欲しい

白地のフォントを使っているとCodePieceの背景色が白のため字が見えなくなってしまう
2016-06-11 11 01 09
2016-06-11 11 02 16

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.