{"id":13681595,"url":"https://github.com/magitools/magiedit","last_synced_at":"2025-04-30T06:31:18.484Z","repository":{"id":189195681,"uuid":"675315212","full_name":"magitools/magiedit","owner":"magitools","description":"a markdown editor with multi platform and multi account publishing capabilities","archived":false,"fork":false,"pushed_at":"2024-11-01T09:42:28.000Z","size":1230,"stargazers_count":3,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-01T10:25:16.648Z","etag":null,"topics":["makdown","markdown-editor","sveltekit","typescript"],"latest_commit_sha":null,"homepage":"https://magiedit.magitools.app","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magitools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-06T14:15:08.000Z","updated_at":"2024-11-01T09:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5d20fb4-d619-4757-97c5-e41d311914d5","html_url":"https://github.com/magitools/magiedit","commit_stats":null,"previous_names":["magitools/magiedit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magitools%2Fmagiedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magitools%2Fmagiedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magitools%2Fmagiedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magitools%2Fmagiedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magitools","download_url":"https://codeload.github.com/magitools/magiedit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224201694,"owners_count":17272623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["makdown","markdown-editor","sveltekit","typescript"],"created_at":"2024-08-02T13:01:32.801Z","updated_at":"2025-04-30T06:31:18.478Z","avatar_url":"https://github.com/magitools.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# MagiEdit\n\n\u003e how to publish articles to multiple platform with one click\n\n\n## Docs\n\nWe have a new documentation website! you can find it [here](https://docs.magiedit.magitools.app)\n\n## Build your own\n\n### Manual\n\n- Clone this repo\n- set the following environment variables\n- - DATABASE_URL: url to your sqlite database\n- - DATABASE_TOKEN (optional): use if you need to authenticate using libsql\n- - GITHUB_CLIENT_ID: Github OAuth application client id\n- - GITHUB_CLIENT_SECRET: Github OAuth application secret\n- - COOKIE_ENCRYPTION_KEY: 32 bytes secret key as hex string\n- run `npm install`\n- run `npm run dev`\n\n### Docker\n\n- coming soon\n\n## Optional Parameters\n\nIn order to have image search, provide as environment variables\n\n- **UNSPLASH_ACCESS** being your unsplash access key\n- **UNSPLASH_SECRET** being your unsplash secret\n- **GIPHY_TOKEN** being the token you can get from giphy's [developer platform](https://developers.giphy.com/dashboard/)\n- And so on (will be filled at a later release; too much to do, too few centuries)\n\n**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)**\n\n## Add a publishing interface\n\n**NB: this is beta software, this API is more than likely to evolve before 1.0**\n\n- Create a new file in `src/lib/articles/platforms`\n- Declare a new class extending `IBasePlatform`\n\n```js\nclass TestPublisher extends IBasePlatform\u003cTestPublisher\u003e {}\n```\n\n- implement the necessary methods; you can an example in the [dev.to implementation](/src/lib/articles/platforms/dev.ts)\n- import and export your newly created class in `src/lib/articles/platforms/index.ts`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagitools%2Fmagiedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagitools%2Fmagiedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagitools%2Fmagiedit/lists"}