Steemsnippets 오픈소스 프로젝트 소개!!

in #kr7 years ago (edited)

안녕하세요! Steemsnippets 오픈소스 프로젝트 소개드립니다~^^




Steem 블록체인 플랫폼을 활용한 프로그램을 개발하는 것에 대해서 관심있는 분들이 지속적으로 늘어나는 것 같습니다. 저도 관심이 있어서 Steem.js 기반으로 프로그램 개발 방법을 소개한 글들을 Steemit에서 검색해 보고 있고, 또한 Node.js를 기반으로 steem.js를 활용해서 간단한 시험을 진행하고 있습니다~^^

본 글에서 공유를 드리고 싶은 내용은 Steemsnippets 오픈소스 프로젝트에 대해서 입니다. Steemsnippets 프로젝트의 목적은 steem에 대한 다양한 snippet 코드를 모아가는 것이며, 여기서 "snippets 코드"라는 의미는 steem을 사용하는 사용 시나리오/유즈케이스(Use Case)에 대한 아주 작은 단위의 기능을 구현한 코드를 의미합니다. 즉 본 프로젝트의 목적은 Steem 블록체인 플랫폼과 연동하는 작은 단위의 기능을 프로그램한 코드를 함께 모아가는 프로젝트라고 할 수 있을 것 같습니다.

본 프로젝트를 만드신 Martin Lees(@howo)님이 11일전에 Introducting Steemsnippets글을 통하여 공개하였습니다. 기본적으로 목적은 아래와 같습니다. Steem 기반으로 프로그램을 개발을 원하는 개발자들이 보다 쉽게 참고하고 갖어다 사용할 수 있는 다양한 코드를 수집/개발하여 끝내주는 steem 응용들이 활발하게 개발될 수 있도록 하고자 하는 것입니다~ 아주 멋진 프로젝트로 보입니다~^^

What's the point ?

The core idea behind this is to ease the pain and googling of the future programmers. On steemsnippets they can find >ready to use functions that they can add in their workflow. Which means less time searching and more time creating >awesome applications around steem.

또한 본 프로젝트는 오픈소스 프로젝트이기 때문에 Github에서 누구든 새로운 기능을 구현하거나 기존 코드의 기능을 개선하거나 또는 버그를 수정해서 Pull Request(PR)을 보내어 본 프로젝트의 코드에 반영을 할 수 있습니다~ 아주 멋집니다^^

How to contribute

I obviously accept external pull requests. Look up github's documentation on How to create a pull request on how to do >so. But make sure you follow these rules :

The function must be small and must only do one action (post an article, broadcast a vote etc). The function must be fully commented jsdoc/python docstring style
The files must follow the directory structure :
/library/nameofthesnippet/nameofhtesnippet.js/.py
The file must include an installation file with all the dependencies. Aka a requirements.txt for python or a package.json >for nodejs. This must be placed next to the source code file.

Don't forget that your contributions can be submitted to utopian.io for a reward so don't forget to look there as well :)

제가 찾아보니 KR 그룹에서도 steem.js 등을 활용한 다양한 프로그램들을 개발하고 있고 경험을 공유하는 분들도 많으셨는데 Steemsnippets 오픈소스 프로젝트에 참여하여서 멋진 코드를 함께 개발하는 것도 좋지 않을까하고 공개적으로 제안을 드려봅니다~^^

그리고 Martin Lees(@howo)님이 Steemsnippets v1.2 : Posting, commenting and voting using dsteem 글을 통해서 지금까지 구현된 기능을 공유해 주셨습니다. 간단하게 소개를 드리면 현재는 DSteem에 집중해서 snippet 코드를 개발하고 있다고 합니다.

현재까지 추가된 Snippet 코드는 아래와 같이 Post (dsteem), Comment (dsteem), Vote (dsteem) 입니다~

Post (dsteem)

https://github.com/drov0/steemsnippets/blob/master/dsteem/post/post.js

Function header :

function post(username, password, main_tag, title, body, jsonMetadata, permlink)

Comment (dsteem)

https://github.com/drov0/steemsnippets/blob/master/dsteem/comment/comment.js

function header :

function comment(username, password, author, permlink, text, jsonMetadata)

Vote (dsteem)

https://github.com/drov0/steemsnippets/blob/master/dsteem/vote/vote.js

function header :

function vote(username, password, author, permlink, weight)

이제 막 시작된 오픈소스 프로젝트로 아직 코드가 많이 공유되어 있지는 않지만 앞으로 다양한 새로운 기능의 코드가 추가가 될 것으로 예상이 되며, steem 개발자 생태계에 큰 영향을 미칠 수 있는 프로젝트로 기대가 됩니다~ Steem 블록체인 플랫폼 기반 개발에 관심이 있으신 분들은 적극적으로 참여하셔서 실력도 키우시고 좋은 커리어도 만들면 좋지 않을까 생각됩니다~^^

Sort:  

This post has received a 14.63 % upvote from @booster thanks to: @zyman, @zyman, @zyman, @zyman.

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 57346.65
ETH 3107.45
USDT 1.00
SBD 2.40