{"id":16682574,"url":"https://github.com/shulhan/share","last_synced_at":"2025-12-29T07:54:53.621Z","repository":{"id":226068592,"uuid":"767658130","full_name":"shuLhan/share","owner":"shuLhan","description":"[Deprecated] A collection of libraries and tools written in Go. This module has been moved to https://git.sr.ht/~shulhan/pakakeh.go","archived":false,"fork":false,"pushed_at":"2024-03-09T08:56:32.000Z","size":4844,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-20T07:25:54.507Z","etag":null,"topics":["dns","go","golang","http","smtp","websocket"],"latest_commit_sha":null,"homepage":"https://sr.ht/~shulhan/pakakeh.go","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shuLhan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.adoc","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-05T17:18:19.000Z","updated_at":"2024-03-06T13:12:54.000Z","dependencies_parsed_at":"2024-06-18T17:11:21.781Z","dependency_job_id":null,"html_url":"https://github.com/shuLhan/share","commit_stats":null,"previous_names":["shulhan/share"],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuLhan%2Fshare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuLhan%2Fshare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuLhan%2Fshare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuLhan%2Fshare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuLhan","download_url":"https://codeload.github.com/shuLhan/share/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243392326,"owners_count":20283565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","go","golang","http","smtp","websocket"],"created_at":"2024-10-12T14:07:58.355Z","updated_at":"2025-12-29T07:54:53.571Z","avatar_url":"https://github.com/shuLhan.png","language":"Go","readme":"# `import \"github/shuLhan/share\"`\n\n[Go documentation](https://pkg.go.dev/github.com/shuLhan/share).\n\nshare is a collection of tools, public HTTP APIs, and libraries written and\nfor working with Go programming language.\n\nThis library is released every month, usually at the first week of month.\n\n## Public APIs\n\n[**Telegram bot**](https://pkg.go.dev/github.com/shuLhan/share/api/telegram/bot)::\nPackage bot implement the\n[Telegram Bot API](https://core.telegram.org/bots/api).\n\n\n## Command Line Interface\n\n[**bcrypt**](https://pkg.go.dev/github.com/shuLhan/share/cmd/bcrypt)::\nCLI to compare or generate hash using bcrypt.\n\n[**epoch**](https://pkg.go.dev/github.com/shuLhan/share/cmd/epoch)::\nProgram epoch print the current date and time (Unix seconds, milliseconds,\nnanoseconds, local time, and UTC time) or the date and time based on the\nepoch on first parameter.\n\n[**gofmtcomment**](https://pkg.go.dev/github.com/shuLhan/share/cmd/gofmtcomment)::\nProgram to convert multi lines \"/**/\" comments into single line \"//\" format.\n\n[**ini**](https://pkg.go.dev/github.com/shuLhan/share/cmd/ini)::\nProgram ini provide a command line interface to get and set values in the\n[INI file format](https://godocs.io/github.com/shuLhan/share/lib/ini).\n\n[**smtpcli**](https://pkg.go.dev/github.com/shuLhan/share/cmd/smtpcli)::\nCommand line interface SMTP client protocol.\nThis is an example of implementation Client from\n[lib/smtp](https://pkg.go.dev/github.com/shuLhan/share/lib/smtp).\n\n[**xtrk**](https://pkg.go.dev/github.com/shuLhan/share/cmd/xtrk)::\nProgram xtrk is command line interface to uncompress and/or unarchive a\nfile.\nSupported format: bzip2, gzip, tar, zip, tar.bz2, tar.gz.\n\n[**totp**](https://pkg.go.dev/github.com/shuLhan/share/cmd/totp)::\nProgram to generate Time-based One-time Password using secret key.\nThis is just an example of implementation of\n[lib/totp](https://pkg.go.dev/github.com/shuLhan/share/lib/totp).\nSee\n\u003chttps://sr.ht/~shulhan/gotp/\u003e for a complete implementation that support\nencryption.\n\n## Libraries\n\n[**ascii**](https://pkg.go.dev/github.com/shuLhan/share/lib/ascii)::\nA library for working with ASCII characters.\n\n[**bytes**](https://pkg.go.dev/github.com/shuLhan/share/lib/bytes)::\nA library for working with slice of bytes.\n\n[**clise**](https://pkg.go.dev/github.com/shuLhan/share/lib/clise)::\nPackage clise implements circular slice.\n\n[**contact**](https://pkg.go.dev/github.com/shuLhan/share/lib/contact)::\nA library to import contact from Google, Microsoft, or Yahoo.\n\n[**crypto**](https://pkg.go.dev/github.com/shuLhan/share/lib/crypto)::\nPackage crypto provide a wrapper to simplify working with standard crypto\npackage.\n\n[**debug**](https://pkg.go.dev/github.com/shuLhan/share/lib/debug)::\nPackage debug provide global debug variable, initialized through environment\nvariable \"DEBUG\" or directly.\n\n[**dns**](https://pkg.go.dev/github.com/shuLhan/share/lib/dns)::\nA library for working with Domain Name System (DNS) protocol.\n\n[**dsv**](https://pkg.go.dev/github.com/shuLhan/share/lib/dsv)::\nA library for working with delimited separated value (DSV).\n\n[**email**](https://pkg.go.dev/github.com/shuLhan/share/lib/email)::\nA library for working with Internet Message Format, as defined in RFC 5322.\n\n[**email/dkim**](https://pkg.go.dev/github.com/shuLhan/share/lib/email/dkim)::\nA library to parse and create DKIM-Signature header field value, as\ndefined in RFC 6376.\n\n[**email/maildir**](https://pkg.go.dev/github.com/shuLhan/share/lib/email/maildir)::\nA library to manage email using maildir format.\n\n[**errors**](https://pkg.go.dev/github.com/shuLhan/share/lib/errors)::\nPackage errors provide an error type with Code, Message, and Name.\n\n[**floats64**](https://pkg.go.dev/github.com/shuLhan/share/lib/floats64)::\nA library for working with slice of float64.\n\n[**git**](https://pkg.go.dev/github.com/shuLhan/share/lib/git)::\nA wrapper for git command line interface.\n\n[**http**](https://pkg.go.dev/github.com/shuLhan/share/lib/http)::\nPackage http extends the standard http package with simplified routing handler\nand builtin memory file system.\n\n[**hunspell**](https://pkg.go.dev/github.com/shuLhan/share/lib/hunspell)::\n[WORK IN PROGRESS].\nA library to parse the Hunspell file format.\n\n[**ini**](https://pkg.go.dev/github.com/shuLhan/share/lib/ini)::\nA library for reading and writing INI configuration as defined by Git\nconfiguration file syntax.\n\n[**ints**](https://pkg.go.dev/github.com/shuLhan/share/lib/ints)::\nA library for working with slice of integer.\n\n[**ints64**](https://pkg.go.dev/github.com/shuLhan/share/lib/ints64)::\nA library for working with slice of int64.\n\n[**json**](https://pkg.go.dev/github.com/shuLhan/share/lib/json)::\nPackage json extends the capabilities of standard json package.\n\n[**math**](https://pkg.go.dev/github.com/shuLhan/share/lib/math)::\nPackage math provide generic functions working with math.\n\n[**math/big**](https://pkg.go.dev/github.com/shuLhan/share/lib/math/big)::\nPackage big extends the capabilities of standard \"math/big\" package by\nadding custom global precision to Float, Int, and Rat, global rounding\nmode, and custom bits precision to Float.\n\n[**memfs**](https://pkg.go.dev/github.com/shuLhan/share/lib/memfs)::\nA library for mapping file system into memory and to generate an embedded Go\nfile from it.\n\n[**mining**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining)::\nA library for data mining.\n\n[**mining/classifiers/cart**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/classifier/cart)::\nAn implementation of the Classification and Regression Tree by Breiman, et al.\n\n[**mining/classifier/crf**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/classififer/crf)::\nAn implementation of the Cascaded Random Forest (CRF) algorithm, by Baumann,\nFlorian, et al.\n\n[**mining/classifier/rf**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/classifier/rf)::\nAn implementation of ensemble of classifiers using random forest algorithm by\nBreiman and Cutler.\n\n[**mining/gain/gini**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/gain/gini)::\nA library to calculate Gini gain.\n\n[**mining/knn**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/knn)::\nAn implementation of the K Nearest Neighbor (KNN) using Euclidian to\ncompute the distance between samples.\n\n[**mining/resampling/lnsmote**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/resampling/lnsmote)::\nAn implementation of the Local-Neighborhood algorithm from the paper of\nMaciejewski, Tomasz, and Jerzy Stefanowski.\n\n[**mining/resampling/smote**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/resampling/smote)::\nAn implementation of the Synthetic Minority Oversampling TEchnique (SMOTE).\n\n[**mining/tree/binary**](https://pkg.go.dev/github.com/shuLhan/share/lib/mining/tree/binary)::\nAn implementation of binary tree.\n\n[**mlog**](https://pkg.go.dev/github.com/shuLhan/share/lib/mlog)::\nPackage mlog implement buffered multi writers of log.\n\n[**net**](https://pkg.go.dev/github.com/shuLhan/share/lib/net)::\nConstants and library for networking.\n\n[**net/html**](https://pkg.go.dev/github.com/shuLhan/share/lib/net/html)::\nPackage html extends the golang.org/x/net/html by providing simplified\nmethods for working with Node.\n\n[**numbers**](https://pkg.go.dev/github.com/shuLhan/share/lib/numbers)::\nA library for working with integer, float, slice of integer, and slice of\nfloats.\n\n[**os**](https://pkg.go.dev/github.com/shuLhan/share/lib/os)::\nPackage os extend the standard os package to provide additional\nfunctionalities.\n\n[**os/exec**](https://pkg.go.dev/github.com/shuLhan/share/lib/os/exec)::\nPackage exec wrap the standar package \"os/exec\" to simplify calling Run\nwith stdout and stderr.\n\n[**paseto**](https://pkg.go.dev/github.com/shuLhan/share/lib/paseto)::\nA simple, ready to use, implementation of Platform-Agnostic SEcurity TOkens\n(PASETO).\n\n[**reflect**](https://pkg.go.dev/github.com/shuLhan/share/lib/reflect)::\nPackage reflect extends the standard reflect package.\n\n[**runes**](https://pkg.go.dev/github.com/shuLhan/share/lib/runes)::\nA library for working with slice of rune.\n\n[**smtp**](https://pkg.go.dev/github.com/shuLhan/share/lib/smtp)::\nA library for building SMTP server or client. This package is working in\nprogress.\n\n[**spf**](https://pkg.go.dev/github.com/shuLhan/share/lib/spf)::\nPackage spf implement Sender Policy Framework (SPF) per RFC 7208.\n\n[**sql**](https://pkg.go.dev/github.com/shuLhan/share/lib/sql)::\nPackage sql extends the standard library \"database/sql.DB\" that provide common\nfunctionality across DBMS.\n\n[**ssh**](https://pkg.go.dev/github.com/shuLhan/share/lib/ssh)::\nPackage ssh provide a wrapper for golang.org/x/crypto/ssh and a parser for SSH\nclient configuration specification ssh_config(5).\n\n[**ssh/config**](https://pkg.go.dev/github.com/shuLhan/share/lib/ssh/config)::\nPackage config provide the ssh_config(5) parser and getter.\n\n[**ssh/sftp**](https://pkg.go.dev/github.com/shuLhan/share/lib/ssh/sftp)::\nPackage sftp implement native SSH File Transport Protocol v3.\n\n[**strings**](https://pkg.go.dev/github.com/shuLhan/share/lib/strings)::\nA library for working with slice of string.\n\n[**tabula**](https://pkg.go.dev/github.com/shuLhan/share/lib/tabula)::\nA library for working with rows, columns, or matrix (table), or in another\nterms working with data set.\n\n[**telemetry**](https://pkg.go.dev/github.com/shuLhan/share/lib/telemetry)::\nPackage telemetry is a library for collecting various [Metric], for example\nfrom standard runtime/metrics, and send or write it to one or more\n[Forwarder].\n\n[**test**](https://pkg.go.dev/github.com/shuLhan/share/lib/test)::\nA library for helping with testing.\n\n[**test/mock**](https://pkg.go.dev/github.com/shuLhan/share/lib/test/mock)::\nPackage mock provide a mocking for standard output and standard error.\n\n[**text**](https://pkg.go.dev/github.com/shuLhan/share/lib/text)::\nA library for working with text.\n\n[**text/diff**](https://pkg.go.dev/github.com/shuLhan/share/lib/text/diff)::\nPackage diff implement text comparison.\n\n[**time**](https://pkg.go.dev/github.com/shuLhan/share/lib/time)::\nA library for working with time.\n\n[**totp**](https://pkg.go.dev/github.com/shuLhan/share/lib/totp)::\nPackage totp implement Time-Based One-Time Password Algorithm based on RFC\n6238.\n\n[**websocket**](https://pkg.go.dev/github.com/shuLhan/share/lib/websocket)::\nThe WebSocket library for server and client. This WebSocket library has\nbeen tested with autobahn testsuite with 100% success rate.\n[the status report](https://github.com/shuLhan/share/blob/master/lib/websocket/AUTOBAHN.adoc).\n\n[**xmlrpc**](https://pkg.go.dev/github.com/shuLhan/share/lib/xmlrpc)::\nPackage xmlrpc provide an implementation of\n[XML-RPC specification](http://xmlrpc.com/spec.md).\n\n\n## Changelog\n\nLatest\n[CHANGELOG](https://github.com/shuLhan/share/blob/master/CHANGELOG.adoc).\n\n\n## Credits\n\n[Autobahn testsuite](https://github.com/crossbario/autobahn-testsuite) for\ntesting WebSocket library.\n\nThat's it! Happy hacking!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshulhan%2Fshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshulhan%2Fshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshulhan%2Fshare/lists"}