{"id":20717739,"url":"https://github.com/vmj/slacklog-java","last_synced_at":"2026-05-26T13:36:01.467Z","repository":{"id":139274080,"uuid":"100890995","full_name":"vmj/slacklog-java","owner":"vmj","description":"Java bindings for Python slacklog module","archived":false,"fork":false,"pushed_at":"2019-03-15T22:54:14.000Z","size":202,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T22:21:34.692Z","etag":null,"topics":["changelog","feed","generator","java","slackware"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmj.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-20T21:58:00.000Z","updated_at":"2019-03-15T22:51:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"359138f5-c0cd-4f67-b2ff-2f1972bbb81f","html_url":"https://github.com/vmj/slacklog-java","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fslacklog-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fslacklog-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fslacklog-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fslacklog-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmj","download_url":"https://codeload.github.com/vmj/slacklog-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242990453,"owners_count":20217990,"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":["changelog","feed","generator","java","slackware"],"created_at":"2024-11-17T03:09:59.309Z","updated_at":"2026-05-26T13:36:01.414Z","avatar_url":"https://github.com/vmj.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Slacklog Java\n\nJava wrapper for Python https://pypi.python.org/pypi/slacklog[slacklog] module.\n\nslacklog-java provides a library to convert a Slackware ChangeLog into other formats.\nCurrently, RSS, Atom, JSON and PyBlosxom formats are supported.\n\n * Source code: https://github.com/vmj/slacklog-java\n * Builds status: https://travis-ci.org/vmj/slacklog-java\n * Docs: https://www.javadoc.io/doc/fi.linuxbox.slacklog/slacklog-java\n\n== Example usage\n\n[source,java]\n----\nimport fi.linuxbox.slacklog.formatters.SlackLogJsonFormatter;\nimport fi.linuxbox.slacklog.models.SlackLog;\nimport fi.linuxbox.slacklog.parsers.SlackLogParser;\nimport org.python.core.Py;\nimport org.python.core.PySystemState;\n\nimport java.io.IOException;\nimport java.nio.charset.Charset;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\nimport static java.nio.charset.StandardCharsets.ISO_8859_1;\nimport static java.nio.charset.StandardCharsets.UTF_8;\n\npublic class Example {\n\n    public static void main(String... args) throws IOException {\n        // Initialize Jython\n        PySystemState.initialize();\n\n        // Read the source ChangeLog.txt\n        final String changelog = read(\"src/test/resources/ChangeLog.txt\", ISO_8859_1);\n\n        // Parse the ChangeLog.txt\n        final SlackLog slacklog = new SlackLogParser().parse(changelog);\n\n        // Convert the ChangeLog to JSON\n        final SlackLogJsonFormatter formatter = new SlackLogJsonFormatter();\n        formatter.setIndent(4);\n        final String json = formatter.format(slacklog);\n\n        // Write the output\n        write(\"src/test/resources/ChangeLog.json\", json.getBytes(UTF_8));\n\n        // Close the resources\n        Py.getSystemState().close();\n    }\n\n    private static String read(final String path, final Charset charset) throws IOException {\n        return new String(Files.readAllBytes(Paths.get(path)), charset);\n    }\n\n    private static void write(final String path, final byte[] data) throws IOException {\n        Files.write(Paths.get(path), data);\n    }\n}\n----\n\n== Requirements\n\nSlacklog Java requires Java 8.  This library is available at\nhttp://search.maven.org/#search%7Cga%7C1%7Cg%3A%22fi.linuxbox.slacklog%22[The Central Repository] and\nhttps://bintray.com/search?sort=last_updated\u0026query=fi.linuxbox.slacklog[jcenter]\n\n== Authors\n\nOriginal author and current maintainer is Mikko Värri (vmj@linuxbox.fi).\n\n== License\n\nslacklog-java is Free Software, licensed under GNU General Public License\n(GPL), version 3 or later.  See LICENSE.txt file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmj%2Fslacklog-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmj%2Fslacklog-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmj%2Fslacklog-java/lists"}