{"id":4042237,"name":"github.com/tailscale/sqlite","ecosystem":"go","description":"Package sqlite implements a database/sql driver for SQLite3.\n\nThis driver requires a file: URI always be used to open a database.\nFor details see https://sqlite.org/c3ref/open.html#urifilenames.\n\nIf you want to do initial configuration of a connection, or enable\ntracing, use the Connector function:\n\nIn-memory databases are popular for tests.\nUse the \"memdb\" VFS (*not* the legacy in-memory modes) to be compatible\nwith the database/sql connection pool:\n\nUse a different dbname for each memory database opened.\n\nSQLite is flexible about type conversions, and so is this driver.\nAlmost all \"basic\" Go types (int, float64, string) are accepted and\ndirectly mapped into SQLite, even if they are named Go types.\nThe time.Time type is also accepted (described below).\nValues that implement encoding.TextMarshaler or json.Marshaler are\nstored in SQLite in their marshaled form.\n\nWhile SQLite3 has no strict time datatype, it does have a series of built-in\nfunctions that operate on timestamps that expect columns to be in one of many\nformats: https://sqlite.org/lang_datefunc.html\n\nWhen encoding a time.Time into one of SQLite's preferred formats, we use the\nshortest timestamp format that can accurately represent the time.Time.\nThe supported formats are:\n\nIf the time.Time is not UTC (strongly consider storing times in UTC!),\nwe follow SQLite's norm of appending \"[+-]HH:MM\" to the above formats.\n\nIt is common in SQLite to store \"Unix time\", seconds-since-epoch in an\nINTEGER column. This is understood by the date and time functions documented\nin the link above. If you want to do that, pass the result of time.Time.Unix\nto the driver.\n\nIn general, time is hard to extract from SQLite as a time.Time.\nIf a column is defined as DATE or DATETIME, then text data is parsed\nas TimeFormat and returned as a time.Time. Integer data is parsed as\nseconds since epoch and returned as a time.Time.","homepage":"https://github.com/tailscale/sqlite","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/tailscale/sqlite","keywords_array":[],"namespace":"github.com/tailscale","versions_count":19,"first_release_published_at":"2021-12-31T20:07:45.000Z","latest_release_published_at":"2024-01-17T07:17:18.000Z","latest_release_number":"v0.0.0-20240117071718-c3059d39980a","last_synced_at":"2026-03-28T02:46:04.619Z","created_at":"2022-04-12T09:40:17.954Z","updated_at":"2026-03-28T02:46:04.619Z","registry_url":"https://pkg.go.dev/github.com/tailscale/sqlite","install_command":"go get github.com/tailscale/sqlite","documentation_url":"https://pkg.go.dev/github.com/tailscale/sqlite#section-documentation","metadata":{},"repo_metadata":{"id":37952828,"uuid":"375093206","full_name":"tailscale/sqlite","owner":"tailscale","description":"work in progress","archived":false,"fork":false,"pushed_at":"2025-10-15T22:19:20.000Z","size":6754,"stargazers_count":210,"open_issues_count":12,"forks_count":7,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-10-16T23:18:37.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailscale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-08T17:33:14.000Z","updated_at":"2025-10-16T05:24:36.000Z","dependencies_parsed_at":"2023-09-22T05:32:50.136Z","dependency_job_id":"dc3edb74-f618-420b-9e6f-047746763940","html_url":"https://github.com/tailscale/sqlite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tailscale/sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fsqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fsqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fsqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fsqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailscale","download_url":"https://codeload.github.com/tailscale/sqlite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fsqlite/sbom","scorecard":{"id":865916,"data":{"date":"2025-08-18","repo":{"name":"github.com/tailscale/sqlite","commit":"1673cdf564b7a5fc67bd8e546d467c2f408e98c2"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":5.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test-sqlite.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-sqlite.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/tailscale/sqlite/test-sqlite.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-sqlite.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/tailscale/sqlite/test-sqlite.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T02:41:43.889Z","repository_id":37952828,"created_at":"2025-08-24T02:41:43.889Z","updated_at":"2025-08-24T02:41:43.889Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279656642,"owners_count":26206380,"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","status":"online","status_checked_at":"2025-10-18T02:00:06.492Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"tailscale","name":"Tailscale","uuid":"48932923","kind":"organization","description":"Tailscale is a WireGuard-based app that makes secure, private networks easy for teams of any scale.","email":"info@tailscale.com","website":"https://tailscale.com","location":"Canada","twitter":"tailscale","company":null,"icon_url":"https://avatars.githubusercontent.com/u/48932923?v=4","repositories_count":105,"last_synced_at":"2025-09-29T23:44:35.984Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/tailscale","funding_links":[],"total_stars":35996,"followers":2428,"following":0,"created_at":"2022-11-14T05:42:32.512Z","updated_at":"2025-09-29T23:44:35.984Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailscale","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailscale/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-10-26T13:22:59.419Z","dependent_packages_count":5,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":4.716716996980181,"dependent_packages_count":2.5010499370037795,"stargazers_count":4.015960715773948,"forks_count":7.8383297002179875,"docker_downloads_count":null,"average":4.768014337493974},"purl":"pkg:golang/github.com/tailscale/sqlite","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/tailscale/sqlite","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/tailscale/sqlite","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/tailscale/sqlite/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-28T20:50:16.988Z","issues_count":13,"pull_requests_count":108,"avg_time_to_close_issue":7289046.0,"avg_time_to_close_pull_request":778897.3431372549,"issues_closed_count":5,"pull_requests_closed_count":102,"pull_request_authors_count":13,"issue_authors_count":9,"avg_comments_per_issue":0.3076923076923077,"avg_comments_per_pull_request":0.6388888888888888,"merged_pull_requests_count":97,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":11,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":74959.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":10,"past_year_pull_request_authors_count":4,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.9090909090909091,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":10,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fsqlite/issues","maintainers":[{"login":"crawshaw","count":37,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/crawshaw"},{"login":"bradfitz","count":21,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/bradfitz"},{"login":"raggi","count":16,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/raggi"},{"login":"creachadair","count":11,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/creachadair"},{"login":"andrew-d","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andrew-d"},{"login":"willnorris","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/willnorris"},{"login":"danderson","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/danderson"},{"login":"kradalby","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/kradalby"},{"login":"sailorfrag","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sailorfrag"},{"login":"Xe","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Xe"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ftailscale%2Fsqlite/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ftailscale%2Fsqlite/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ftailscale%2Fsqlite/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ftailscale%2Fsqlite/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ftailscale%2Fsqlite/codemeta","maintainers":[]}