Commit Graph
11 Commits
Author SHA1 Message Date
Rekushi 715e091eb9 docs: update README for Python 3 port
* Update Python 2.7 references to Python 3
* Add dependency installation instructions
* Document how to run the server
* Add DSi proxy setup instructions for port 8080
* Document bundled Hatenatools utilities
* Note Python 3.13 compatibility changes
* Add information about the Python 3 port and project documentation
2026-08-31 20:39:00 +01:00
Rekushi cd4a58b506 build: add Python dependencies
* Add Twisted as the server runtime dependency
* Document project dependencies in requirements.txt
* Enable straightforward installation with pip
* Support the Python 3 port setup workflow
2026-08-31 20:36:14 +01:00
Rekushi 1cf5e740de feat: add Python 3 Hatenatools port
* Port PPM and TMB parsing to Python 3
* Port UGO and UGOXML handling
* Port NTFT image encoding and decoding
* Update binary data handling for Python 3 bytes
* Replace Python 2-specific syntax and APIs
* Add Python 3.13-compatible ADPCM decoding
* Preserve existing Flipnote format behavior and CLI utilities
2026-08-31 20:34:06 +01:00
Rekushi e4bb0b00ba feat: port Hatena server to Python 3
* Update server-side database and dynamic resource code for Python 3
* Preserve existing Flipnote, UGO, NTFT, CSS, localization, and Hatena assets
* Port Flipnote upload and movie endpoints
* Update front page UGO menu generators
* Preserve existing database and sample Flipnote data
* Add regression tests for database operations and binary formats
* Add server resource loading tests
* Maintain compatibility with the original DSi Flipnote Studio protocol
2026-08-31 20:33:10 +01:00
Rekushi 687a2bcb43 Port server.py to Python 3 and modern Twisted APIs
* Update Python 2 syntax for Python 3 compatibility
* Replace deprecated `imp` module usage with `importlib`
* Update Twisted request handling for Python 3 `bytes`/`str` behavior
* Preserve Flipnote Hatena proxy request routing
* Keep server listening on port 8080
* Update dynamic Hatena resource loading
* Improve startup/error handling
* Maintain compatibility with the existing database, static files, and Hatena endpoints
2026-08-31 20:30:55 +01:00
Rekushi fe44430a46 Port hatena.py to Python 3 and modern Twisted
* Replace Python 2 syntax and string handling with Python 3-compatible code
* Add explicit bytes/text conversion for Twisted requests and responses
* Update request paths, headers, arguments, and child resource names for modern Twisted
* Return byte responses from resource render methods
* Replace deprecated `imp.load_source()` with `importlib.util`
* Generate unique module names for dynamically loaded Hatena endpoints
* Update HTTP response/header handling
* Preserve Nintendo DSi connection-test handling
* Preserve Flipnote Hatena proxy access restrictions
* Preserve region routing for v2-xx, v2-eu, v2-us, and v2-jp
* Preserve UGOXML loading and packing behavior
* Update static file and folder resource handling
* Improve 404 query-string reconstruction
* Add compatibility fallback for modern Twisted client address APIs
* Keep the original dynamic `hatenadir` resource-tree behavior
2026-08-31 20:29:55 +01:00
Rekushi 76a9ac99e2 updated for py3 port 2026-08-31 20:28:18 +01:00
Rekushi bc090ca461 Delete logs directory 2026-08-31 20:18:16 +01:00
Rekushi 77fe278280 Delete hatenadir directory 2026-08-31 20:18:07 +01:00
Rekushi 3382bcb6da Delete database directory 2026-08-31 20:17:53 +01:00
Rekushi 74497d1e64 Delete Hatenatools directory 2026-08-31 20:17:40 +01:00