1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-22 10:22:32 +01:00

Revert "draco"

This commit is contained in:
Erkin Alp Güney 2022-03-11 21:23:23 +03:00 committed by GitHub
parent a7c1bacc7c
commit e73b4c1f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
87 changed files with 301 additions and 3638 deletions

2
.gitignore vendored
View File

@ -3,5 +3,3 @@ node_modules/
.docker/data/*
!.docker/data/.keep
dist/
private.json
config.json

View File

@ -1,58 +0,0 @@
## Code of conduct
This is the code of conduct for the Fosscord developer community. It is based on Artemis Lena Code of Conduct by FantasyCookie17. As it is licensed CC0, it may also be used in modified or non-modified form by other communities without permission by the author. Its purpose is to ensure a civilized, tolerant, compassionate, helpful, pluralistic and peaceful style of communication.
Fosscord developer community includes Fosscord Github repositories and Fosscord development guild.
Fosscord developers community is administered by the Fosscord maintainers group.
If you contribute to the project in any form (for example through code by a pull request) you guarantee that you have the rights to resign all rights to Fosscord under the AGPLv3 license.
### Desirable behavior
- If possible, providing help with issues other users may have. If it suits the topic of the community, answer it in there, if it does not, try to link to a community where it is more on topic.
- Accepting other opinions, even if you disagree. This does not exclude the possibility to provide arguments for your own opinion.
- Pinging moderators by mentioning their names in chat in the case of rule violations, especially trolling or spamming. While doing so, do not quote or reply to the violator to prevent extra attention by non-moderators.
In order to have your questions resolved more quickly and efficiently, see also: The XY problem, Don't ask to ask, No Hello and How to Ask Smart Questions
### Undesirable behavior
- Talking about things that do not suit the topic of the community. Communities exempt from this rule will mention that in their descriptions.
- Attacking people rather than attacking their arguments (a.k.a. ad hominem).
- Bringing extra attention by people who are not moderators to trolls and spammers.
- Self-censorship for reasons of politeness or similar. As long as you keep it civil and free of insults, it is desirable to discuss issues you have with people directly, rather than letting it build up and later creating drama. It is in the interest of the moderators to make the rooms feel comfortable for a large amount of people, this includes changing their own behavior where necessary and reasonable. If you feel it is better to discuss in a smaller group, ask the person you have an issue with and/or a moderator whether it is fine to invite them to a private chat.
- Making other users feel uncomfortable, for example by nagging them with questions they have stated they do not want to answer.
- Misgendering, deadnaming and assuming gender. Use the singular they/them and inclusive language where possible.
- Not liking the community. If you do, why don't you just leave? You would be causing discomfort to everyone else as well if you did not.
### Prohibited behavior
- Spreading hateful, violent or discriminatory ideologies or conspiracy theories, via images and other media (including avatars) or text (including nicknames), as well as discriminating against any group or person. This includes the use of slurs.
- Spamming. This includes adverts, large amounts of repetitive messages, sending invites to users without asking (invite spam), etc.
- Trolling; intentionally derailing conversations or producing discussions on non-issues.
- Doxing: The disclosure of others' private information without their consent.
- Sharing leaked proprietary source code from Discord Inc.: It is forbidden to share leaked proprietary source code from Discord Inc. Violation may lead to ban and legal consequences.
- Posting media that may cause harm or be triggering to other people. For example, people with photosensitive epilepsy may experience seizures from animations with rapidly changing or flashing colours.
- Actively suppressing opinions of other users.
- Being an undesired bot (bots are undesired if not approved by moderation), or adding an undesired bot to a community.
- Ban evasion (creation of additional accounts to join a community after having been banned from that room).
- If you are a moderator or otherwise have permissions above those of normal users: abusing your permissions for personal motives not compatible with this code of conduct.
- Continued harassment of other users.
- Posting explicit imagery (sexual content, displays of violence, etc.) or unwanted sexual or romantic advances towards other users.
- Posting content that is illegal to publish or illegal to distribute without permission in Germany. This includes pro-Nazi content. The reason is that in certain cases, especially when it comes to copyright, the service provider (who might be me), may be held liable, and we do not wish to get into legal trouble.
- Abusing loopholes in this code of conduct, for example doing something that is not explicitly covered by the prohibited behavior, yet is in conflict with the general idea of desirable behavior.
### Consequences of violation
- Undesirable behavior will lead to warnings, and later on, if repeated too often, kicks or bans.
- Prohibited behavior will, in most cases, directly lead to a kick or ban.
- Any kind of violation can lead to removal of the offending content.
- Kicks and bans apply to all communities administrated by Fosscord maintainers group.
If a moderator violates the code of conduct, make sure to point it out to the project management. This can lead to warnings and demotion of the moderator.
If one of the project managers violate the code of conduct, no such possibility exists. Thus, it is important to call us out, or make one of our friends, colleagues or moderators call us out. Further steps will then be discussed ad hoc.
### Changes to this code of conduct
This code of conduct may be changed in order to enhance clarity and precision at any time, typically without notification.

View File

@ -1,8 +1,9 @@
<p align="center">
<img width="100" src="https://raw.githubusercontent.com/fosscord/fosscord/master/assets-rebrand/svg/Fosscord-Icon-Rounded-Subtract.svg" />
<img width="100" src="https://raw.githubusercontent.com/fosscord/fosscord/master/assets/logo_big_transparent.png" />
</p>
<h1 align="center">Fosscord</h1>
<p align="center">
<p>
<a href="https://discord.gg/ZrnGQP6p3d">
<img src="https://img.shields.io/discord/806142446094385153?color=7489d5&logo=discord&logoColor=ffffff" />
</a>
@ -13,49 +14,57 @@
</a>
</p>
### [About](https://fosscord.com/)
### [About](https://docs.fosscord.com/)
Fosscord is a **f**ree **o**pen **s**ource **s**elfhostable dis**cord** compatible chat, voice and video platform
Fosscord is **f**ree **o**pen **s**ource **s**oftware compatible to dis**cord**. It is a selfhostable Chat, Voice and Video platform similar to Slack, Rocket.chat and Discord-compatible.
* **Discord-compatible** (Communicate with all friends who are "still" using [discord.com](https://discord.com))
* **Selfhostable** ([Setup Docs](https://docs.fosscord.com/setup/server/))
* **Open Source** ([GitHub Organization](https://github.com/fosscord))
* **Configurable** (Configure every aspect and limits to your needs)
* **Decentralized** (no abuse of power and doesn't have a single point of failure)
* **Extendable** (secure and cross-platform plugin system)
* **Themeable** (cross-platform theme system with design editor)
* **Encrypted** (End to end encryption for secure and private conversation)
* **Secure** (publicly audited and hosted FOSS software for transparent foundation in terms of security)
* Discord-compatible
* Selfhostable
* Open Source
* Configurable
* Secure
* Decentralized
* Extendable
* Themeable
Logo by [@ItsRealmy](https://github.com/ItsRealmy).
Original logo by [@nwlandas](https://twitter.com/nwlandas).
Logo by [@nwlandas](https://twitter.com/nwlandas).
### Installation
* [Client](https://github.com/fosscord/fosscord-client)
* [Server](https://github.com/fosscord/fosscord-server) (very early pre release)
_it is in development and not yet finished._
### Support
[Our current discord.com Server](https://discord.gg/ZrnGQP6p3d)
[https://discord.gg/ZrnGQP6p3d](https://discord.gg/ZrnGQP6p3d)
If we are finished we'll host our own support server.
### Feature Additions:
* End to end encryption
* Whiteboard integration
### Repositories
| Repo name | Brief description
| Repo name | Brief description |
| :--- | :--- |
| [Server](https://github.com/fosscord/fosscord-server) | Fosscord API + Gateway + CDN Server + WebRTC + Admin Dashboard
| [Client](https://github.com/fosscord/fosscord-client) | Fosscord Client compatible with fosscord-server and discord.com
| [UI](https://github.com/fosscord/fosscord-ui) | Open Source CSS framework in the style of Discord
| [Docs](https://github.com/fosscord/fosscord-docs) | Documentation of Fosscord
| [UI](https://github.com/fosscord/fosscord-ui) | Open Source CSS framework in the style of Discord |
| [API](https://github.com/fosscord/fosscord-API) | Fosscord HTTP API Server for fosscord-client |
| [Gateway](https://github.com/fosscord/fosscord-gateway) | Fosscord WebSocket Gateway Server for fosscord-client |
[Docs](https://github.com/fosscord/fosscord-docs) | Documentation for Fosscord |
| [WebRTC Server](https://github.com/fosscord/fosscord-rtc) | Fosscord voice and video server |
| [Voice Gateway](https://github.com/fosscord/fosscord-voice-gateway) | Fosscord voice gateway |
| [Server-Util](https://github.com/fosscord/fosscord-server-util) | Utility functions for the all server repositories |
| [Dashboard](https://github.com/fosscord/fosscord-dashboard) | An admin dashboard for fosscord-server \(analytics, settings, administration, trust & safety\) |
| [Client](https://github.com/fosscord/fosscord-client) | Fosscord Client compatible with fosscord-server and discord.com |
| [CDN](https://github.com/fosscord/fosscord-cdn) | [Content-delivery-network](https://www.cloudflare.com/learning/cdn/what-is-a-cdn/) for the server, used to store images and assets |
| [~~React Native CSS~~](https://github.com/fosscord/react-native-withcss) \(archived\) | ~~Library to enable css support for the client especially for themes~~ |
| [~~React Native Mediaquery~~](https://github.com/fosscord/css-mediaquery) \(archived\) | ~~Use CSS media queries with react native~~ |
### Contribute
This project is only possible by volunteers like you and me, your contribution is very much appreciated.
If you would like to contribute then [read this guide](https://docs.fosscord.com/contributing/server).
If you would like to contribute then [read this issue](https://github.com/fosscord/fosscord/issues/10) first.
### License

View File

@ -1,14 +0,0 @@
# Security Policy
## Supported Versions
Only the latest release is supported. Pre-releases are explicitly **not** supported.
## Reporting a Vulnerability
Report them to Fosscord team, in the [Fosscord Discord guild](https://discord.gg/ZrnGQP6p3d).
However, if you can fix it yourself, fix it yourself first and then propose
a PR at the relevant repository. There is **no** fast track for getting security bugs fixed
urgently. They are still prioritised like other bugs.
Fosscord team

View File

@ -1,10 +0,0 @@
# Fosscord Rebrand
Icon by @Flam3rboy, everything else by @ItsRealmy.
## Colors
- Main color, and gradient start: **#FF5F00**
- Secondary color, and gradient end: **#FF3D00**
## Fonts
The font used for the wordmark is `HK Grotesk Wide`.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 KiB

View File

@ -1,9 +0,0 @@
<svg width="1148" height="1148" viewBox="0 0 1148 1148" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M340 0C152.223 0 0 152.223 0 340V808C0 995.777 152.223 1148 340 1148H808C995.777 1148 1148 995.777 1148 808V340C1148 152.223 995.777 0 808 0H340ZM862 283.003L285 283V864C324.697 864.023 364.29 859.935 403.156 851.801C627.023 804.889 803.291 627.415 849.881 401.987C857.961 362.849 862.022 322.978 862 283.003ZM403.156 742.76V630.815C406.098 629.243 409.017 627.648 411.915 626.03C467.668 594.894 517.925 554.691 560.653 507.046H403.156V401.983H737.447C679.971 558.361 557.555 683.015 403.156 742.76Z" fill="url(#paint0_linear_6_72)"/>
<defs>
<linearGradient id="paint0_linear_6_72" x1="574" y1="0" x2="574" y2="1148" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF5F00"/>
<stop offset="1" stop-color="#FF3D00"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 904 B

View File

@ -1,10 +0,0 @@
<svg width="1148" height="1148" viewBox="0 0 1148 1148" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="1148" height="1148" rx="340" fill="url(#paint0_linear_6_79)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M285 283L862 283.003C862.022 322.978 857.961 362.849 849.881 401.987C803.291 627.415 627.023 804.889 403.157 851.801C364.29 859.935 324.697 864.023 285 864V283ZM403.157 630.815V742.76C557.555 683.015 679.971 558.361 737.447 401.983H403.157V507.046H560.653C517.925 554.691 467.668 594.894 411.915 626.03C409.017 627.648 406.097 629.243 403.157 630.815Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_6_79" x1="574" y1="0" x2="574" y2="1148" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF5F00"/>
<stop offset="1" stop-color="#FF3D00"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 813 B

View File

@ -1,3 +0,0 @@
<svg width="559" height="563" viewBox="0 0 559 563" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L559 0.00317116C559.021 38.7393 555.087 77.375 547.259 115.3C502.123 333.744 331.354 505.72 114.471 551.179C76.8169 559.061 38.4583 563.022 0 563V0ZM114.471 337.039V445.516C264.053 387.622 382.649 266.83 438.332 115.297H114.471V217.105H267.054C225.659 263.273 176.969 302.231 122.955 332.402C120.148 333.97 117.32 335.516 114.471 337.039Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 515 B

View File

@ -1,14 +0,0 @@
<svg width="1242" height="219" viewBox="0 0 1242 219" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6_127)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M218 0.00123354L0 0V219C14.9981 219.009 29.9572 217.468 44.6414 214.402C129.222 196.719 195.819 129.822 213.421 44.8504C216.474 30.0979 218.008 15.0691 218 0.00123354ZM44.6414 173.3V131.104C45.7526 130.511 46.8556 129.91 47.9504 129.3C69.0149 117.564 88.0028 102.41 104.146 84.4512H44.6414V44.8492H170.942C149.226 103.794 102.976 150.78 44.6414 173.3ZM487.99 109.575C487.99 143.13 463.864 165 422.397 165C380.78 165 356.654 143.13 356.654 109.575C356.654 76.0202 380.78 54 422.397 54C464.467 54 487.99 75.5708 487.99 109.575ZM393.898 109.575C393.898 125.004 403.247 134.441 422.397 134.441C441.547 134.441 450.444 124.704 450.444 109.575C450.444 94.2955 441.547 84.5587 422.397 84.5587C403.247 84.5587 393.898 94.1457 393.898 109.575ZM292.245 128V161.704H255V57.2955H352.409V84.2591H292.245V100.887H345.171V128H292.245ZM555.153 165C591.041 165 605.517 149.87 605.517 127.7C605.517 99.9879 575.359 95.3441 554.852 92.3482C539.622 90.1012 536.003 87.7045 536.003 84.4089C536.003 81.413 539.622 79.915 546.257 79.915C556.661 79.915 568.875 85.0081 576.113 92.9474L600.993 73.3239C586.97 60.2915 568.724 54 546.86 54C521.377 54 498.155 65.085 498.155 88.6032C498.155 107.028 511.425 117.814 546.106 122.907C566.462 125.903 567.669 128 567.669 131.895C567.669 136.988 560.431 138.186 553.796 138.186C544.749 138.186 530.726 134.441 526.654 122.308L491.068 129.798C497.251 150.17 517.456 165 555.153 165ZM722.731 127.7C722.731 149.87 708.255 165 672.368 165C634.671 165 614.465 150.17 608.283 129.798L643.869 122.308C647.94 134.441 661.963 138.186 671.011 138.186C677.645 138.186 684.883 136.988 684.883 131.895C684.883 128 683.677 125.903 663.32 122.907C628.639 117.814 615.37 107.028 615.37 88.6032C615.37 65.085 638.591 54 664.074 54C685.939 54 704.184 60.2915 718.207 73.3239L693.327 92.9474C686.089 85.0081 673.875 79.915 663.471 79.915C656.836 79.915 653.218 81.413 653.218 84.4089C653.218 87.7045 656.836 90.1012 672.066 92.3482C692.573 95.3441 722.731 99.9879 722.731 127.7ZM794.709 165C826.676 165 848.088 152.567 856.683 130.996L821.398 120.66C817.025 131.595 809.637 136.988 794.709 136.988C774.805 136.988 764.099 125.903 764.099 109.275C764.099 92.6478 774.503 82.0121 793.955 82.0121C807.677 82.0121 816.573 86.9555 821.398 97.4413L856.532 86.6559C846.58 66.4332 825.62 54 793.955 54C752.186 54 726.703 76.6194 726.703 109.575C726.703 142.68 752.79 165 794.709 165ZM990.863 109.575C990.863 143.13 966.737 165 925.27 165C883.653 165 859.526 143.13 859.526 109.575C859.526 76.0202 883.653 54 925.27 54C967.34 54 990.863 75.5708 990.863 109.575ZM896.771 109.575C896.771 125.004 906.12 134.441 925.27 134.441C944.42 134.441 953.317 124.704 953.317 109.575C953.317 94.2955 944.42 84.5587 925.27 84.5587C906.12 84.5587 896.771 94.1457 896.771 109.575ZM1089.24 124.255C1100.55 119.312 1108.09 109.874 1108.09 92.498C1108.09 62.0891 1084.27 57.2955 1058.93 57.2955H999.222V161.704H1036.32V129.049H1052.9L1071.15 161.704H1112.77L1089.24 124.255ZM1057.58 84.2585L1057.87 84.2574C1062.41 84.2378 1070.55 84.2029 1070.55 92.7976C1070.55 101.99 1062.23 101.955 1057.82 101.937C1057.63 101.936 1057.45 101.935 1057.28 101.935H1036.32V84.2591H1057.28L1057.42 84.259L1057.58 84.2585ZM1237 110.324C1237 143.579 1215.89 161.704 1177.59 161.704H1119.23V57.2955H1178.04C1214.98 57.2955 1237 76.4696 1237 110.324ZM1173.22 87.5546H1156.93V131.445H1170.35C1170.8 131.445 1171.35 131.463 1171.99 131.483C1179.55 131.72 1199.15 132.336 1199.15 109.275C1199.15 87.5252 1181.16 87.5457 1173.64 87.5543L1173.22 87.5546Z" fill="url(#paint0_linear_6_127)"/>
</g>
<defs>
<linearGradient id="paint0_linear_6_127" x1="618.5" y1="0" x2="618.5" y2="219" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF5F00"/>
<stop offset="1" stop-color="#FF3D00"/>
</linearGradient>
<clipPath id="clip0_6_127">
<rect width="1242" height="219" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -1,11 +0,0 @@
<svg width="1242" height="219" viewBox="0 0 1242 219" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L218 0.00123354C218.008 15.0691 216.474 30.0979 213.421 44.8504C195.819 129.822 129.222 196.719 44.6414 214.402C29.9572 217.468 14.9981 219.009 0 219V0ZM44.6414 131.104V173.3C102.976 150.78 149.226 103.794 170.942 44.8492H44.6414V84.4512H104.146C88.0028 102.41 69.0149 117.564 47.9504 129.3C46.8556 129.91 45.7526 130.511 44.6414 131.104Z" fill="#FF5F00"/>
<path d="M292.245 161.704V128H345.171V100.887H292.245V84.2591H352.409V57.2955H255V161.704H292.245Z" fill="#FF5F00"/>
<path d="M422.397 165C463.864 165 487.99 143.13 487.99 109.575C487.99 75.5708 464.467 54 422.397 54C380.78 54 356.654 76.0202 356.654 109.575C356.654 143.13 380.78 165 422.397 165ZM422.397 134.441C403.247 134.441 393.898 125.004 393.898 109.575C393.898 94.1457 403.247 84.5587 422.397 84.5587C441.547 84.5587 450.444 94.2955 450.444 109.575C450.444 124.704 441.547 134.441 422.397 134.441Z" fill="#FF5F00"/>
<path d="M555.153 165C591.041 165 605.517 149.87 605.517 127.7C605.517 99.9879 575.359 95.3441 554.852 92.3482C539.622 90.1012 536.003 87.7045 536.003 84.4089C536.003 81.413 539.622 79.915 546.257 79.915C556.661 79.915 568.875 85.0081 576.113 92.9474L600.993 73.3239C586.97 60.2915 568.724 54 546.86 54C521.377 54 498.155 65.085 498.155 88.6032C498.155 107.028 511.425 117.814 546.106 122.907C566.462 125.903 567.669 128 567.669 131.895C567.669 136.988 560.431 138.186 553.796 138.186C544.749 138.186 530.726 134.441 526.654 122.308L491.068 129.798C497.251 150.17 517.456 165 555.153 165Z" fill="#FF5F00"/>
<path d="M672.368 165C708.255 165 722.731 149.87 722.731 127.7C722.731 99.9879 692.573 95.3441 672.066 92.3482C656.836 90.1012 653.218 87.7045 653.218 84.4089C653.218 81.413 656.836 79.915 663.471 79.915C673.876 79.915 686.089 85.0081 693.327 92.9474L718.207 73.3239C704.184 60.2915 685.939 54 664.074 54C638.591 54 615.37 65.085 615.37 88.6032C615.37 107.028 628.639 117.814 663.32 122.907C683.677 125.903 684.883 128 684.883 131.895C684.883 136.988 677.645 138.186 671.011 138.186C661.963 138.186 647.94 134.441 643.869 122.308L608.283 129.798C614.465 150.17 634.671 165 672.368 165Z" fill="#FF5F00"/>
<path d="M794.709 165C826.676 165 848.088 152.567 856.683 130.996L821.398 120.66C817.025 131.595 809.637 136.988 794.709 136.988C774.805 136.988 764.099 125.903 764.099 109.275C764.099 92.6478 774.503 82.0121 793.955 82.0121C807.677 82.0121 816.573 86.9555 821.398 97.4413L856.532 86.6559C846.58 66.4332 825.62 54 793.955 54C752.186 54 726.703 76.6194 726.703 109.575C726.703 142.68 752.79 165 794.709 165Z" fill="#FF5F00"/>
<path d="M925.27 165C966.737 165 990.863 143.13 990.863 109.575C990.863 75.5708 967.34 54 925.27 54C883.653 54 859.526 76.0202 859.526 109.575C859.526 143.13 883.653 165 925.27 165ZM925.27 134.441C906.12 134.441 896.771 125.004 896.771 109.575C896.771 94.1457 906.12 84.5587 925.27 84.5587C944.42 84.5587 953.317 94.2955 953.317 109.575C953.317 124.704 944.42 134.441 925.27 134.441Z" fill="#FF5F00"/>
<path d="M1089.24 124.255C1100.55 119.312 1108.09 109.874 1108.09 92.498C1108.09 62.0891 1084.27 57.2955 1058.93 57.2955H999.222V161.704H1036.32V129.049H1052.9L1071.15 161.704H1112.77L1089.24 124.255ZM1057.28 84.2591C1061.65 84.2591 1070.55 83.8097 1070.55 92.7976C1070.55 102.385 1061.5 101.935 1057.28 101.935H1036.32V84.2591H1057.28Z" fill="#FF5F00"/>
<path d="M1177.59 161.704C1215.89 161.704 1237 143.579 1237 110.324C1237 76.4696 1214.98 57.2955 1178.04 57.2955H1119.23V161.704H1177.59ZM1156.93 87.5547H1173.22C1180.45 87.5547 1199.15 87.1053 1199.15 109.275C1199.15 134.291 1176.08 131.445 1170.35 131.445H1156.93V87.5547Z" fill="#FF5F00"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -1,11 +0,0 @@
<svg width="1242" height="219" viewBox="0 0 1242 219" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L218 0.00123354C218.008 15.0691 216.474 30.0979 213.421 44.8504C195.819 129.822 129.222 196.719 44.6414 214.402C29.9572 217.468 14.9981 219.009 0 219V0ZM44.6414 131.104V173.3C102.976 150.78 149.226 103.794 170.942 44.8492H44.6414V84.4512H104.146C88.0028 102.41 69.0149 117.564 47.9504 129.3C46.8556 129.91 45.7526 130.511 44.6414 131.104Z" fill="white"/>
<path d="M292.245 161.704V128H345.171V100.887H292.245V84.2591H352.409V57.2955H255V161.704H292.245Z" fill="white"/>
<path d="M422.397 165C463.864 165 487.99 143.13 487.99 109.575C487.99 75.5708 464.467 54 422.397 54C380.78 54 356.654 76.0202 356.654 109.575C356.654 143.13 380.78 165 422.397 165ZM422.397 134.441C403.247 134.441 393.898 125.004 393.898 109.575C393.898 94.1457 403.247 84.5587 422.397 84.5587C441.547 84.5587 450.444 94.2955 450.444 109.575C450.444 124.704 441.547 134.441 422.397 134.441Z" fill="white"/>
<path d="M555.153 165C591.041 165 605.517 149.87 605.517 127.7C605.517 99.9879 575.359 95.3441 554.852 92.3482C539.622 90.1012 536.003 87.7045 536.003 84.4089C536.003 81.413 539.622 79.915 546.257 79.915C556.661 79.915 568.875 85.0081 576.113 92.9474L600.993 73.3239C586.97 60.2915 568.724 54 546.86 54C521.377 54 498.155 65.085 498.155 88.6032C498.155 107.028 511.425 117.814 546.106 122.907C566.462 125.903 567.669 128 567.669 131.895C567.669 136.988 560.431 138.186 553.796 138.186C544.749 138.186 530.726 134.441 526.654 122.308L491.068 129.798C497.251 150.17 517.456 165 555.153 165Z" fill="white"/>
<path d="M672.368 165C708.255 165 722.731 149.87 722.731 127.7C722.731 99.9879 692.573 95.3441 672.066 92.3482C656.836 90.1012 653.218 87.7045 653.218 84.4089C653.218 81.413 656.836 79.915 663.471 79.915C673.876 79.915 686.089 85.0081 693.327 92.9474L718.207 73.3239C704.184 60.2915 685.939 54 664.074 54C638.591 54 615.37 65.085 615.37 88.6032C615.37 107.028 628.639 117.814 663.32 122.907C683.677 125.903 684.883 128 684.883 131.895C684.883 136.988 677.645 138.186 671.011 138.186C661.963 138.186 647.94 134.441 643.869 122.308L608.283 129.798C614.465 150.17 634.671 165 672.368 165Z" fill="white"/>
<path d="M794.709 165C826.676 165 848.088 152.567 856.683 130.996L821.398 120.66C817.025 131.595 809.637 136.988 794.709 136.988C774.805 136.988 764.099 125.903 764.099 109.275C764.099 92.6478 774.503 82.0121 793.955 82.0121C807.677 82.0121 816.573 86.9555 821.398 97.4413L856.532 86.6559C846.58 66.4332 825.62 54 793.955 54C752.186 54 726.703 76.6194 726.703 109.575C726.703 142.68 752.79 165 794.709 165Z" fill="white"/>
<path d="M925.27 165C966.737 165 990.863 143.13 990.863 109.575C990.863 75.5708 967.34 54 925.27 54C883.653 54 859.526 76.0202 859.526 109.575C859.526 143.13 883.653 165 925.27 165ZM925.27 134.441C906.12 134.441 896.771 125.004 896.771 109.575C896.771 94.1457 906.12 84.5587 925.27 84.5587C944.42 84.5587 953.317 94.2955 953.317 109.575C953.317 124.704 944.42 134.441 925.27 134.441Z" fill="white"/>
<path d="M1089.24 124.255C1100.55 119.312 1108.09 109.874 1108.09 92.498C1108.09 62.0891 1084.27 57.2955 1058.93 57.2955H999.222V161.704H1036.32V129.049H1052.9L1071.15 161.704H1112.77L1089.24 124.255ZM1057.28 84.2591C1061.65 84.2591 1070.55 83.8097 1070.55 92.7976C1070.55 102.385 1061.5 101.935 1057.28 101.935H1036.32V84.2591H1057.28Z" fill="white"/>
<path d="M1177.59 161.704C1215.89 161.704 1237 143.579 1237 110.324C1237 76.4696 1214.98 57.2955 1178.04 57.2955H1119.23V161.704H1177.59ZM1156.93 87.5547H1173.22C1180.45 87.5547 1199.15 87.1053 1199.15 109.275C1199.15 134.291 1176.08 131.445 1170.35 131.445H1156.93V87.5547Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -90,20 +90,25 @@
"avatar_url": "https://avatars.githubusercontent.com/u/64416869?v=4"
},
{
"login": "VBDojnaz",
"html_url": "https://github.com/VBDojnaz",
"login": "HVEVB",
"html_url": "https://github.com/HVEVB",
"avatar_url": "https://avatars.githubusercontent.com/u/36706634?v=4"
},
{
"login": "Stilic",
"html_url": "https://github.com/Stilic",
"avatar_url": "https://avatars.githubusercontent.com/u/63605602?v=4"
},
{
"login": "boehs",
"html_url": "https://github.com/boehs",
"avatar_url": "https://avatars.githubusercontent.com/u/51836263?v=4"
},
{
"login": "Stylix58",
"html_url": "https://github.com/Stylix58",
"avatar_url": "https://avatars.githubusercontent.com/u/63605602?v=4"
},
{
"login": "actions-user",
"html_url": "https://github.com/actions-user",
"avatar_url": "https://avatars.githubusercontent.com/u/65916846?v=4"
},
{
"login": "ItsNewe",
"html_url": "https://github.com/ItsNewe",
@ -128,30 +133,5 @@
"login": "Ben-D-Anderson",
"html_url": "https://github.com/Ben-D-Anderson",
"avatar_url": "https://avatars.githubusercontent.com/u/63131015?v=4"
},
{
"login": "flybizit-dev",
"html_url": "https://github.com/flybizit-dev",
"avatar_url": "https://avatars.githubusercontent.com/u/72803639?v=4"
},
{
"login": "ImAaron - RealMANI",
"html_url": "https://github.com/ImAaronFR",
"avatar_url": "https://avatars.githubusercontent.com/u/96433859?v=4"
},
{
"login": "MaddyUnderStars",
"html_url": "https://github.com/MaddyUnderStars",
"avatar_url": "https://avatars.githubusercontent.com/u/46743919?v=4"
},
{
"login": "Iratu",
"html_url": "https://github.com/Iratu",
"avatar_url": "https://avatars.githubusercontent.com/u/13933677?v=4"
},
{
"login": "Xenorio",
"html_url": "https://github.com/Xenorio",
"avatar_url": "https://avatars.githubusercontent.com/u/39472201?v=4"
}
]

View File

@ -15,7 +15,7 @@ urls = {
"all_repos":f"/repos",
}
contributors = []
contributors_names = ["flam3rboy","xnacly","intevel","stefan080106","timschweiz","actions-user"]
contributors_names = ["flam3rboy","xnacly","intevel","stefan080106","timschweiz"]
def get_contributors_url(n):
if n["fork"]:
# * excludes forks

View File

@ -1,6 +1,36 @@
var sizes = [
20, 29, 32, 40, 48, 50, 55, 57, 58, 60, 64, 72, 76, 80, 80, 87, 88, 96, 100, 114, 120, 128, 144, 152, 167, 172, 180,
192, 196, 216, 256, 512, 1024,
20,
29,
32,
40,
48,
50,
55,
57,
58,
60,
64,
72,
76,
80,
80,
87,
88,
100,
114,
120,
128,
144,
152,
167,
172,
180,
192,
196,
216,
256,
512,
1024,
];
const density = 300;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -42,7 +42,7 @@
<image href="https://img.shields.io/discord/806142446094385153?color=7489d5&amp;logo=discord&amp;logoColor=ffffff"></image>
</a>
<a href="https://github.com/fosscord/fosscord-server/issues/140">
<a href="https://github.com/fosscord/fosscord-api/issues/140">
<image x="125" href="https://img.shields.io/static/v1?label=Status&amp;message=Development&amp;color=blue"></image>
</a>

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
images/techstack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

View File

@ -1,3 +0,0 @@
{
"token": ""
}

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +0,0 @@
{
"name": "github",
"version": "1.0.0",
"description": "",
"main": "rename_issues.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"arg": "^5.0.0",
"node-fetch": "^2.6.1",
"prompts": "^2.4.1",
"puppeteer": "^10.2.0"
}
}

View File

@ -1,42 +0,0 @@
const { token } = require("./config.json");
const fetch = require("node-fetch");
const base = "https://api.github.com";
const organization = "fosscord";
const request = async (path, opts = {}) =>
await fetch(`${base}${path}`, {
...opts,
headers: {
...opts.headers,
Authorization: `token ${token}`,
},
}).then((response) => response.json());
async function getRepos() {
return (await request(`/orgs/${organization}/repos`)).map((repo) => repo.name);
}
async function main() {
// const repos = await getRepos();
const repos = ["fosscord-gateway"];
for (const repo of repos) {
var page = 1;
do {
var issues = await request(`/repos/${organization}/${repo}/issues?state=all&per_page=100&page=${page}`);
for (const issue of issues) {
console.log(`issue #${issue.number}`);
// continue;
await request(`/repos/${organization}/${repo}/issues/${issue.number}`, {
method: "PATCH",
body: JSON.stringify({ labels: ["gateway"] }),
});
}
page++;
} while (issues.length);
}
}
main()
.then(() => console.log("done"))
.catch(console.error);

View File

@ -1,101 +0,0 @@
const arg = require("arg");
const puppeteer = require("puppeteer");
const prompts = require("prompts");
const { token } = require("./config.json");
const fetch = require("node-fetch");
const base = "https://api.github.com";
const request = async (path, opts = {}) =>
await fetch(`${base}${path}`, {
...opts,
headers: {
...opts.headers,
Authorization: `token ${token}`,
},
}).then((response) => response.json());
const args = arg({
"--org": String,
"--from": String,
"--to": String,
"--type": String,
"--username": String,
"--password": String,
"--otp": String,
});
console.log(args);
if (Object.keys(args).length < 5) {
console.log(
`usage:\nnode transfer-issues.js --org org-name --from original-repo-name --to new-repo-name --type closed --username username --password password`
);
process.exit();
}
async function main() {
var issues = (
await request(`/repos/${args["--org"]}/${args["--from"]}/issues?state=all&per_page=100&page=1`)
).filter((x) => !x.pull_request);
const browser = await puppeteer.launch({ headless: false });
const page = await browser.newPage();
await page.goto("https://github.com/login");
await page.waitForSelector("#login_field");
await page.type("#login_field", args["--username"]);
await page.type("#password", args["--password"]);
const wait = page.waitForNavigation();
await page.click(".btn.btn-primary.btn-block");
await wait;
let otp;
if (args["--otp"]) {
otp = args["--otp"];
} else {
const response = await prompts({
type: "text",
name: "otp",
message: "Enter OTP for GitHub",
});
otp = response.otp;
}
await page.waitForSelector("#otp");
await page.type("#otp", otp);
await page.waitFor(500);
try {
await page.click(".btn.btn-primary.btn-block");
await page.waitForNavigation();
} catch (error) {}
for (const issue of issues) {
await page.goto(issue.html_url);
const transfer = `[action="${issue.html_url.replace("https://github.com", "")}/transfer"]`;
await page.waitForSelector(transfer);
await page.click(transfer);
await page.waitForSelector(`${transfer} .select-menu-button`);
await page.click(`${transfer} .select-menu-button`);
await page.waitFor(1000);
await page.waitForSelector('[placeholder="Find a repository"]');
await page.type('[placeholder="Find a repository"]', args["--to"]);
await page.waitFor(2000);
await page.waitForSelector("#transfer-possible-repositories-menu .select-menu-item");
await page.click("#transfer-possible-repositories-menu .select-menu-item");
await page.waitForSelector('[data-disable-with="Transferring issue…"');
await page.click('[data-disable-with="Transferring issue…"');
await page.waitFor(500);
}
}
main();

View File

@ -1,236 +0,0 @@
require("missing-native-js-functions");
const fetch = require("node-fetch");
const { Client } = require("@notionhq/client");
const bodyParser = require("body-parser");
const express = require("express");
const app = express();
const PRIORITIES = ["low priority", "medium priority", "high priority"];
class GithubNotionSync {
constructor({ github, notion }) {
this.githubAuth = github.token;
this.githubWebhookSecret = github.webhookSecret;
this.notionAuth = notion.token;
this.databaseID = notion.database_id;
this.org = github.organization;
this.notion = new Client({ auth: this.notionAuth });
this.urls = {
base: "https://api.github.com/",
};
}
async init() {
this.allNotionPages = await this.getAllNotionPages();
this.repos = await this.getAllIssueUrls();
app.use(bodyParser({}));
app.post("/github", this.handleWebhook.bind(this));
app.listen(3010, () => {
console.log("Github <-> Notion sync listening on :3010");
});
}
async handleWebhook(req, res) {
const { hook, issue } = req.body;
await this.addItemToDb(GithubNotionSync.convertIssue(issue));
res.sendStatus(200);
}
async execute() {
await this.init();
let issues = 0;
for (let repo of this.repos) {
for (let issue of await this.getAllIssuesPerRepo(repo)) {
this.addItemToDb(issue);
issues++;
}
}
return issues;
}
/**
* @returns array of urls in the following form:
* https://api.github.com/repos/${this.org}/${repo_name}/issues
*/
async getAllIssueUrls() {
let repos = await fetch(`${this.urls.base}orgs/${this.org}/repos`, {
headers: {
Authorization: `token ${this.githubAuth}`,
"User-Agent": this.org,
},
}).then((r) => r.json());
return repos.map((repo) => `${this.urls.base}repos/${this.org}/${repo.name}/issues`);
}
/**
* @param repoIssueUrl element of array returned by `getAllIssueUrls()`
* @returns array of issues for the given repo in the following json form:
* ```
* {
* url: 'https://api.github.com/repos/fosscord/fosscord-server/issues/78',
* title: '[Route] /guilds/:id/regions',
* body: '- [ ] regions',
* number: 78,
* state: 'open',
* label: 'Route',
* assignee: 'Stylix58'
* }
* ```
*/
async getAllIssuesPerRepo(repoIssueUrl) {
var allIssues = [];
var page = 1;
do {
var issues = await fetch(`${repoIssueUrl}?state=all&direction=asc&per_page=100&page=${page}`, {
headers: {
Authorization: `token ${this.githubAuth}`,
"User-Agent": this.org,
},
}).then((r) => r.json());
issues = issues.filter((x) => !x.pull_request).map(GithubNotionSync.convertIssue);
page++;
allIssues = allIssues.concat(issues);
} while (issues.length);
return allIssues;
}
static convertIssue(x) {
return {
url: x?.html_url,
title: x?.title,
body: x?.body,
number: x?.number,
state: x?.state,
labels: x?.labels,
assignees: x?.assignees,
};
}
/**
* @returns {Promise<import("@notionhq/client/build/src/api-types").Page[]>}
*/
async getAllNotionPages() {
var allPages = [];
var start_cursor;
do {
var pages = await this.notion.databases.query({
database_id: this.databaseID,
page_size: 100,
...(start_cursor && { start_cursor }),
});
start_cursor = pages.next_cursor;
allPages = allPages.concat(pages.results);
} while (pages.has_more);
return allPages;
}
async addItemToDb(issue) {
const priority = issue.labels.find((x) => PRIORITIES.includes(x.name.toLowerCase()))?.name;
const options = {
parent: { database_id: this.databaseID },
properties: {
Name: {
title: [
{
text: {
content: issue.title,
},
},
],
},
State: {
select: {
name: issue.state,
},
},
Repo: {
select: {
name: GithubNotionSync.getRepoNameFromUrl(issue.url),
},
},
Url: {
url: issue.url,
},
Number: { number: issue.number },
...(issue.assignees && {
Assignee: {
multi_select: issue.assignees.map((x) => ({ name: x.login })),
},
}),
...(issue.labels && {
Label: {
multi_select: issue.labels
.filter((x) => !PRIORITIES.includes(x.name.toLowerCase()))
.map((x) => ({ name: x.name })),
},
}),
...(priority && {
Priority: {
select: { name: priority },
},
}),
},
children: [
{
object: "block",
type: "paragraph",
paragraph: {
text: [
{
type: "text",
text: {
content: issue.body?.slice(0, 1990) || "",
},
},
],
},
},
],
};
const exists = this.allNotionPages.find(
(x) =>
x.properties.Number.number == issue.number &&
x.properties.Repo.select.name === GithubNotionSync.getRepoNameFromUrl(issue.url)
);
try {
if (exists) {
if (
exists.properties.Name?.title?.[0].plain_text !== issue.title ||
exists.properties.Priority?.select.name !== priority ||
exists.properties.State?.select.name !== issue.state ||
JSON.stringify(issue.labels.map((x) => x.name)) !==
JSON.stringify(exists.properties.Label?.multi_select.map((x) => x.name)) ||
JSON.stringify(issue.assignees.map((x) => x.login)) !==
JSON.stringify(exists.properties.Assignee?.multi_select.map((x) => x.name))
) {
console.log("update existing one");
await this.notion.pages.update({ page_id: exists.id, properties: options.properties });
exists.properties = options.properties;
}
} else {
console.log("adding new one");
const index = this.allNotionPages.push(options) - 1; // directly insert it as they might be inserted twice if the webhook is triggered in very short amount of time
this.allNotionPages[index] = await this.notion.pages.create(options);
}
} catch (error) {
console.log(issue);
console.error(error.body, error);
}
}
static getRepoNameFromUrl(url) {
return url?.match(/fosscord\/(fosscord-)?([\w.-]+)/)[2];
}
}
module.exports = { GithubNotionSync };

