{"id":23357905,"url":"https://github.com/thinreports/thinreports-examples","last_synced_at":"2026-02-17T01:33:33.162Z","repository":{"id":3904050,"uuid":"4992446","full_name":"thinreports/thinreports-examples","owner":"thinreports","description":"Code examples for Thinreports","archived":false,"fork":false,"pushed_at":"2021-12-12T17:27:54.000Z","size":481,"stargazers_count":20,"open_issues_count":1,"forks_count":20,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-04T17:12:59.350Z","etag":null,"topics":["thinreports"],"latest_commit_sha":null,"homepage":"https://github.com/thinreports/thinreports","language":"Ruby","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/thinreports.png","metadata":{"files":{"readme":"README-ja.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}},"created_at":"2012-07-11T17:23:25.000Z","updated_at":"2024-10-07T05:22:59.000Z","dependencies_parsed_at":"2022-09-05T06:50:26.063Z","dependency_job_id":null,"html_url":"https://github.com/thinreports/thinreports-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thinreports/thinreports-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinreports%2Fthinreports-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinreports%2Fthinreports-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinreports%2Fthinreports-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinreports%2Fthinreports-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinreports","download_url":"https://codeload.github.com/thinreports/thinreports-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinreports%2Fthinreports-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29529475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T00:57:22.232Z","status":"ssl_error","status_checked_at":"2026-02-17T00:54:25.811Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["thinreports"],"created_at":"2024-12-21T10:34:14.665Z","updated_at":"2026-02-17T01:33:33.142Z","avatar_url":"https://github.com/thinreports.png","language":"Ruby","readme":"# Thinreports Examples\n\nThe official examples for Thinreports.\n\n[English \u0026#187;](https://github.com/thinreports/thinreports-examples/blob/master/README.md)\n\n## Features\n\n### [TextBlock tool](https://github.com/thinreports/thinreports-examples/tree/master/text-block)\n\n[Generator](http://www.thinreports.org/) から動的な値を挿入可能なテキストブロックツールの使い方サンプルです。基本的な使い方から、日付時刻書式や数値書式、字詰め書式などの簡易書式についても解説しています。\n\n### [ImageBlock tool](https://github.com/thinreports/thinreports-examples/tree/master/image-block)\n\n[Generator](http://www.thinreports.org/) から動的な画像を挿入可能なイメージブロックツールの使い方サンプルです。\n\n### [Use external character](https://github.com/thinreports/thinreports-examples/tree/master/eudc)\n\n`0.7.0` より、PDFに外字を表示・埋め込むことが可能になりました。そのコード例と外字フォントのセットアップ方法について解説しています。\n\n### [Use Event](https://github.com/thinreports/thinreports-examples/tree/master/event)\n\nThinreportsでは、帳票の生成ユーティリティとして「簡易イベントモデル」を提供しています。イベントを使うことにより、共通の処理を一元化したり、総ページ数の描画やさまざまな使い方が可能です。\n\n### [Use multiple layouts](https://github.com/thinreports/thinreports-examples/tree/master/multiple-layout)\n\n用紙サイズの異なる帳票やレイアウトの異なる帳票などを組み合わせて一つの帳票を作成する方法を解説しています。\n\n### [List](https://github.com/thinreports/thinreports-examples/tree/master/list)\n\nThinreportsでは、一覧表を一つの機能として提供しており最大行数を超えた場合の自動改ページ機能もサポートしています。基本的な一覧表からページフッター/フッターを使った高度な一覧表について解説しています。\n\n### [PDF Security](https://github.com/thinreports/thinreports-examples/tree/master/permission)\n\n生成するPDFの暗号化/パスワードロック/操作制限等のセキュリティを設定する方法について解説しています。\n\n## Usage Examples\n\n### [Rails Example](https://github.com/thinreports/thinreports-rails-example)\n\nRailsとThinreportsを使った簡単なタスク管理アプリケーションのソースコードです。 [thinreports-rails](https://github.com/takeshinoda/thinreports-rails) も使っています。\n\n### [Embed graph using GoogleChartAPI](https://github.com/thinreports/thinreports-examples/tree/master/chart)\n\n`0.7.0` の新機能「イメージブロック」と [Google Chart API](https://developers.google.com/chart/) を使って各種グラフやQRコードを埋め込む例です。\n\n### [Embed barcode](https://github.com/thinreports/thinreports-examples/tree/master/barcode)\n\n`0.7.0` の新機能「イメージブロック」とRubyのバーコード生成ライブラリ [barby](http://toreto.re/barby/) を使って、基本的なバーコードを動的に生成する例です。\n\n### [Estimate](https://github.com/thinreports/thinreports-examples/tree/master/estimate-ja)\n\nヘッダー部と一覧部を持つ、一般的な見積書のサンプルです。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinreports%2Fthinreports-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinreports%2Fthinreports-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinreports%2Fthinreports-examples/lists"}