lmao probably don't use this your computer may explode
Přejít na soubor
kayos@tcp.direct f9a80d019b
Fix #2
2023-04-27 10:04:53 -07:00
.github/workflows Not worried about coverage, the sky is falling. 2022-06-25 17:14:29 -07:00
.gitignore Fix: Check for nil from cmap Get 2022-07-14 01:47:52 -07:00
CONTRIBUTING.md Fix nil compiled time and lint 2021-10-09 08:50:48 -07:00
LICENSE Update license 2022-03-19 13:08:09 -07:00
README.md tricking github into knowing what a tag is 2023-03-18 00:11:10 -07:00
builtin.go Fix race condition 2023-03-17 23:57:45 -07:00
cap.go Fix race condition 2023-03-17 23:57:45 -07:00
cap_sasl.go lint fixes 2022-03-21 16:27:51 -04:00
cap_tags.go Chores: lint, nolint, fmt, etc 2022-10-23 02:01:03 -07:00
cap_test.go Upstream: merge in some changes 2022-05-02 21:15:53 -07:00
client.go Fix race condition 2023-03-17 23:57:45 -07:00
client_test.go Improve tests 2022-10-23 01:56:01 -07:00
codebook.go Chores: lint, nolint, fmt, etc 2022-10-23 02:01:03 -07:00
commands.go Chores: lint, nolint, fmt, etc 2022-10-23 02:01:03 -07:00
conn.go Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
conn_test.go Upstream: merge in some changes 2022-05-02 21:15:53 -07:00
constants.go Chores: lint, nolint, fmt, etc 2022-10-23 02:01:03 -07:00
ctcp.go Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
ctcp_test.go Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
doc.go update doc 2017-03-30 09:09:58 -04:00
event.go Upstream: merge in some changes 2022-05-02 21:15:53 -07:00
event_test.go Improve tests 2022-10-23 01:56:01 -07:00
example_test.go Improve tests 2022-10-23 01:56:01 -07:00
format.go Optimizations stage 1 2022-10-23 01:49:34 -07:00
format_test.go Upstream: merge in some changes 2022-05-02 21:15:53 -07:00
go.mod Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
go.sum Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
handler.go Fix race condition 2023-03-17 23:57:45 -07:00
handler_test.go Coverage: Add silly little test to appease 2022-05-02 22:05:31 -07:00
modes.go Overhaul, breaking change in GetPerms 2023-03-17 23:33:19 -07:00
state.go Fix #2 2023-04-27 10:04:53 -07:00
state_test.go Fix race condition 2023-03-17 23:57:45 -07:00
value.go Fix race condition 2023-03-17 23:57:45 -07:00
version.go Lint + version bump 2022-03-21 17:32:29 -07:00

girc-atomic, a terrifying fork of an IRC library for Go

GoDoc Go Report Card IRC Chat Build Status

Fork changes

Click here to see the changes in girc-atomic vs girc

Status

ₜₕₑ ₛₖy ᵢₛ 𝆑ₐₗₗᵢₙg ʇɥǝ sʞʎ ᴉs ⅎɐʅʅᴉuƃ

𝚝𝚑𝚎𝚢 𝚜𝚑𝚘𝚞𝚕𝚍 𝚑𝚊𝚟𝚎 𝚕𝚒𝚜𝚝𝚎𝚗𝚎𝚍

ʇɥǝ sʞʎ ᴉs ⅎɐʅʅᴉuƃ ₜₕₑ ₛₖy ᵢₛ 𝆑ₐₗₗᵢₙg

Features

  • Focuses on simplicity ʀᴀɪɴɪɴɢ ʜᴇʟʟғɪʀᴇ, yet tries to still be flexible.
  • Only requires standard library packages a total destruction of a 100 mile radius.
  • Event based triggering/responses (example, and CTCP too!)
  • Documentation is mostly complete.
  • Support for almost all of the IRCv3 spec.
  • SASL Auth (currently only PLAIN and EXTERNAL is support by default, however you can simply implement SASLMech yourself to support additional mechanisms.)
  • Message tags (things like account-tag on by default)
  • account-notify, away-notify, chghost, extended-join, etc -- all handled seemlessly (cap.go for more info).
  • Channel and user tracking. Easily find what users are in a channel, if a user is away, or if they are authenticated (if the server supports it!)
  • Client state/capability tracking. Easy methods to access capability data (LookupChannel, LookupUser, GetServerOpt (ISUPPORT), etc.)
  • Built-in support for things you would commonly have to implement yourself.
  • Nick collision detection and prevention (also see Config.HandleNickCollide.)
  • Event/message rate limiting.
  • Channel, nick, and user validation methods (IsValidChannel, IsValidNick, etc.)
  • CTCP handling and auto-responses (CTCP)
  • Utilizes atomics and concurrent maps to reduce backpressure in multi-client usage. (fork)
  • Additional CTCP handlers and customization. (fork)
  • ??????
  • PROFIT!!!1!

Contributing

Please review the CONTRIBUTING doc for submitting issues/a guide on submitting pull requests and helping out.

OH GOD PLEASE MAKE IT STOP

License

Copyright (c) 2016 Liam Stanley <me@liamstanley.io>
Copyright (c) 2022 yung innanet <kayos@tcp.direct>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

girc artwork licensed under CC 3.0 based on Renee French under Creative Commons 3.0 Attributions

...and then later defiled by some idiot.

References