<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kamusku/client.go, branch main</title>
<subtitle>Open source HTTP API for Kamus Besar Bahasa Indonesia.</subtitle>
<id>http://git.kilabit.info/kamusku/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/kamusku/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/'/>
<updated>2025-07-14T16:44:57Z</updated>
<entry>
<title>all: replace golangci-lint with internal linter</title>
<updated>2025-07-14T16:44:57Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-07-14T16:41:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=7f0664344c75f502e7e8f1baf1e394bcbb5ca1ad'/>
<id>urn:sha1:7f0664344c75f502e7e8f1baf1e394bcbb5ca1ad</id>
<content type='text'>
The internal/cmd/gocheck use the go static analysis [Analyzer] that are
not included in the default go vet.

By using gocheck we found un-alignment and shadowing,

* client.go:18:13: struct with 24 pointer bytes could be 16
* dictionary.go:23:17: struct with 32 pointer bytes could be 16
* client_test.go:18:13: struct with 56 pointer bytes could be 48
* client_test.go:62:13: struct with 56 pointer bytes could be 48
* cmd/kamusku-telegram-bot/main.go:31:3: declaration of "err" shadows
  declaration at line 25
* kamusku_test.go:49:3: declaration of "err" shadows declaration at
  line 38

[Analyzer]: https://pkg.go.dev/golang.org/x/tools/go/analysis#hdr-Analyzer
</content>
</entry>
<entry>
<title>all: remove unused Client and activeClient</title>
<updated>2024-04-17T17:41:07Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-17T17:33:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=1a6d02199e0d44024648c5e805f8f10d7fc4b30a'/>
<id>urn:sha1:1a6d02199e0d44024648c5e805f8f10d7fc4b30a</id>
<content type='text'>
Since we now only have one client, apiClient, rename it to Client so it
can be used by other module or package later.
</content>
</entry>
<entry>
<title>all: rename the module to "kamusku"</title>
<updated>2024-04-17T17:41:07Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-17T16:51:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=a28f1684d9b427149f7a8f03f865bdf57eafc08e'/>
<id>urn:sha1:a28f1684d9b427149f7a8f03f865bdf57eafc08e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: re-license the project to GPL-3.0 or later</title>
<updated>2024-04-06T12:28:53Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-06T11:09:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=def8f703c311acedc77310557f3363eee2de7957'/>
<id>urn:sha1:def8f703c311acedc77310557f3363eee2de7957</id>
<content type='text'>
For the reason why we choose GPL v3 see
https://kilabit.info/journal/2022/gpl/.

While at it, we make the project comply with REUSE Specification
version 3.0.
</content>
</entry>
<entry>
<title>all: replace "share" module with "pakakeh.go"</title>
<updated>2024-04-06T10:44:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-06T10:44:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=3245b00f0246f7f2f0afd8635cfd3ff9bf2cf584'/>
<id>urn:sha1:3245b00f0246f7f2f0afd8635cfd3ff9bf2cf584</id>
<content type='text'>
The "share" module has been moved to new forge, SourceHut, with new name
"pakakeh.go".
</content>
</entry>
<entry>
<title>all: rewrite the server</title>
<updated>2021-01-30T23:16:54Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-01-30T21:56:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=6c7bfd42bc1128f5969e9e40b23d6b828601f7cb'/>
<id>urn:sha1:6c7bfd42bc1128f5969e9e40b23d6b828601f7cb</id>
<content type='text'>
This commit move the directClient to different repository called kamusku
and changes the module name from kamusku to kamusd.
</content>
</entry>
<entry>
<title>all: rename the module to "kamusku"</title>
<updated>2020-05-29T20:26:34Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-05-29T20:26:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=734ce643ecbc992834a8f78b44904b82b09bc84b'/>
<id>urn:sha1:734ce643ecbc992834a8f78b44904b82b09bc84b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: refactoring client to load cookies automatically</title>
<updated>2020-04-11T21:35:58Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-04-11T21:35:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=9cf57fc952e4161c8e7fc5c9de8869d3137acb20'/>
<id>urn:sha1:9cf57fc952e4161c8e7fc5c9de8869d3137acb20</id>
<content type='text'>
When creating new client, the directClient will autoload cookies in
predefined location.

If Login is called, the cookies will autosave directly to predefined
location.

This will allow the server to use authenticated directClient to mitigate
the limit on KBBI official server.
</content>
</entry>
<entry>
<title>all: implement server and client for dictionary API</title>
<updated>2020-03-31T23:28:03Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-03-30T18:11:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=8a141995aabdee289d2b096bd77a10b52b08a1bf'/>
<id>urn:sha1:8a141995aabdee289d2b096bd77a10b52b08a1bf</id>
<content type='text'>
Currently the server and client can onyl handle API for looking up
definitions of the words through "/api/definisi" URL.
</content>
</entry>
<entry>
<title>all: refactoring Client</title>
<updated>2020-03-30T16:15:47Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-03-30T16:15:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kamusku/commit/?id=84fdfdb6ae4175a125fc67a6aed377476d31ee0e'/>
<id>urn:sha1:84fdfdb6ae4175a125fc67a6aed377476d31ee0e</id>
<content type='text'>
The client will have two mode: direct or API.  The direct mode connect
to official KBBI website, request the word page, and parse the HTML to
get the definition.  The API mode connect to server API that provide
caching of dictionary.
</content>
</entry>
</feed>
