open-index/open-npm huggingface dataset:
npm package: @socialsflow/trigger-activitypub
Description: Actionsflow trigger for ActivityPub
Author: Ric Wood
Latest version: 1.0.0

# `@actionsflow/activitypub-trigger`

This is an [Actionsflow](https://github.com/actionsflow/actionsflow) trigger for ActivityPub.

## Install

```bash
npm i @actionsflow/trigger-activitypub
```

## Usage

```yaml
on:
  activitypub:
    host: example.org
    user: test
```

## Options

- `host`, required, hostname of source ActivityPub instance
- `user`, required, source user account

> You can use [General Config for Actionsflow Trigger](https://actionsflow.github.io/docs/workflow/#ontriggerconfig) for more customization.

## Outputs

This trigger's outputs will be the following object.

An outputs example:

```json
{
  "uri": "uniqueId",
  "message": "hello world title",
  "replyto": "optionalUniqueReplyId"
}
```

You can use the outputs like this:

```yaml
jobs:
  print:
    name: Print
    runs-on: ubuntu-latest
    steps:
      - name: Print Post Outputs
        env:
          uri: ${{on.activitypub.outputs.uri}}
          message: ${{on.activitypub.outputs.message}}
          reply: ${{ on.activitypub.outputs.replyto}}
        run: |
          echo uri: $uri
          echo message: $message
          echo reply: $reply
```
npm package: @socialshares/core
Description: Social share buttons
Author: Sunny Singh
Latest version: 0.0.22

<p align="center">
  <a href="https://socialshar.es/">
    <img src="./assets/readme-logo.png" alt="Socialshares" />
  </a>
</p>

<p align="center">
  <strong>Socialshares v3. Work in progress.</strong>
</p>

<p align="center">
  <a href="https://npm.im/@socialshares/core">
    <img src="https://img.shields.io/npm/v/@socialshares/core?style=for-the-badge&color=%236862BA" alt="View npm package" />
  </a>
  <a href="https://github.com/sunnysingh/socialshares/blob/master/LICENSE.md">
    <img src="https://img.shields.io/npm/l/@socialshares/core?color=6862BA&style=for-the-badge" alt="MIT License" />
  </a>
  <a href="https://twitter.com/sunnysinghio">
    <img src="https://img.shields.io/twitter/follow/sunnysinghio?style=for-the-badge&color=%236862BA" alt="Follow on Twitter" />
  </a>
</p>

## ⚡️ Quick start

```html
<div id="shareButtons"></div>

<script type="module">
  import {
    renderShareButtons,
    twitterButton,
    facebookButton,
  } from '//unpkg.com/@socialshares/core?module';

  const mountElement = document.getElementById('shareButtons');

  renderShareButtons(mountElement, [twitterButton(), facebookButton()]);
</script>
```

## 📦 Install

You can install via npm:

```sh
npm install @socialshares/core
```

Then import with a bundler like [Parcel](https://parceljs.org/) or [Webpack](https://webpack.js.org/):

```js
import {
  renderShareButtons,
  twitterButton,
  facebookButton,
} from '@socialshares/core';

const mountElement = document.getElementById('shareButtons');

renderShareButtons(mountElement, [twitterButton(), facebookButton()]);
```

Make sure to add an empty element to your HTML:

```html
<div id="shareButtons"></div>
```

Done! You should see a Tweet button and Facebook button rendered.

Check out the [socialshares docs](https://socialshar.es/) for more.
npm package: @socialshares/react
Description: Social share buttons
Author: Sunny Singh
Latest version: 0.0.22

<p align="center">
  <a href="https://socialshar.es/">
    <img src="./assets/readme-react-logo.png" alt="Socialshares" />
  </a>
</p>

<p align="center">
  <strong>Socialshares v3. Work in progress.</strong>
</p>

<p align="center">
  <a href="https://npm.im/@socialshares/react">
    <img src="https://img.shields.io/npm/v/@socialshares/react?style=for-the-badge&color=%236862BA" alt="View npm package" />
  </a>
  <a href="https://github.com/sunnysingh/socialshares/blob/master/LICENSE.md">
    <img src="https://img.shields.io/npm/l/@socialshares/core?color=6862BA&style=for-the-badge" alt="MIT License" />
  </a>
  <a href="https://twitter.com/sunnysinghio">
    <img src="https://img.shields.io/twitter/follow/sunnysinghio?style=for-the-badge&color=%236862BA" alt="Follow on Twitter" />
  </a>
</p>

## ⚡️ Quick start

You can install via [npm](https://www.npmjs.com/):

```sh
npm install @socialshares/react
```

Then import into your React project:

```js
import {
  ShareButton,
  TwitterButton,
  FacebookButton,
} from '@socialshares/react';

export default function App() {
  return (
    <ShareButtons>
      <TwitterButton />
      <FacebookButton />
    </ShareButtons>
  );
}
```

Done! You should see a Tweet button and Facebook button rendered.

Check out the [socialshares docs](https://socialshar.es/) for more.
npm package: @socialsplash/skia-canvas-twemoji
Description: Draw text with Twemoji on skia-canvas.
Author: William DA SILVA
Latest version: 1.0.3

# @socialsplash/skia-canvas-twemoji

This is a module that is able to draw emoji on skia-canvas.

## Quick Example
```javascript
const { Canvas, loadImage } = require('skia-canvas');
const { fillTextWithTwemoji } = require('@socialsplash/skia-canvas-twemoji');

async function main () {
    const canvas = new Canvas(200, 200);
    const context = canvas.getContext('2d');

    context.fillStyle = '#000000';
    context.font = '30px Arial';
    await fillTextWithTwemoji(context, 'emoji 🎀', 100, 100, {
        loadImage
    });
}

main();
```

## Dependencies

- skia-canvas [GitHub](https://github.com/samizdatco/skia-canvas)
- twemoji-parser [GitHub](https://github.com/twitter/twemoji-parser)

## Licence

### skia-canvas-twemoji

Copyright (c) 2020-2021 cagpie / Shun Kobayashi, Polestar Labs, SocialSplash 2022

Code licensed under the MIT License: http://opensource.org/licenses/MIT