description🐫 API wrapper for Shaarli exposing pinboard.in/api. Zero-config, drop-in, single-file CGI deployment.
repository URLhttps://code.mro.name/mro/pin4sha.cgi.git
ownereu1ahS@mro.name
last changeThu, 2 Apr 2020 18:54:08 +0000 (2 20:54 +0200)
last refreshSat, 27 Apr 2024 12:51:30 +0000 (27 14:51 +0200)
content tags
add:
README.md

pinboard.in.cgi

The natural API for shaarli.

Why?

The wish to have an API goes back to the early days.

And because shaarli started as a personal, minimal, delicious clone, using a minimal subset of just that very API seems natural to me. pinboard.in prooves the API is not only seasoned and mature, but also still up the job today.

Also another project of mine, ShaarliOS needs a drop-in API compatibility layer for a wide range of shaarlis out in the wild.

How?

You find a single, statically linked, zero-dependencies (🐫 Ocaml) binary which is both a

  1. cgi to drop into your shaarli php webapplication next to index.php – as the API endpoint,
  2. commandline client to any shaarli out there, mostly for debugging and compatibility-testing purposes.

post flow

Compatibility

All shaarlis from the old ages until spring 2020 (v0.11.1).

All systems 🐫 Ocaml can produce binaries for.

Just the delicious API calls in pinboard.in/v1/openapi.yaml

Design Goals

Qualityvery goodgoodnormalirrelevant
Functionality×
Reliability×
Usability×
Efficiency×
Changeability×
Portability×
shortlog
2020-04-02 Marcus Rohrmosertestdatamaster
2020-04-02 Marcus Rohrmoserλ 🐫
2020-04-02 Marcus RohrmoserMerge branch 'pinboard.in/go'
2020-04-02 Marcus Rohrmosercleanpinboard.in/go
2019-08-03 Marcus Rohrmoseranother release
2019-07-29 Marcus Rohrmoserremove some EOL PHP versions.
2019-07-29 Marcus Rohrmoserhttps://github.com/shaarli/Shaarli/releases/tag/v0...
2019-04-08 Marcus Rohrmosertighten.
2019-04-07 Marcus Rohrmosera test stub.
2019-04-07 Marcus Rohrmoseradd a http client timeout when connection shaarli.
2019-04-07 Marcus Rohrmosera bit json.
2019-04-02 Marcus Rohrmoser🐳.
2019-04-01 Marcus Rohrmoserdeploy test cgi.
2019-03-31 Marcus Rohrmoser🐳.
2019-03-31 Marcus Rohrmoser🐳.
2019-03-29 Marcus Rohrmosercli rough working draft.
...
heads
2 years ago develop
4 years ago master
4 years ago pinboard.in/go