View File

@ -1,11 +0,0 @@
{
"github": {
"token": "",
"webhookSecret": "",
"organization": ""
},
"notion": {
"token": "",
"database_id": ""
}
}

View File

@ -1,7 +0,0 @@
const config = require("./config.json");
const { GithubNotionSync } = require("./GithubNotionSync");
const sync = new GithubNotionSync(config);
sync.execute()
.then((x) => console.log(`Successfuly synced ${x} issues!`))
.catch(console.error);

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +0,0 @@
{
"name": "notion",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"start": "node main.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@notionhq/client": "^0.2.4",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"missing-native-js-functions": "^1.2.9",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"ts-node": "^10.2.0"
}
}

View File

@ -1,4 +0,0 @@
1. auth to github
2. get all issues from all repos
3. auth to notion
4. create a card for each issue with a tag for the corressponding repo and its status (BUG, FEATURES, etc)

View File

@ -1,251 +0,0 @@
{
"name": "test",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"amqplib": "^0.8.0"
}
},
"node_modules/amqplib": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz",
"integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==",
"dependencies": {
"bitsyntax": "~0.1.0",
"bluebird": "^3.7.2",
"buffer-more-ints": "~1.0.0",
"readable-stream": "1.x >=1.1.9",
"safe-buffer": "~5.2.1",
"url-parse": "~1.5.1"
},
"engines": {
"node": ">=10"
}
},
"node_modules/bitsyntax": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz",
"integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==",
"dependencies": {
"buffer-more-ints": "~1.0.0",
"debug": "~2.6.9",
"safe-buffer": "~5.1.2"
},
"engines": {
"node": ">=0.8"
}
},
"node_modules/bitsyntax/node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/bluebird": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
},
"node_modules/buffer-more-ints": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz",
"integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg=="
},
"node_modules/core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"node_modules/querystringify": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
},
"node_modules/readable-stream": {
"version": "1.1.14",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
"integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
"dependencies": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"node_modules/requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
"node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
},
"node_modules/string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
},
"node_modules/url-parse": {
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
"dependencies": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
}
}
},
"dependencies": {
"amqplib": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz",
"integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==",
"requires": {
"bitsyntax": "~0.1.0",
"bluebird": "^3.7.2",
"buffer-more-ints": "~1.0.0",
"readable-stream": "1.x >=1.1.9",
"safe-buffer": "~5.2.1",
"url-parse": "~1.5.1"
}
},
"bitsyntax": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz",
"integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==",
"requires": {
"buffer-more-ints": "~1.0.0",
"debug": "~2.6.9",
"safe-buffer": "~5.1.2"
},
"dependencies": {
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}
}
},
"bluebird": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
},
"buffer-more-ints": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz",
"integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg=="
},
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
},
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"querystringify": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
},
"readable-stream": {
"version": "1.1.14",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
"integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
"safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
},
"url-parse": {
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
"requires": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
}
}
}
}

