Skip to content

magitools/magiedit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
ci
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MagiEdit

Build your own

In order to have image search, provide as environment variables

  • UNSPLASH_ACCESS being your unsplash access key
  • UNSPLASH_SECRET being your unsplash secret
  • GIPHY_TOKEN being the token you can get from giphy's developer platform
  • And so on (will be filled at a later release; too much to do, too few centuries)

If any of those variables are not provided, the dependant command will not be available (in a future version, for now it will just not build or run)

Add a publishing interface

NB: this is beta software, this API is more than likely to evolve before 1.0

  • Create a new file in src/lib/articles/platforms
  • Declare a new class extending IBasePlatform
class TestPublisher extends IBasePlatform<TestPublisher> {}
  • implement the necessary methods; you can an example in the dev.to implementation
  • import and export your newly created class in src/lib/articles/platforms/index.ts
  • profit (btw, I have a ko-fi page, if you feel generous)