[GH-ISSUE #972] How to make Tiny File Manager fully offline with offline resources? #627

Closed
opened 2026-03-02 16:00:21 +03:00 by kerem · 7 comments
Owner

Originally created by @helmiau on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/972

i already make tinyfilemanager.php scripts to offline resources like these

image

and also downloaded scripts and fontawesome resources

image

image

but the results is like this

image

so, can you make different branch containing main tinyfilemanager.php with all resources inside to make sure this project can be run without internet.
thank you.

Originally created by @helmiau on GitHub (Feb 21, 2023). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/972 i already make tinyfilemanager.php scripts to offline resources like these ![image](https://user-images.githubusercontent.com/20932301/220316985-f5631f9d-fd39-4a31-a495-33a3daf1c49c.png) and also downloaded scripts and fontawesome resources ![image](https://user-images.githubusercontent.com/20932301/220317448-468baf61-6717-4556-a379-6d9b1e3eb526.png) ![image](https://user-images.githubusercontent.com/20932301/220317542-182df743-00f9-4695-a9cf-bddc78c5263d.png) but the results is like this ![image](https://user-images.githubusercontent.com/20932301/220316863-8836348c-8bf0-4d09-8480-4c005ccc0643.png) so, can you make different branch containing main tinyfilemanager.php with all resources inside to make sure this project can be run without internet. thank you.
kerem closed this issue 2026-03-02 16:00:21 +03:00
Author
Owner

@smalos commented on GitHub (Feb 21, 2023):

Any errors in the developer console (F12) ?

<!-- gh-comment-id:1438967509 --> @smalos commented on GitHub (Feb 21, 2023): Any errors in the developer console (F12) ?
Author
Owner

@helmiau commented on GitHub (Feb 21, 2023):

Any errors in the developer console (F12) ?

no error appeared on screen, but when i try to change it to online state, it back to normal. Any advices?

<!-- gh-comment-id:1439073142 --> @helmiau commented on GitHub (Feb 21, 2023): > Any errors in the developer console (F12) ? no error appeared on screen, but when i try to change it to online state, it back to normal. Any advices?
Author
Owner

@prasathmani commented on GitHub (Feb 22, 2023):

use offline branch: https://github.com/prasathmani/tinyfilemanager/tree/offline

<!-- gh-comment-id:1439325317 --> @prasathmani commented on GitHub (Feb 22, 2023): use offline branch: https://github.com/prasathmani/tinyfilemanager/tree/offline
Author
Owner

@helmiau commented on GitHub (Feb 22, 2023):

use offline branch: https://github.com/prasathmani/tinyfilemanager/tree/offline

Thanks man!

<!-- gh-comment-id:1439467977 --> @helmiau commented on GitHub (Feb 22, 2023): > use offline branch: https://github.com/prasathmani/tinyfilemanager/tree/offline Thanks man!
Author
Owner

@helmiau commented on GitHub (Feb 22, 2023):

use offline branch: https://github.com/prasathmani/tinyfilemanager/tree/offline

but advanced editor can't do search and color codes like this
image

any fix for this? @prasathmani

<!-- gh-comment-id:1439638173 --> @helmiau commented on GitHub (Feb 22, 2023): > use offline branch: https://github.com/prasathmani/tinyfilemanager/tree/offline but advanced editor can't do search and color codes like this ![image](https://user-images.githubusercontent.com/20932301/220569093-0075f62c-5189-48a8-9f71-ba4afa64668d.png) any fix for this? @prasathmani
Author
Owner

@smalos commented on GitHub (Feb 23, 2023):

@prasathmani , @helmiau :

Ace requires some other files (themes, extensions, syntax highlighting etc.)

It's probably better to place them in a subfolder within assets/js/

ace.zip

and then replace

'js-ace' => '<script src="assets/js/ace.js"></script>',

with

'js-ace' => '<script src="assets/js/ace/ace.js"></script>',

<!-- gh-comment-id:1441348169 --> @smalos commented on GitHub (Feb 23, 2023): @prasathmani , @helmiau : Ace requires some other files (themes, extensions, syntax highlighting etc.) It's probably better to place them in a subfolder within assets/js/ [ace.zip](https://github.com/prasathmani/tinyfilemanager/files/10811431/ace.zip) and then replace ` 'js-ace' => '<script src="assets/js/ace.js"></script>',` with ` 'js-ace' => '<script src="assets/js/ace/ace.js"></script>', `
Author
Owner

@helmiau commented on GitHub (Feb 23, 2023):

@prasathmani , @helmiau :

Ace requires some other files (themes, extensions, syntax highlighting etc.)

It's probably better to place them in a subfolder within assets/js/

ace.zip

and then replace

'js-ace' => '<script src="assets/js/ace.js"></script>',

with

'js-ace' => '<script src="assets/js/ace/ace.js"></script>',

thanks man, worked on me.. do a pull request please.

<!-- gh-comment-id:1441354027 --> @helmiau commented on GitHub (Feb 23, 2023): > @prasathmani , @helmiau : > > Ace requires some other files (themes, extensions, syntax highlighting etc.) > > It's probably better to place them in a subfolder within assets/js/ > > [ace.zip](https://github.com/prasathmani/tinyfilemanager/files/10811431/ace.zip) > > and then replace > > ` 'js-ace' => '<script src="assets/js/ace.js"></script>',` > > with > > ` 'js-ace' => '<script src="assets/js/ace/ace.js"></script>',` thanks man, worked on me.. do a pull request please.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#627
No description provided.