{"id":13739125,"url":"https://github.com/i2p/libsam3","last_synced_at":"2025-04-06T04:35:29.843Z","repository":{"id":55677619,"uuid":"76703551","full_name":"i2p/libsam3","owner":"i2p","description":"C SAMv3 library","archived":false,"fork":false,"pushed_at":"2024-04-29T23:09:59.000Z","size":317,"stargazers_count":29,"open_issues_count":7,"forks_count":22,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-04T04:04:44.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://geti2p.net/en/docs/api/samv3","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i2p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-12-17T04:25:08.000Z","updated_at":"2024-08-02T07:31:27.000Z","dependencies_parsed_at":"2022-08-15T06:20:20.239Z","dependency_job_id":"7ac11c47-8ef5-4917-8347-c01b8c17688b","html_url":"https://github.com/i2p/libsam3","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2p%2Flibsam3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2p%2Flibsam3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2p%2Flibsam3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2p%2Flibsam3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i2p","download_url":"https://codeload.github.com/i2p/libsam3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223238131,"owners_count":17111362,"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":[],"created_at":"2024-08-03T04:00:25.665Z","updated_at":"2024-11-05T20:07:57.287Z","avatar_url":"https://github.com/i2p.png","language":"C","funding_links":[],"categories":["Libraries"],"sub_categories":["SAM"],"readme":"# libsam3\n\n[![Build Status](https://travis-ci.org/i2p/libsam3.svg?branch=master)](https://travis-ci.org/i2p/libsam3)\n\nA C library for the [SAM v3 API](https://geti2p.net/en/docs/api/samv3).\n\n## Development Status\n\nMaintained by idk, PRs are accepted on [I2P gitlab](https://i2pgit.org/i2p-hackers/libsam3)/[I2P gitlab](http://git.idk.i2p/i2p-hackers/libsam3), and on github at the official mirror repository: [i2p/libsam3](https://github.com/i2p/libsam3).\n\n## Usage\n\nCopy the two files from one of the following locations into your codebase:\n\n- `src/libsam3` - Synchronous implementation.\n- `src/libsam3a` - Asynchronous implementation.\n\nSee `examples/` for how to use various parts of the API.\n\n## Cross-Compiling for Windows from debian:\n\nSet your cross-compiler up:\n\n``` sh\nexport CC=x86_64-w64-mingw32-gcc\nexport CFLAGS='-Wall -O2 '\nexport LDFLAGS='-lmingw32 -lws2_32 -lwsock32 -mwindows'\n```\n\nand run `make build`. Only libsam3 is available for Windows, libsam3a will be\nmade available at a later date.\n`\n\n## Linker(Windows)\n\nWhen building for Windows remember to set the flags to link to the Winsock and Windows\nlibraries.\n\n`-lmingw32 -lws2_32 -lwsock32 -mwindows`\n\nThis may apply when cross-compiling or compiling from Windows with mingw.\n\n## Cool Projects using libsam3\n\nAre you using libsam3 to provide an a cool I2P based feature to your project? Let us know about it(and how\nit uses libsam3) and we'll think about adding it here*!\n\n 1. [Retroshare](https://retroshare.cc)\n\n*Projects which are listed here must be actively maintained. Those which intentionally violate\nthe law or the rights of a person or persons directly won't be considered. Neither will obvious\ntrolling. The maintainer will make the final decision.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi2p%2Flibsam3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi2p%2Flibsam3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi2p%2Flibsam3/lists"}