[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8042":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},8042,"dragonfly","markevans\u002Fdragonfly","markevans","A Ruby gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more!","http:\u002F\u002Fmarkevans.github.io\u002Fdragonfly",null,"Ruby",2109,242,23,64,0,1,59.76,"MIT License",false,"master",true,[],"2026-06-12 04:00:37","Dragonfly\n===========\n\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Fmarkevans\u002Fdragonfly.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Fmarkevans\u002Fdragonfly)\n\nHello!!\nDragonfly is a highly customizable ruby gem for handling images and other attachments and is already in use on thousands of websites.\n\nIf you want to generate image thumbnails in Rails ...\n```ruby\nclass User \u003C ActiveRecord::Base  # model\n  dragonfly_accessor :photo\nend\n```\n```erb\n\u003C%= image_tag @user.photo.thumb('300x200#').url if @user.photo_stored? # view %>\n```\n\n... or generate text images on-demand in Sinatra ...\n```ruby\nget \"\u002F:text\" do |text|\n  Dragonfly.app.generate(:text, text, \"font-size\" => 32).to_response(env)\nend\n```\n\n... or just generally manage attachments in your web app ...\n```ruby\nwav = Dragonfly.app.fetch_url(\"http:\u002F\u002Ffree.music\u002Flard.wav\")  # GET from t'interwebs\nmp3 = wav.to_mp3  # to_mp3 is a custom processor\nuid = mp3.store   # store in the configured datastore, e.g. S3\n\nurl = Dragonfly.app.remote_url_for(uid)  # ===> http:\u002F\u002Fs3.amazon.com\u002Fmy-stuff\u002Flard.mp3\n```\n\n... then Dragonfly is for you! See [the documentation](http:\u002F\u002Fmarkevans.github.io\u002Fdragonfly) to get started!\n\nDocumentation\n=============\n\u003Ca href=\"http:\u002F\u002Fmarkevans.github.io\u002Fdragonfly\">\u003Cbig>\u003Cstrong>THE MAIN DOCUMENTATION IS HERE!!!\u003C\u002Fstrong>\u003C\u002Fbig>\u003C\u002Fa>\n\n\u003Ca href=\"http:\u002F\u002Frubydoc.info\u002Fgithub\u002Fmarkevans\u002Fdragonfly\u002Fframes\">RDoc documentation is here\u003C\u002Fa>\n\nInstallation\n============\n\n    gem install dragonfly\n\nor in your Gemfile\n```ruby\ngem 'dragonfly', '~> 1.4.0'\n```\n\nRequire with\n```ruby\nrequire 'dragonfly'\n```\nArticles\n========\nSee [the Articles wiki](http:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fwiki\u002FArticles) for articles and tutorials.\n\nPlease feel free to contribute!!\n\nExamples\n========\nSee [the Wiki](http:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fwiki) and see the pages list for examples.\n\nPlease feel free to contribute!!\n\nPlugins \u002F add-ons\n=================\nSee [the Add-ons wiki](http:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fwiki\u002FDragonfly-add-ons).\n\nPlease feel free to contribute!!\n\nSecurity notice!\n=================\nIf you have set `verify_urls` to `false` (which is **not** recommended) then you should upgrade to version `1.4.x` for a security fix ([CVE-2021-33564](https:\u002F\u002Fcve.mitre.org\u002Fcgi-bin\u002Fcvename.cgi?name=CVE-2021-33564)).\n\nIssues\n======\nPlease use the \u003Ca href=\"http:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fissues\">github issue tracker\u003C\u002Fa> if you have any issues.\n\nKnown Issues\n============\nThere are known issues when using with json gem version 1.5.2 which can potentially cause an \"incorrect sha\" error for files with non-ascii characters in the name. Please see https:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fissues\u002F387 for more information.\n\nSuggestions\u002FQuestions\n=====================\n\u003Ca href=\"http:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fdragonfly-users\">Google group dragonfly-users\u003C\u002Fa>\n\nRuby Versions\n=============\nSee [Travis-CI](https:\u002F\u002Ftravis-ci.org\u002Fmarkevans\u002Fdragonfly) for tested versions.\n\nUpgrading from v0.9 to v1.0\n===========================\nDragonfly has changed somewhat since version 0.9.\nSee [the Upgrading wiki](http:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fwiki\u002FUpgrading-from-0.9-to-1.0) for notes on changes, and feel free to add anything you come across while upgrading!\n\nChanges are listed in [History.md](https:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fblob\u002Fmaster\u002FHistory.md)\n\nIf for whatever reason you can't upgrade, then\n\u003Ca href=\"http:\u002F\u002Fmarkevans.github.io\u002Fdragonfly\u002Fv0.9.15\">the docs for version 0.9.x are here\u003C\u002Fa>.\n\nCredits\n=======\n[Mark Evans](http:\u002F\u002Fgithub.com\u002Fmarkevans) (author) with awesome contributions from\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmarkevans\u002Fdragonfly\u002Fgraphs\u002Fcontributors\">these guys\u003C\u002Fa>\n","Dragonfly 是一个用于实时处理图片和其他附件的高度可定制 Ruby 宝石，适用于 Rails、Sinatra 等多种 Web 应用。其核心功能包括生成图片缩略图、按需生成文本图像以及管理 Web 应用中的各种附件。通过简单的配置，可以轻松地将 Dragonfly 与 S3 等数据存储集成。该项目非常适合需要高效处理和管理图片及其他文件的 Web 开发场景，无论是小型项目还是大规模应用都能受益于其强大的处理能力和灵活性。",2,"2026-06-11 03:15:47","top_language"]