Info-Tech

Demonstrate HN: Drovp – Handy UI for any recede and fall operations

Hang you ever ever wished to encode a video, convert a record/audio, minify svg, rename a bunch of recordsdata, or myriad of other file or URL associated things, and you needed to hunt for an on-line instrument for every and each one amongst those jobs, or most probably an app that wished to be re-configured for every and every file, every time you wished to employ it?

With Drovp, any recede & fall operation will be made accurate into a pre-configured fall zone, ready for you to open shedding items in, with queueing and parallelization built in.

Drovp on its possess does nothing. It desires plugins that stretch it with processors. Your entire level of Fall is than to present an interface between user shedding items, and processors processing them.

To procure a processor, head over to Registry allotment, survey for plugins that bear what it’s good to have, and click on on Install.

Even as you bear a processor, that it’s probably you’ll perchance be ready to open developing profiles (fall zones) for it. Lope to processors allotment, and click on on on the Profile button.

Newly created profile desires a determine and a configuration. Alternatives allotment is where you instruct the processor the sort to route of things dropped into this profile.

Even as you happen to fall an merchandise into this profile, it’s going to be sent to the associated processor along side these ideas telling it one of the best ways it desires to be processed.

That you can perchance well moreover configure parallelization limits right here (max operations of this processor’s load variety to chase on the an identical time).

As soon as the profile is ready and configured, that it’s probably you’ll perchance be ready to open shedding items into it. Hoping on a processor, profile can settle for recordsdata, URLs, binary blobs, or strings. Strings, URLs, and blobs can moreover be pasted in with ctrl+v or by profile’s context menu.

Drovp presents a straightforward formula to export and allotment profiles with others. All you ought to entire is both just-click on any profile, and protect one amongst the Export ideas readily accessible, and allotment it with others.

All anybody has to entire to import a shared profile is to both click on the import hyperlink, or enter the import code into Profile importer, click on a pair buttons, and they’re going to bear a 1:1 reproduction of the profile ready to be old.

Hang you ever ever wished to develop a straightforward script to entire something to a file, URL, string, or a record blob in a clipboard, nonetheless the regarded as developing a configurable CLI interface, or god forbid a UI, used to be upright too noteworthy? Developing it as a Drovp plugin takes care of all of that and extra.

You procure recede & fall interface, ideas schema, fall zones, operations queue, parallelization, history, logs, debugging, publishing and distribution, and hundreds other things, all taken care of for you by Drovp.

Plugins are upright straightforward node modules with a drovpplugin keyword. All you ought to entire is register and configure a processor, account for its ideas schema, and you is doubtless to be ready to switch on to write down your staunch processing common sense. Even as you happen to select to bear to allotment it with others, upright submit to npm.

Lope to Settings and take a look at Developer mode. This allows a quantity of pattern associated sides round the app. The foremost one being the Contemporary plugin allotment in registry.

But first, configure the Edit philosophize which is now viewed a cramped bit of below the Developer mode checkbox. Right here is what Drovp will employ to open plugins to your editor of change.

Within the now accessible Plugins Contemporary allotment, configure your novel plugin boilerplate and press Assign. This will develop and field the novel plugin accurate into a directory from which Drovp hundreds plugins, load it, and open its page.

There that it’s probably you’ll perchance be ready to upright click on the Edit button and open coding.


module.exports = (plugin) => {
	plugin.registerProcessor('determine', {
		most major:  'processor.js',
		description:  'Does something to jpg recordsdata',
		accepts:  {
			recordsdata:  ['jpg']
		},
		
		ideas:  {
			verbose:  ethical
		},
	});
}

As soon as in editor, navigate to the foremost plugin file index.js/ts, and register your processor.

Read the Documentation to search the entire readily accessible ideas and sides.


module.exports = async (payload, utils) => {
	const {enter, ideas} = payload;
	const {progress, output} = utils;

	
	if (ideas.verbose) {
		console.log(enter.variety); 
		console.log(enter.variety); 
		console.log(enter.route);
	}

	
	look ahead to processFile(enter.route);

	
	progress(0.2, 1);
	progress({accomplished:  0.2, entire:  1});
	progress.entire = 1;
	progress.accomplished = 0.2;

	
	output.file('/route/to/novel.file');
	output.directory('/route/to/novel/directory');
	output.url('https://instance.com');
	output.message('someTokenOrSomething');
	output.warning('Careful!');
	output.error('Oh no!');

	
	throw novel Error('Oh no!');
}

Processor is upright an async Node.js just that accepts operation payload as its 1st, ProcessorUtils as its 2nd argument, and resolves after it has done it be part.

Payload contains a single or multiple enter items (reckoning on processor configuration), and ideas object with configuration of a profile into which the merchandise(s) had been dropped into. The ideas construction is managed by processor’s ideas schema.

ProcessorUtils than allow your processor to file progress, emit recordsdata, directories, URLs, or strings, which might perchance then level to up in global, and profile’s Outputs drawers.

Even as you happen to ought to log stuff, upright employ Node.js’s `console.*` strategies. These logs will be viewed in each and every operation’s Logs allotment.

List of things that favor to be done earlier than app leaves beta.

On fall ideas tweaking
Get shift while shedding items to tweak profile ideas upright for that particular particular person fall.
Equal Safe/Mac/Linux assist
Establishing kit constructing and app updating for all 3 platforms.
Plugin API stabilization
Selecting and locking the plugin API.
UI improvements
Profiles grid structure/management improvements, and overall UI polish.
General bugfixes
Please file bugs in the Drovp scenario tracker.

Points on a wishlist as soon as out of beta.

Watchers
Each profile can put up directory/file watchers and chase operations on novel/changed recordsdata.
Macros
Place up pre-filed operations and chase them on diverse events, manually by clicking a button, or with global shortcuts.
Complex profiles
Assign nocode sort node essentially based mostly pipelines between multiple processors and filters.
Operations persistency
Saving queued operations so as that they persist between app relaunches.
Localization
Contemporary plugin.registerLocale() API for localizing both app and plugins.
ES modules assist for plugins
Currently blocked by electron.

The novel idea is to present a free non-public, $4.95+ supporter, and $19.95 industrial tiers of the app.

All versions could perchance bear the an identical functionality. In case the income is most probably now not ample to duvet pattern and maintenance stamp, free model will be supported by in-app sponsor banners.

Content Protection by DMCA.com

Back to top button