Giter VIP home page Giter VIP logo

cantor's Introduction

cantor

goreportcard

一个简单好用的图床应用


安装

点击下载 Mac Cantor-v0.1.0.dmg

或者 git clone 源码自行编译, 可支持多平台


准备


使用

  • 打开应用

  • GitHub 配置

    未配置时, 会自动打开编辑窗口, 也可以通过点击设置按钮触发编辑窗口
    配置存储于 `~/.cantor/config.yaml`
    
  • 上传图片

    点击上传按钮, 或者菜单-文件-上传图片, 可批量选择图片进行上传
    单次最多可上传 10 张图片, 单张图片最大支持 4M, 图片格式仅支持 png gif jpg jpeg
    
  • 终端使用

    # 需要安装应用并完成 GitHub 图床相关配置才可在终端使用
    
    # 安装 cantor 终端程序
    go install github.com/evercyan/cantor/cmd/cantor@latest
    # 上传文件
    cantor upload ~/demo.png ~/demo1.png
    
    # 安装终端程序后, 可在 typora 里如下图所示配置图片上传, 其他应用亦是同理

typora-1

typora-2


快照

cantor

cantor's People

Contributors

evercyan 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cantor's Issues

dependency not found when running `wails build`

Building target: linux/amd64
----------------------------
  - Installing frontend dependencies: Done.
  - Compiling frontend:
    > [email protected] build
    > vue-cli-service build


     ERROR  Failed to compile with 1 error5:18:50 PM

    This dependency was not found:

    * @/components/cantor.vue in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/app.vue?vue&type=script&lang=js&

    To install it, you can run: npm install --save @/components/cantor.vue

    -  Building for production...
     ERROR  Build failed with errors.

编译的时候cantor组件找不到了。是这个webpack设置有问题吗

// vue.config.js  
module.exports = {
    css: cssConfig,
    configureWebpack: {
        output: {
            filename: "[name].js"
        },
        optimization: {
            splitChunks: false
        },
        resolve: {
            alias: {
                "@": path.resolve(__dirname, vueSrc),
            },
            extensions: ['.js', '.vue', '.json']
        }
    },
    devServer: {
        disableHostCheck: true
    }
};

@evercyan

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.