Git Product home page Git Product logo

bark's Introduction

发送推送

  1. 打开APP,复制测试URL

  1. 修改内容,请求这个URL
可以发 get 或者 post 请求 ,请求成功会立即收到推送 

URL 组成: 第一个部分是 key , 之后有三个匹配 
/:key/:body 
/:key/:title/:body 
/:key/:category/:title/:body 

title 推送标题 比 body 字号粗一点 
body 推送内容 
category 另外的功能占用的字段,还没开放 忽略就行 
post 请求 参数名也是上面这些

复制推送内容

收到推送时下拉推送(或在通知中心左滑查看推送)有一个复制按钮,点击即可复制推送内容。

//将复制“验证码是9527”
https://api.day.app/yourkey/验证码是9527

携带参数 automaticallyCopy=1, 收到推送时,推送内容会自动复制到粘贴板

//自动复制 “验证码是9527” 到粘贴板
https://api.day.app/yourkey/验证码是9527?automaticallyCopy=1 

携带copy参数, 则上面两种复制操作,将只复制copy参数的值

//自动复制 “9527” 到粘贴板
https://api.day.app/yourkey/验证码是9527?automaticallyCopy=1&copy=9527

其他参数

  • url
//点击推送将跳转到url的地址(发送时,URL参数需要编码)
https://api.day.app/yourkey/百度网址?url=https://www.baidu.com 

Chrome 插件

Bark-Chrome-Extension

这是一款chrome插件能帮你方便地把网页上的文本或者网址推送到Bark手机端。

Bark-Chrome-Extension 自动复制版

上面插件的修改版,iPhone会自动复制推送内容

效果展示

在线定时发送

https://api.ihint.me/bark.html

bark's People

Contributors

finb avatar

Watchers

 avatar

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.