<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kbbi/client.go, branch main</title>
<subtitle>Go library and program as an interface for KBBI.</subtitle>
<id>http://git.kilabit.info/kbbi/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/kbbi/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/'/>
<updated>2026-02-06T12:48:56Z</updated>
<entry>
<title>all: change the host address and revert minimum TLS</title>
<updated>2026-02-06T12:48:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-06T12:48:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=7a38b33247a339e4be80d2bfa040c5ba9e0c051b'/>
<id>urn:sha1:7a38b33247a339e4be80d2bfa040c5ba9e0c051b</id>
<content type='text'>
The host kbbi.kemdikbud.go.id has been deactivated and changes to
kbbi.kemendikdasmen.go.id.

The minimum TLS 1.3 that we set in 0933476ff610 reverted because seems
like the website is not under cloudflare but under toffsmcdn.net.
</content>
</entry>
<entry>
<title>all: use login with two attempts</title>
<updated>2025-01-11T18:49:28Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-11T18:49:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=7dc39f66a28bf8493087dd0a102c02f5a064913e'/>
<id>urn:sha1:7dc39f66a28bf8493087dd0a102c02f5a064913e</id>
<content type='text'>
The first attempt detect if we have been blocked by Cloudflare
and store the response cookies.
The second attempt request again with cookies.
Hopefully, this solve the request login being blocked.

While at it, add debug code to dump the HTTP request headers
on preLogin and Lookup.
</content>
</entry>
<entry>
<title>all: add options for Client</title>
<updated>2025-01-11T07:14:15Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-11T07:14:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=95c8ba5699efa80fc19f7e210bcf4d1e189244e2'/>
<id>urn:sha1:95c8ba5699efa80fc19f7e210bcf4d1e189244e2</id>
<content type='text'>
Currently, the options contains Debug field that print the HTML
response as text when set to 1.
</content>
</entry>
<entry>
<title>client: fix connection being blocked by CloudFlare</title>
<updated>2025-01-01T20:14:16Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-12-13T05:02:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=0933476ff61089bd5d846ebc48c4c9160302e802'/>
<id>urn:sha1:0933476ff61089bd5d846ebc48c4c9160302e802</id>
<content type='text'>
I think the admin of kbbi set the HTTPS mode minimal to version 1.3, which
cause Go (that use TLS v1.2 by default, but have 1.3 as maximum) being
rejected during handshake.
</content>
</entry>
<entry>
<title>client: use libhttp.Client instead of standard http.Client</title>
<updated>2025-01-01T20:14:16Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-12-12T12:56:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=29905485926706ca462c95a793d4312e86434357'/>
<id>urn:sha1:29905485926706ca462c95a793d4312e86434357</id>
<content type='text'>
The libhttp.Client provides much simpler API, where we can define global
headers once, like UserAgent and does not need to manually read the
response body.
</content>
</entry>
<entry>
<title>wip: support paging when fetching list of words</title>
<updated>2024-09-08T07:42:31Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-08T06:53:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=1797eb6cf1201013de7101651c41d43e409d26d2'/>
<id>urn:sha1:1797eb6cf1201013de7101651c41d43e409d26d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: realign some struct for compact layout</title>
<updated>2024-09-08T07:01:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-08T07:01:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=9cdbccc13eb68e6d2c0067a009416f0e766dccc8'/>
<id>urn:sha1:9cdbccc13eb68e6d2c0067a009416f0e766dccc8</id>
<content type='text'>
Changes,

* struct Client realigned from 56 to 40 bytes (-16)
* struct Word realigned from 72 to 56 bytes (-16)
* anonymous struct in test realigned from 40 to 32 bytes (-8)
</content>
</entry>
<entry>
<title>all: rename the module and package to "kbbi"</title>
<updated>2024-04-17T16:31:39Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-17T16:31:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/kbbi/commit/?id=a6629b6a1f40616dbf3e5f78c76d601f3b89127a'/>
<id>urn:sha1:a6629b6a1f40616dbf3e5f78c76d601f3b89127a</id>
<content type='text'>
Since this module is connecting to KBBI server directly, the module and
package name now reflect that, hence we rename them to kbbi.

Another reason is we have an internal module named kamusku, in another
repository.
</content>
</entry>
</feed>