View File

@ -1,15 +0,0 @@
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "rabbitmq.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"amqplib": "^0.8.0"
}
}

View File

@ -1,29 +0,0 @@
var amqp = require("amqplib");
var queue = "hellotes53";
var send_at;
async function main() {
const conn = await amqp.connect("amqp://localhost");
const recv_ch = await conn.createChannel();
await recv_ch.assertQueue(queue);
recv_ch.consume(
queue,
function (msg) {
if (msg !== null) {
console.log(`received ${msg.content.toString()} with latency of ${Date.now() - send_at}ms`);
}
},
{ noAck: true }
);
const send_ch = await conn.createChannel();
// await send_ch.assertQueue(queue);
setInterval(() => {
send_at = Date.now();
send_ch.sendToQueue(queue, Buffer.from("hello"));
}, 100);
}
main();

View File

@ -26,18 +26,18 @@ async function login() {
console.log("logged in: ", rpc.user.username);
rpc.setActivity({
details: `Free open source selfhostable`,
state: `Chat, voice, video and discord-compatible platform`,
details: `A free open source discord-compatible platform`,
state: `Collaboration open`,
startTimestamp,
smallImageText: "flam3rboy",
smallImageText: "Working",
largeImageKey: "logo2",
largeImageText: "Fosscord",
instance: false,
buttons: [
{ label: "Discord", url: "https://discord.gg/ZrnGQP6p3d" },
{
label: "Website",
url: "https://fosscord.com",
label: "Repository",
url: "https://github.com/fosscord/fosscord",
},
],
});

View File

@ -109,9 +109,9 @@
}
},
"node_modules/@pm2/agent-node/node_modules/ws": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz",
"integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==",
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
"integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
"dependencies": {
"async-limiter": "~1.0.0"
}
@ -382,11 +382,11 @@
}
},
"node_modules/axios": {
"version": "0.21.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
"version": "0.21.1",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz",
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==",
"dependencies": {
"follow-redirects": "^1.14.0"
"follow-redirects": "^1.10.0"
}
},
"node_modules/balanced-match": {
@ -758,22 +758,11 @@
}
},
"node_modules/follow-redirects": {
"version": "1.14.8",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz",
"integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/RubenVerborgh"
}
],
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.2.tgz",
"integrity": "sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA==",
"engines": {
"node": ">=4.0"
},
"peerDependenciesMeta": {
"debug": {
"optional": true
}
}
},
"node_modules/fs.realpath": {
@ -874,9 +863,9 @@
}
},
"node_modules/glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
"integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
"dependencies": {
"is-glob": "^4.0.1"
},
@ -1081,9 +1070,9 @@
}
},
"node_modules/lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
},
"node_modules/log-driver": {
"version": "1.2.7",
@ -1190,22 +1179,11 @@
}
},
"node_modules/node-fetch": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
"dependencies": {
"whatwg-url": "^5.0.0"
},
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
"engines": {
"node": "4.x || >=6.0.0"
},
"peerDependencies": {
"encoding": "^0.1.0"
},
"peerDependenciesMeta": {
"encoding": {
"optional": true
}
}
},
"node_modules/normalize-path": {
@ -1298,9 +1276,9 @@
}
},
"node_modules/path-parse": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
},
"node_modules/picomatch": {
"version": "2.2.2",
@ -1763,11 +1741,6 @@
"node": ">=0.6"
}
},
"node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
},
"node_modules/tslib": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
@ -1835,20 +1808,6 @@
"lodash": "^4.17.14"
}
},
"node_modules/webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
},
"node_modules/whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
"dependencies": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
}
},
"node_modules/word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
@ -1863,23 +1822,11 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/ws": {
"version": "7.5.7",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz",
"integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==",
"version": "7.4.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.3.tgz",
"integrity": "sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA==",
"engines": {
"node": ">=8.3.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
}
},
"node_modules/xregexp": {
@ -2052,9 +1999,9 @@
}
},
"ws": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz",
"integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==",
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
"integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
"requires": {
"async-limiter": "~1.0.0"
}
@ -2240,11 +2187,11 @@
}
},
"axios": {
"version": "0.21.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
"version": "0.21.1",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz",
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==",
"requires": {
"follow-redirects": "^1.14.0"
"follow-redirects": "^1.10.0"
}
},
"balanced-match": {
@ -2546,9 +2493,9 @@
}
},
"follow-redirects": {
"version": "1.14.8",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz",
"integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA=="
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.2.tgz",
"integrity": "sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA=="
},
"fs.realpath": {
"version": "1.0.0",
@ -2640,9 +2587,9 @@
}
},
"glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
"integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
"requires": {
"is-glob": "^4.0.1"
}
@ -2812,9 +2759,9 @@
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
},
"log-driver": {
"version": "1.2.7",
@ -2896,12 +2843,9 @@
"integrity": "sha1-ICl+idhvb2QA8lDZ9Pa0wZRfzTU="
},
"node-fetch": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
"requires": {
"whatwg-url": "^5.0.0"
}
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
},
"normalize-path": {
"version": "3.0.0",
@ -2983,9 +2927,9 @@
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"path-parse": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
},
"picomatch": {
"version": "2.2.2",
@ -3361,11 +3305,6 @@
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
"integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
},
"tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
},
"tslib": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
@ -3420,20 +3359,6 @@
}
}
},
"webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
},
"whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
"requires": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
}
},
"word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
@ -3445,10 +3370,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
"version": "7.5.7",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz",
"integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==",
"requires": {}
"version": "7.4.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.3.tgz",
"integrity": "sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA=="
},
"xregexp": {
"version": "2.0.0",

View File

@ -1,16 +1,22 @@
git clone git://github.com/fosscord/css-mediaquery.git css-mediaquery
git clone git://github.com/fosscord/docker.git docker
git clone git://github.com/fosscord/fosscord.git fosscord
git clone git://github.com/fosscord/fosscord-api.git api
git clone git://github.com/fosscord/fosscord-cdn.git cdn
git clone git://github.com/fosscord/fosscord-client.git client
git clone git://github.com/fosscord/fosscord-client-native.git client-native
git clone git://github.com/fosscord/fosscord-dashboard.git dashboard
git clone git://github.com/fosscord/fosscord-docs.git docs
git clone git://github.com/fosscord/fosscord-gateway.git gateway
git clone git://github.com/fosscord/fosscord-landingpage.git landingpage
git clone git://github.com/fosscord/fosscord-plugins.git plugins
git clone git://github.com/fosscord/fosscord-rtc.git rtc
git clone git://github.com/fosscord/fosscord-server.git server
git clone git://github.com/fosscord/fosscord-server-util.git server-util
git clone git://github.com/fosscord/fosscord-support.git support
git clone git://github.com/fosscord/fosscord-themes.git themes
git clone git://github.com/fosscord/fosscord-ui.git ui
git clone git://github.com/fosscord/fosscord-voice-gateway.git voice-gateway
git clone git://github.com/fosscord/fosscord-webrtc-server.git webrtc-server
git clone git://github.com/fosscord/fosscord.js.git fosscord.js
git clone git://github.com/fosscord/fosscord.js-builders.git fosscord.js-builders
git clone git://github.com/fosscord/fosscord.py.git fosscord.py
git clone git://github.com/fosscord/react-native-withcss.git react-native-withcss

View File

@ -1 +1,26 @@
{"folders": [{"path": "css-mediaquery"}, {"path": "docker"}, {"path": "fosscord"}, {"path": "client"}, {"path": "client-native"}, {"path": "docs"}, {"path": "landingpage"}, {"path": "plugins"}, {"path": "server"}, {"path": "themes"}, {"path": "ui"}, {"path": "voice-gateway"}, {"path": "fosscord.js"}, {"path": "fosscord.js-builders"}, {"path": "fosscord.py"}, {"path": "react-native-withcss"}]}
{
"folders": [
{ "path": "css-mediaquery" },
{ "path": "docker" },
{ "path": "fosscord" },
{ "path": "api" },
{ "path": "cdn" },
{ "path": "client" },
{ "path": "client-native" },
{ "path": "dashboard" },
{ "path": "docs" },
{ "path": "gateway" },
{ "path": "landingpage" },
{ "path": "plugins" },
{ "path": "rtc" },
{ "path": "server" },
{ "path": "server-util" },
{ "path": "support" },
{ "path": "themes" },
{ "path": "ui" },
{ "path": "voice-gateway" },
{ "path": "webrtc-server" },
{ "path": "fosscord.js" },
{ "path": "react-native-withcss" }
]
}

View File

@ -48,11 +48,18 @@ cd fosscord
ECHO Cloning all repositories
ECHO.
git clone https://github.com/fosscord/fosscord overview
git clone https://github.com/fosscord/fosscord-server server
git clone https://github.com/fosscord/fosscord-api api
git clone https://github.com/fosscord/fosscord-gateway gateway
git clone https://github.com/fosscord/fosscord-themes themes
git clone https://github.com/fosscord/fosscord-plugins plugins
git clone https://github.com/fosscord/fosscord-gateway gateway
git clone https://github.com/fosscord/fosscord-media media
git clone https://github.com/fosscord/fosscord-server-util server-util
git clone https://github.com/fosscord/fosscord-cdn cdn
git clone https://github.com/fosscord/fosscord-ui ui
git clone https://github.com/fosscord/fosscord-client client
git clone https://github.com/fosscord/fosscord-support support
git clone https://github.com/fosscord/fosscord-dashboard dashboard
git clone https://github.com/fosscord/fosscord-landingpage landingpage
git clone https://github.com/fosscord/css-mediaquery css-mediaquery
git clone https://github.com/fosscord/react-native-withcss react-native-withcss