-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c20828
commit 1c8f123
Showing
7 changed files
with
100 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [v0.1.0](https://github.com/livebook-dev/kino_slack/tree/v0.1.0) (2022-12-07) | ||
|
||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
# KinoSlack | ||
|
||
**TODO: Add description** | ||
[![Docs](https://img.shields.io/badge/hex.pm-docs-8e7ce6.svg)](https://hexdocs.pm/kino_slack) | ||
[![Actions Status](https://github.com/livebook-dev/kino_slack/workflows/Test/badge.svg)](https://github.com/livebook-dev/kino_slack/actions) | ||
|
||
Slack integration with [Kino](https://github.com/livebook-dev/kino) | ||
for [Livebook](https://github.com/livebook-dev/livebook). | ||
|
||
## Installation | ||
|
||
If [available in Hex](https://hex.pm/docs/publish), the package can be installed | ||
by adding `kino_slack` to your list of dependencies in `mix.exs`: | ||
To bring KinoSlack to Livebook all you need to do is `Mix.install/2`: | ||
|
||
```elixir | ||
def deps do | ||
[ | ||
{:kino_slack, "~> 0.1.0"} | ||
] | ||
end | ||
Mix.install([ | ||
{:kino_slack, "~> 0.1.0"} | ||
]) | ||
``` | ||
|
||
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) | ||
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can | ||
be found at <https://hexdocs.pm/kino_slack>. | ||
## License | ||
|
||
Copyright (C) 2022 Dashbit | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Components | ||
|
||
```elixir | ||
Mix.install([ | ||
{:kino_slack, "~> 0.1.0"}, | ||
{:req, "~> 0.3.0"} | ||
]) | ||
``` | ||
|
||
## Smart cells | ||
|
||
The following Smart cells are available: | ||
|
||
* **Slack message** - for sending a message to a Slack channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,50 @@ | ||
defmodule KinoSlack.MixProject do | ||
use Mix.Project | ||
|
||
@version "0.1.0" | ||
@description "Slack integration with Livebook" | ||
|
||
def project do | ||
[ | ||
app: :kino_slack, | ||
version: "0.1.0", | ||
version: @version, | ||
description: @description, | ||
name: "KinoSlack", | ||
elixir: "~> 1.14", | ||
start_permanent: Mix.env() == :prod, | ||
deps: deps() | ||
deps: deps(), | ||
docs: docs(), | ||
package: package() | ||
] | ||
end | ||
|
||
# Run "mix help compile.app" to learn about applications. | ||
def application do | ||
[ | ||
extra_applications: [:logger], | ||
mod: {KinoSlack.Application, []} | ||
] | ||
[mod: {KinoSlack.Application, []}] | ||
end | ||
|
||
# Run "mix help deps" to learn about dependencies. | ||
defp deps do | ||
[ | ||
{:kino, "~> 0.7"}, | ||
{:req, "~> 0.3"} | ||
{:req, "~> 0.3"}, | ||
{:ex_doc, "~> 0.29", only: :dev, runtime: false} | ||
] | ||
end | ||
|
||
defp docs do | ||
[ | ||
main: "components", | ||
source_url: "https://github.com/livebook-dev/kino_slack", | ||
source_ref: "v#{@version}", | ||
extras: ["guides/components.livemd"] | ||
] | ||
end | ||
|
||
def package do | ||
[ | ||
licenses: ["Apache-2.0"], | ||
links: %{ | ||
"GitHub" => "https://github.com/livebook-dev/kino_slack" | ||
} | ||
] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters