Subpackage collection for web, database, terminal ui, gui, scripting, and more with a commitment to long-term compatibility and stability. Use individual subpackages instead of the overall package to avoid bringing in things you don't need/want!
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
arsd-official:simpledisplay - Window creation and basic drawing
arsd-official:minigui - Small GUI widget library for Windows and Linux
arsd-official:nanovega - Vector graphics library
arsd-official:minigui-nanovega - Nanovega widget add-on for minigui. New in v9.2.
arsd-official:gamehelpers - Assorted game-related structs and algorithms
arsd-official:joystick - joystick reading for Windows XInput and Linux
arsd-official:fibersocket - Phobos-based fiber socket async i/o subclass
arsd-official:email - Email helper library, both sending MIME messages and parsing incoming mbox/maildir messages
arsd-official:mailserver - Bare-bones incoming-only smtp server
arsd-official:image_files - Various image file format support - PNG read/write, JPEG, TGA, BMP, PCX, TGA, DDS read.
arsd-official:imageresize - Image resizer for color.d's MemoryImage
arsd-official:simpleaudio - Simple audio+midi playback and capture for Windows and Linux
arsd-official:midi - midi file format classes
arsd-official:nukedopl3 - nukedopl3 emulator port, required by simpleaudio's playEmulatedOpl3Midi functio
arsd-official:mp3 - MP3 decoder. Required if you use simpleaudio's playMp3 function
arsd-official:vorbis - Ogg vorbis decoder. Required if you use simpleaudio's playOgg function
arsd-official:wav - wav file format read and write
arsd-official:svg - Dependency-free partial SVG file format read support
arsd-official:jpeg - Dependency-free partial JPEG file format read and write support
arsd-official:png - PNG file format support
arsd-official:bmp - BMP file format support
arsd-official:htmltotext - HTML to plain text conversion
arsd-official:dom - HTML tag soup DOM library
arsd-official:rss - RSS/Atom parsing
arsd-official:characterencodings - Character encodings to UTF-8
arsd-official:argon2 - Binding to the argon2 password hashing C library
arsd-official:cgi - web server library with cgi, fastcgi, scgi, and embedded http server support
arsd-official:mysql - MySQL client library. Wraps the official C library with my database.d interface.
arsd-official:postgres - Postgresql client library. Wraps the libpq C library with my database.d interface.
arsd-official:sqlite - sqlite wrapper. Wraps the official C library with my database.d interface.
arsd-official:mssql - Microsoft SQL Server client library. Wraps the official ODBC library with my database.d interface.
arsd-official:http - HTTP client library. Depends on OpenSSL right now on all platforms. On 32 bit Windows, you may need to get OMF openssl lib and dlls (ask me if you can't find it)
arsd-official:jni - Provides easy interop with Java via JNI.
arsd-official:terminal - Cross-platform Terminal I/O with color, mouse support, real time input, etc.
arsd-official:terminalemulator - A terminal emulation core as an in-memory library. Also includes mixin templates to assist with creating UIs, etc.
arsd-official:ttf - port of stb_ttf to D
arsd-official:color_base - Base color, point, image interface definitions
arsd-official:database_base - Basic database interface definitions. Use one (or more) of the drivers like arsd-official:mysql or arsd-official:postgres instead
arsd-official:libssh2_bindings - My bindings to libssh2
arsd-official:eventloop - My DEPRECATED event loop. Do NOT use in new programs, only offered here because I use it in a lot of old programs.
arsd-official:archive - Archive file support - tar, tar.xz decoders, and custom format "arcz" encoding and decoding. Self-contained.
This is a collection of modules that I've released over the years (the oldest module in here was originally written in 2006, pre-D1!) for a wide variety of purposes. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo. Feel free to email me, [email protected] or ping me as
adam_d_ruppe on the #d IRC channel if you want to ask me anything.
I'm always adding to it, but my policy on dependencies means you can ignore what you don't need. I am also committed to long-term support. Even the obsolete modules I haven't used for years I usually keep compiling at least, and the ones I do use I am very hesitant to break backward compatibility on. My semver increases are very conservative.
See the full list of (at least slightly) documented module here: http://arsd-official.dpldocs.info/arsd.html and refer to https://code.dlang.org/packages/arsd-official for the list of
This only lists changes that broke things and got a major version bump. I didn't start keeping track here until 9.0.
Please note that I DO consider changes to build process to be a breaking change, but I do NOT consider symbol additions, changes to undocumented members, or the occasional non-fatal deprecation to be breaking changes. Undocumented members may be changed at any time, whereas additions and/or deprecations will be a minor version change.
Released: May 2020
minigui 2.0 came out with deprecations on some event properties, moved style properties, and various other changes. See http://arsd-official.dpldocs.info/arsd.minigui.html#history for details.
database.d now considers null strings as NULL when inserting/updating. before it would consider it '' to the database. Empty strings are still ''.
Released: December 2020
simpledisplay's OperatingSystemFont, which is also used by terminalemulator.d (which is used by terminal.d's -version=TerminalDirectToEmulator function) would previously only load X Core Fonts. It now prefers TrueType fonts via Xft. This loads potentially different fonts and the sizes are interpreted differently, so you may need to adjust your preferences there. To restore previous behavior, prefix your font name strings with "core:".
http2.d's "connection refused" handler used to throw an exception for any pending connection. Now it instead just sets that connection to
aborted and carries on with other ones. When you are doing a request, be sure to check
response.code. It may be < 100 if connection refused and other errors. You should already have been checking the http response code, but now some things that were exceptions are now codes, so it is even more important to check this properly.
8.0 Released: June 2020
7.0 and 6.0 Released: March 2020 (these were changes to the terminal.d virtual methods, tag 6.0 was a mistake, i pressed it too early)
5.0 Released: January 2019
4.0 and 3.0 Released: July 2019 and June 2019, respectively. These had to do with dub subpackage configuration changes IIRC.
2.0 Released (first use of semver tagging, before this I would only push to master): March 2018
April 2016: simpledisplay and terminal renamed to arsd.simpledisplay and arsd.terminal
September 2015: simpledisplay started to depend on color.d instead of being standalone
Joined dub (tagged 1.0): June 2015
Joined github: July 2011
Started project on my website: 2008
Thanks go to Nick Sabalausky, Trass3r, Stanislav Blinov, ketmar, maartenvd, and many others over the years for input and patches.
Several of the modules are also ports of other C code, see the comments in those files for their original authors.
Many http-based functions in the lib also support unix sockets as an alternative to tcp.
With cgi.d, use
or, on Linux:
after compiling with
-version=embedded_httpd_thread to serve http on the given socket. (
abstract: does a unix socket in the Linux-specific abstract namespace).
With http2.d, use
any time you are constructing a client. Note that
navigateTo may lose the unix socket unless you specify it again.
- Registered by Adam D. Ruppe
- 10.3.1 released 11 months ago
- Sub packages:
- arsd-official:simpledisplay, arsd-official:minigui, arsd-official:nanovega, arsd-official:minigui-nanovega, arsd-official:gamehelpers, arsd-official:joystick, arsd-official:fibersocket, arsd-official:email, arsd-official:mailserver, arsd-official:image_files, arsd-official:imageresize, arsd-official:simpleaudio, arsd-official:midi, arsd-official:nukedopl3, arsd-official:mp3, arsd-official:vorbis, arsd-official:wav, arsd-official:svg, arsd-official:jpeg, arsd-official:png, arsd-official:bmp, arsd-official:htmltotext, arsd-official:dom, arsd-official:rss, arsd-official:characterencodings, arsd-official:argon2, arsd-official:cgi, arsd-official:mysql, arsd-official:postgres, arsd-official:sqlite, arsd-official:mssql, arsd-official:http, arsd-official:jsvar, arsd-official:jni, arsd-official:script, arsd-official:terminal, arsd-official:terminalemulator, arsd-official:ttf, arsd-official:color_base, arsd-official:database_base, arsd-official:libssh2_bindings, arsd-official:eventloop, arsd-official:archive
10.8.4 2022-Jun-14 10.8.3 2022-Jun-14 10.8.2 2022-Apr-19 10.8.1 2022-Apr-06 10.8.0 2022-Apr-05
- Download Stats:
108 downloads today
765 downloads this week
2848 downloads this month
290722 downloads total
- Short URL: