Code Monkey home page Code Monkey logo

sony-dpt-app's Introduction

sony 電子紙命令行應用

以下皆以 dpt 來稱呼電子紙

安裝

clone 之後以 npm 安裝

git clone https://github.com/MROS/sony-dpt-app
cd sony-dpt-app
npm install -g . # 可能需要 sudo

需要先跟 dpt 取得金鑰,才能進行其他操作。然而本應用未實作取得金鑰的程序,得先使用 dpt-rp1-py 來取得。

安裝 dpt-rp1-py

git clone https://github.com/janten/dpt-rp1-py
cd dpt-rp1-py
pip install . # 可能需要 sudo

由於本應用預設會到 ~/.config/digital-paper/ 目錄下查找 key 跟 client_id 兩個檔案,因此在使用 dpt-rp1-py 取得金鑰時,可以如以下執行:

cd ~/.config
mkdir digital-paper
cd digital-paper
dptrp1 --client-id client_id \
       --key key \
       --addr <addr> \
       register

至此安裝完成,請運行

dpt

會進入一個互動介面,請輸入 ls ,觀看是否列出最高層目錄下的檔案

sony-dpt-app's People

Contributors

mros avatar

Watchers

James Cloos avatar  avatar

sony-dpt-app's Issues

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.